[INFO] cloning repository https://github.com/sansx/cn_poems_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sansx/cn_poems_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsansx%2Fcn_poems_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsansx%2Fcn_poems_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 715ab63a90a54c8de6e2f261b01081638228806c
[INFO] checking sansx/cn_poems_api against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsansx%2Fcn_poems_api" "/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/sansx/cn_poems_api on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sansx/cn_poems_api
[INFO] finished tweaking git repo https://github.com/sansx/cn_poems_api
[INFO] tweaked toml for git repo https://github.com/sansx/cn_poems_api written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/sansx/cn_poems_api 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded ahash v0.7.2
[INFO] [stderr] Downloaded actix-utils v3.0.0-beta.2
[INFO] [stderr] Downloaded actix-rt v2.1.0
[INFO] [stderr] Downloaded actix_derive v0.6.0-beta.2
[INFO] [stderr] Downloaded listenfd v0.3.3
[INFO] [stderr] Downloaded actix-service v2.0.0-beta.5
[INFO] [stderr] Downloaded awc v3.0.0-beta.3
[INFO] [stderr] Downloaded actix-tls v3.0.0-beta.4
[INFO] [stderr] Downloaded actix-web v4.0.0-beta.4
[INFO] [stderr] Downloaded actix-http v3.0.0-beta.4
[INFO] [stderr] Downloaded actix v0.11.0-beta.3
[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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5acdbd072636e103c30346bb0dee56dbd823bde5a7fca69be04144f59ade2e8e
[INFO] running `Command { std: "docker" "start" "-a" "5acdbd072636e103c30346bb0dee56dbd823bde5a7fca69be04144f59ade2e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5acdbd072636e103c30346bb0dee56dbd823bde5a7fca69be04144f59ade2e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5acdbd072636e103c30346bb0dee56dbd823bde5a7fca69be04144f59ade2e8e", kill_on_drop: false }`
[INFO] [stdout] 5acdbd072636e103c30346bb0dee56dbd823bde5a7fca69be04144f59ade2e8e
[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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5c1388d59c66cf6fc9d036fe7d0157c1abca6deebec5e02db71fe02f8e2948c9
[INFO] running `Command { std: "docker" "start" "-a" "5c1388d59c66cf6fc9d036fe7d0157c1abca6deebec5e02db71fe02f8e2948c9", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.89
[INFO] [stderr] Compiling proc-macro2 v1.0.24
[INFO] [stderr] Compiling syn v1.0.64
[INFO] [stderr] Checking instant v0.1.9
[INFO] [stderr] Compiling memchr v2.3.4
[INFO] [stderr] Checking smallvec v1.6.1
[INFO] [stderr] Checking bytes v1.0.1
[INFO] [stderr] Checking futures-core v0.3.13
[INFO] [stderr] Checking once_cell v1.7.2
[INFO] [stderr] Checking lock_api v0.4.2
[INFO] [stderr] Compiling tokio v1.3.0
[INFO] [stderr] Checking futures-sink v0.3.13
[INFO] [stderr] Compiling standback v0.2.15
[INFO] [stderr] Checking itoa v0.4.7
[INFO] [stderr] Compiling serde_derive v1.0.124
[INFO] [stderr] Compiling typenum v1.13.0
[INFO] [stderr] Compiling serde v1.0.124
[INFO] [stderr] Compiling getrandom v0.2.2
[INFO] [stderr] Compiling generic-array v0.14.4
[INFO] [stderr] Compiling cc v1.0.67
[INFO] [stderr] Compiling const_fn v0.4.5
[INFO] [stderr] Checking ryu v1.0.5
[INFO] [stderr] Checking actix-service v2.0.0-beta.5
[INFO] [stderr] Compiling indexmap v1.6.2
[INFO] [stderr] Compiling time v0.2.25
[INFO] [stderr] Checking futures-task v0.3.13
[INFO] [stderr] Compiling serde_json v1.0.64
[INFO] [stderr] Compiling crc32fast v1.2.1
[INFO] [stderr] Compiling miniz_oxide v0.4.4
[INFO] [stderr] Checking form_urlencoded v1.0.1
[INFO] [stderr] Checking tracing-core v0.1.17
[INFO] [stderr] Checking http v0.2.3
[INFO] [stderr] Compiling cookie v0.14.4
[INFO] [stderr] Checking futures-util v0.3.13
[INFO] [stderr] Compiling ahash v0.7.2
[INFO] [stderr] Compiling httparse v1.3.5
[INFO] [stderr] Checking hashbrown v0.9.1
[INFO] [stderr] Checking aho-corasick v0.7.15
[INFO] [stderr] Checking regex-syntax v0.6.23
[INFO] [stderr] Compiling encoding_rs v0.8.28
[INFO] [stderr] Checking tinyvec v1.1.1
[INFO] [stderr] Checking tracing v0.1.25
[INFO] [stderr] Checking bytestring v1.0.0
[INFO] [stderr] Compiling crossbeam-utils v0.8.3
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Checking cpuid-bool v0.1.2
[INFO] [stderr] Checking parking_lot_core v0.8.3
[INFO] [stderr] Checking mio v0.7.10
[INFO] [stderr] Checking signal-hook-registry v1.3.0
[INFO] [stderr] Checking flate2 v1.0.20
[INFO] [stderr] Checking parking_lot v0.11.1
[INFO] [stderr] Compiling pq-sys v0.4.6
[INFO] [stderr] Checking language-tags v0.2.2
[INFO] [stderr] Compiling brotli-sys v0.3.2
[INFO] [stderr] Checking num_cpus v1.13.0
[INFO] [stderr] Checking rand_core v0.6.2
[INFO] [stderr] Checking scheduled-thread-pool v0.2.5
[INFO] [stderr] Checking socket2 v0.3.19
[INFO] [stderr] Checking rand_chacha v0.3.0
[INFO] [stderr] Checking unicode-normalization v0.1.17
[INFO] [stderr] Checking either v1.6.1
[INFO] [stderr] Checking r2d2 v0.8.9
[INFO] [stderr] Checking crossbeam-channel v0.5.0
[INFO] [stderr] Checking listenfd v0.3.3
[INFO] [stderr] Checking dotenv v0.15.0
[INFO] [stderr] Checking rand v0.8.3
[INFO] [stderr] Checking digest v0.9.0
[INFO] [stderr] Checking block-buffer v0.9.0
[INFO] [stderr] Checking sha-1 v0.9.4
[INFO] [stderr] Checking idna v0.2.2
[INFO] [stderr] Checking regex v1.4.5
[INFO] [stderr] Checking url v2.2.1
[INFO] [stderr] Checking tokio-util v0.6.4
[INFO] [stderr] Checking actix-codec v0.4.0-beta.1
[INFO] [stderr] Checking h2 v0.3.1
[INFO] [stderr] Compiling actix-macros v0.2.0
[INFO] [stderr] Compiling time-macros-impl v0.1.1
[INFO] [stderr] Compiling derive_more v0.99.11
[INFO] [stderr] Compiling pin-project-internal v1.0.5
[INFO] [stderr] Compiling diesel_derives v1.4.1
[INFO] [stderr] Compiling actix_derive v0.6.0-beta.2
[INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2
[INFO] [stderr] Checking actix-rt v2.1.0
[INFO] [stderr] Checking actix-utils v3.0.0-beta.2
[INFO] [stderr] Checking actix v0.11.0-beta.3
[INFO] [stderr] Checking time-macros v0.1.1
[INFO] [stderr] Checking actix-server v2.0.0-beta.3
[INFO] [stderr] Checking pin-project v1.0.5
[INFO] [stderr] Checking brotli2 v0.3.2
[INFO] [stderr] Checking actix-tls v3.0.0-beta.4
[INFO] [stderr] Checking serde_urlencoded v0.7.0
[INFO] [stderr] Checking actix-router v0.2.7
[INFO] [stderr] Checking actix-http v3.0.0-beta.4
[INFO] [stderr] Checking diesel v1.4.6
[INFO] [stderr] Checking awc v3.0.0-beta.3
[INFO] [stderr] Checking actix-web v4.0.0-beta.4
[INFO] [stderr] Checking cn_poems_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `HttpResponse`, `Responder`, `delete`, `get`, `post`, and `put`
[INFO] [stdout] --> src/main.rs:6:17
[INFO] [stdout] |
[INFO] [stdout] 6 | use actix_web::{delete, get, post, put, web, App, HttpResponse, HttpServer, Responder};
[INFO] [stdout] | ^^^^^^ ^^^ ^^^^ ^^^ ^^^^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `dotenv::dotenv`
[INFO] [stdout] --> src/main.rs:10:5
[INFO] [stdout] |
[INFO] [stdout] 10 | use dotenv::dotenv;
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `handlers::get_poems_by_search`
[INFO] [stdout] --> src/main.rs:11:5
[INFO] [stdout] |
[INFO] [stdout] 11 | use handlers::get_poems_by_search;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout] --> src/main.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | use std::env;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::error`
[INFO] [stdout] --> src/main.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 14 | use std::error;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout] --> src/main.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 15 | use std::fs::File;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `BufRead` and `BufReader`
[INFO] [stdout] --> src/main.rs:16:15
[INFO] [stdout] |
[INFO] [stdout] 16 | use std::io::{BufRead, BufReader};
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout] --> src/main.rs:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | use std::time::Instant;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::errors`
[INFO] [stdout] --> src/handlers.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use super::errors;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `id`
[INFO] [stdout] --> src/handlers.rs:160:37
[INFO] [stdout] |
[INFO] [stdout] 160 | use super::schema::poems::dsl::{id, poems};
[INFO] [stdout] | ^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `HttpResponse`, `Responder`, `delete`, `get`, `post`, and `put`
[INFO] [stdout] --> src/main.rs:6:17
[INFO] [stdout] |
[INFO] [stdout] 6 | use actix_web::{delete, get, post, put, web, App, HttpResponse, HttpServer, Responder};
[INFO] [stdout] | ^^^^^^ ^^^ ^^^^ ^^^ ^^^^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `dotenv::dotenv`
[INFO] [stdout] --> src/main.rs:10:5
[INFO] [stdout] |
[INFO] [stdout] 10 | use dotenv::dotenv;
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `handlers::get_poems_by_search`
[INFO] [stdout] --> src/main.rs:11:5
[INFO] [stdout] |
[INFO] [stdout] 11 | use handlers::get_poems_by_search;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout] --> src/main.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | use std::env;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::error`
[INFO] [stdout] --> src/main.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 14 | use std::error;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout] --> src/main.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 15 | use std::fs::File;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `BufRead` and `BufReader`
[INFO] [stdout] --> src/main.rs:16:15
[INFO] [stdout] |
[INFO] [stdout] 16 | use std::io::{BufRead, BufReader};
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `NewPoem`, `Poems`, and `ResPoems`
[INFO] [stdout] --> src/main.rs:25:14
[INFO] [stdout] |
[INFO] [stdout] 25 | use models::{NewPoem, Poems, ResPoems};
[INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout] --> src/main.rs:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | use std::time::Instant;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::errors`
[INFO] [stdout] --> src/handlers.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use super::errors;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `schema::poems`
[INFO] [stdout] --> src/main.rs:26:5
[INFO] [stdout] |
[INFO] [stdout] 26 | use schema::poems;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `id`
[INFO] [stdout] --> src/handlers.rs:160:37
[INFO] [stdout] |
[INFO] [stdout] 160 | use super::schema::poems::dsl::{id, poems};
[INFO] [stdout] | ^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `NewPoem`, `Poems`, and `ResPoems`
[INFO] [stdout] --> src/main.rs:25:14
[INFO] [stdout] |
[INFO] [stdout] 25 | use models::{NewPoem, Poems, ResPoems};
[INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `schema::poems`
[INFO] [stdout] --> src/main.rs:26:5
[INFO] [stdout] |
[INFO] [stdout] 26 | use schema::poems;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout] --> src/main.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | use diesel::prelude::*;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout] --> src/main.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | use diesel::prelude::*;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout] --> src/models.rs:112:13
[INFO] [stdout] |
[INFO] [stdout] 112 | id,
[INFO] [stdout] | ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `detailIntro`
[INFO] [stdout] --> src/models.rs:116:13
[INFO] [stdout] |
[INFO] [stdout] 116 | detailIntro,
[INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `detailIntro: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout] --> src/models.rs:112:13
[INFO] [stdout] |
[INFO] [stdout] 112 | id,
[INFO] [stdout] | ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `detailIntro`
[INFO] [stdout] --> src/models.rs:116:13
[INFO] [stdout] |
[INFO] [stdout] 116 | detailIntro,
[INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `detailIntro: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `InternalServerError`, `BadRequest`, and `JWKSFetchError` are never constructed
[INFO] [stdout] --> src/errors.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 5 | pub enum ServiceError {
[INFO] [stdout] | ------------ variants in this enum
[INFO] [stdout] 6 | #[display(fmt = "Internal Server Error")]
[INFO] [stdout] 7 | InternalServerError,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 | BadRequest(String),
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 | JWKSFetchError,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `get_pagination_res` is never used
[INFO] [stdout] --> src/handlers.rs:257:4
[INFO] [stdout] |
[INFO] [stdout] 257 | fn get_pagination_res
(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `Paginate` is never used
[INFO] [stdout] --> src/pagination.rs:10:11
[INFO] [stdout] |
[INFO] [stdout] 10 | pub trait Paginate: Sized {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `per_page` is never used
[INFO] [stdout] --> src/pagination.rs:42:12
[INFO] [stdout] |
[INFO] [stdout] 41 | impl Paginated {
[INFO] [stdout] | -------------------- method in this implementation
[INFO] [stdout] 42 | pub fn per_page(self, per_page: i64) -> Self {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `InternalServerError`, `BadRequest`, and `JWKSFetchError` are never constructed
[INFO] [stdout] --> src/errors.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 5 | pub enum ServiceError {
[INFO] [stdout] | ------------ variants in this enum
[INFO] [stdout] 6 | #[display(fmt = "Internal Server Error")]
[INFO] [stdout] 7 | InternalServerError,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 | BadRequest(String),
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 | JWKSFetchError,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `get_pagination_res` is never used
[INFO] [stdout] --> src/handlers.rs:257:4
[INFO] [stdout] |
[INFO] [stdout] 257 | fn get_pagination_res(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `Paginate` is never used
[INFO] [stdout] --> src/pagination.rs:10:11
[INFO] [stdout] |
[INFO] [stdout] 10 | pub trait Paginate: Sized {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `per_page` is never used
[INFO] [stdout] --> src/pagination.rs:42:12
[INFO] [stdout] |
[INFO] [stdout] 41 | impl Paginated {
[INFO] [stdout] | -------------------- method in this implementation
[INFO] [stdout] 42 | pub fn per_page(self, per_page: i64) -> Self {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.18s
[INFO] running `Command { std: "docker" "inspect" "5c1388d59c66cf6fc9d036fe7d0157c1abca6deebec5e02db71fe02f8e2948c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c1388d59c66cf6fc9d036fe7d0157c1abca6deebec5e02db71fe02f8e2948c9", kill_on_drop: false }`
[INFO] [stdout] 5c1388d59c66cf6fc9d036fe7d0157c1abca6deebec5e02db71fe02f8e2948c9
[INFO] checking sansx/cn_poems_api against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsansx%2Fcn_poems_api" "/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/sansx/cn_poems_api on toolchain f9935d29d867449445ee008640ccca1bf1ae0889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sansx/cn_poems_api
[INFO] finished tweaking git repo https://github.com/sansx/cn_poems_api
[INFO] tweaked toml for git repo https://github.com/sansx/cn_poems_api written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/sansx/cn_poems_api 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 939ed2810920a894756a16225c3af87b2d5b411dec48d35ebbf6927474eb9e78
[INFO] running `Command { std: "docker" "start" "-a" "939ed2810920a894756a16225c3af87b2d5b411dec48d35ebbf6927474eb9e78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "939ed2810920a894756a16225c3af87b2d5b411dec48d35ebbf6927474eb9e78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "939ed2810920a894756a16225c3af87b2d5b411dec48d35ebbf6927474eb9e78", kill_on_drop: false }`
[INFO] [stdout] 939ed2810920a894756a16225c3af87b2d5b411dec48d35ebbf6927474eb9e78
[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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5f2c648af7f179c454b171df153f136f386d5c027f118686c1c3e318eaba6fb3
[INFO] running `Command { std: "docker" "start" "-a" "5f2c648af7f179c454b171df153f136f386d5c027f118686c1c3e318eaba6fb3", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.89
[INFO] [stderr] Compiling proc-macro2 v1.0.24
[INFO] [stderr] Compiling syn v1.0.64
[INFO] [stderr] Compiling memchr v2.3.4
[INFO] [stderr] Checking smallvec v1.6.1
[INFO] [stderr] Checking bytes v1.0.1
[INFO] [stderr] Checking futures-core v0.3.13
[INFO] [stderr] Checking once_cell v1.7.2
[INFO] [stderr] Checking instant v0.1.9
[INFO] [stderr] Checking lock_api v0.4.2
[INFO] [stderr] Compiling tokio v1.3.0
[INFO] [stderr] Checking futures-sink v0.3.13
[INFO] [stderr] Compiling standback v0.2.15
[INFO] [stderr] Compiling serde_derive v1.0.124
[INFO] [stderr] Checking itoa v0.4.7
[INFO] [stderr] Compiling getrandom v0.2.2
[INFO] [stderr] Compiling serde v1.0.124
[INFO] [stderr] Compiling typenum v1.13.0
[INFO] [stderr] Compiling generic-array v0.14.4
[INFO] [stderr] Compiling cc v1.0.67
[INFO] [stderr] Compiling const_fn v0.4.5
[INFO] [stderr] Checking ryu v1.0.5
[INFO] [stderr] Checking actix-service v2.0.0-beta.5
[INFO] [stderr] Compiling time v0.2.25
[INFO] [stderr] Checking http v0.2.3
[INFO] [stderr] Compiling indexmap v1.6.2
[INFO] [stderr] Compiling crc32fast v1.2.1
[INFO] [stderr] Checking futures-task v0.3.13
[INFO] [stderr] Compiling serde_json v1.0.64
[INFO] [stderr] Compiling miniz_oxide v0.4.4
[INFO] [stderr] Checking form_urlencoded v1.0.1
[INFO] [stderr] Checking tracing-core v0.1.17
[INFO] [stderr] Checking futures-util v0.3.13
[INFO] [stderr] Compiling cookie v0.14.4
[INFO] [stderr] Compiling ahash v0.7.2
[INFO] [stderr] Compiling encoding_rs v0.8.28
[INFO] [stderr] Compiling httparse v1.3.5
[INFO] [stderr] Checking aho-corasick v0.7.15
[INFO] [stderr] Checking hashbrown v0.9.1
[INFO] [stderr] Checking regex-syntax v0.6.23
[INFO] [stderr] Checking tinyvec v1.1.1
[INFO] [stderr] Checking bytestring v1.0.0
[INFO] [stderr] Checking tracing v0.1.25
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Compiling crossbeam-utils v0.8.3
[INFO] [stderr] Checking cpuid-bool v0.1.2
[INFO] [stderr] Checking parking_lot_core v0.8.3
[INFO] [stderr] Checking mio v0.7.10
[INFO] [stderr] Checking signal-hook-registry v1.3.0
[INFO] [stderr] Checking parking_lot v0.11.1
[INFO] [stderr] Checking flate2 v1.0.20
[INFO] [stderr] Checking rand_core v0.6.2
[INFO] [stderr] Compiling pq-sys v0.4.6
[INFO] [stderr] Checking rand_chacha v0.3.0
[INFO] [stderr] Compiling brotli-sys v0.3.2
[INFO] [stderr] Checking language-tags v0.2.2
[INFO] [stderr] Checking scheduled-thread-pool v0.2.5
[INFO] [stderr] Checking num_cpus v1.13.0
[INFO] [stderr] Checking unicode-normalization v0.1.17
[INFO] [stderr] Checking socket2 v0.3.19
[INFO] [stderr] Checking either v1.6.1
[INFO] [stderr] Checking rand v0.8.3
[INFO] [stderr] Checking listenfd v0.3.3
[INFO] [stderr] Checking r2d2 v0.8.9
[INFO] [stderr] Checking dotenv v0.15.0
[INFO] [stderr] Checking crossbeam-channel v0.5.0
[INFO] [stderr] Checking digest v0.9.0
[INFO] [stderr] Checking block-buffer v0.9.0
[INFO] [stderr] Checking sha-1 v0.9.4
[INFO] [stderr] Checking idna v0.2.2
[INFO] [stderr] Checking regex v1.4.5
[INFO] [stderr] Checking url v2.2.1
[INFO] [stderr] Checking tokio-util v0.6.4
[INFO] [stderr] Checking actix-codec v0.4.0-beta.1
[INFO] [stderr] Checking h2 v0.3.1
[INFO] [stderr] Compiling actix-macros v0.2.0
[INFO] [stderr] Compiling time-macros-impl v0.1.1
[INFO] [stderr] Compiling pin-project-internal v1.0.5
[INFO] [stderr] Compiling derive_more v0.99.11
[INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2
[INFO] [stderr] Compiling actix_derive v0.6.0-beta.2
[INFO] [stderr] Compiling diesel_derives v1.4.1
[INFO] [stderr] Checking actix-rt v2.1.0
[INFO] [stderr] Checking time-macros v0.1.1
[INFO] [stderr] Checking brotli2 v0.3.2
[INFO] [stderr] Checking actix-utils v3.0.0-beta.2
[INFO] [stderr] Checking actix v0.11.0-beta.3
[INFO] [stderr] Checking actix-server v2.0.0-beta.3
[INFO] [stderr] Checking pin-project v1.0.5
[INFO] [stderr] Checking actix-tls v3.0.0-beta.4
[INFO] [stderr] Checking serde_urlencoded v0.7.0
[INFO] [stderr] Checking actix-router v0.2.7
[INFO] [stderr] Checking actix-http v3.0.0-beta.4
[INFO] [stderr] Checking diesel v1.4.6
[INFO] [stderr] Checking awc v3.0.0-beta.3
[INFO] [stderr] Checking actix-web v4.0.0-beta.4
[INFO] [stderr] Checking cn_poems_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `HttpResponse`, `Responder`, `delete`, `get`, `post`, and `put`
[INFO] [stdout] --> src/main.rs:6:17
[INFO] [stdout] |
[INFO] [stdout] 6 | use actix_web::{delete, get, post, put, web, App, HttpResponse, HttpServer, Responder};
[INFO] [stdout] | ^^^^^^ ^^^ ^^^^ ^^^ ^^^^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `dotenv::dotenv`
[INFO] [stdout] --> src/main.rs:10:5
[INFO] [stdout] |
[INFO] [stdout] 10 | use dotenv::dotenv;
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `handlers::get_poems_by_search`
[INFO] [stdout] --> src/main.rs:11:5
[INFO] [stdout] |
[INFO] [stdout] 11 | use handlers::get_poems_by_search;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout] --> src/main.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | use std::env;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::error`
[INFO] [stdout] --> src/main.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 14 | use std::error;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout] --> src/main.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 15 | use std::fs::File;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `BufRead` and `BufReader`
[INFO] [stdout] --> src/main.rs:16:15
[INFO] [stdout] |
[INFO] [stdout] 16 | use std::io::{BufRead, BufReader};
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout] --> src/main.rs:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | use std::time::Instant;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::errors`
[INFO] [stdout] --> src/handlers.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use super::errors;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `id`
[INFO] [stdout] --> src/handlers.rs:160:37
[INFO] [stdout] |
[INFO] [stdout] 160 | use super::schema::poems::dsl::{id, poems};
[INFO] [stdout] | ^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `NewPoem`, `Poems`, and `ResPoems`
[INFO] [stdout] --> src/main.rs:25:14
[INFO] [stdout] |
[INFO] [stdout] 25 | use models::{NewPoem, Poems, ResPoems};
[INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `schema::poems`
[INFO] [stdout] --> src/main.rs:26:5
[INFO] [stdout] |
[INFO] [stdout] 26 | use schema::poems;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `HttpResponse`, `Responder`, `delete`, `get`, `post`, and `put`
[INFO] [stdout] --> src/main.rs:6:17
[INFO] [stdout] |
[INFO] [stdout] 6 | use actix_web::{delete, get, post, put, web, App, HttpResponse, HttpServer, Responder};
[INFO] [stdout] | ^^^^^^ ^^^ ^^^^ ^^^ ^^^^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `dotenv::dotenv`
[INFO] [stdout] --> src/main.rs:10:5
[INFO] [stdout] |
[INFO] [stdout] 10 | use dotenv::dotenv;
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `handlers::get_poems_by_search`
[INFO] [stdout] --> src/main.rs:11:5
[INFO] [stdout] |
[INFO] [stdout] 11 | use handlers::get_poems_by_search;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout] --> src/main.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | use std::env;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::error`
[INFO] [stdout] --> src/main.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 14 | use std::error;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout] --> src/main.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 15 | use std::fs::File;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `BufRead` and `BufReader`
[INFO] [stdout] --> src/main.rs:16:15
[INFO] [stdout] |
[INFO] [stdout] 16 | use std::io::{BufRead, BufReader};
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout] --> src/main.rs:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | use std::time::Instant;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::errors`
[INFO] [stdout] --> src/handlers.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use super::errors;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `id`
[INFO] [stdout] --> src/handlers.rs:160:37
[INFO] [stdout] |
[INFO] [stdout] 160 | use super::schema::poems::dsl::{id, poems};
[INFO] [stdout] | ^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `NewPoem`, `Poems`, and `ResPoems`
[INFO] [stdout] --> src/main.rs:25:14
[INFO] [stdout] |
[INFO] [stdout] 25 | use models::{NewPoem, Poems, ResPoems};
[INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `schema::poems`
[INFO] [stdout] --> src/main.rs:26:5
[INFO] [stdout] |
[INFO] [stdout] 26 | use schema::poems;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout] --> src/main.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | use diesel::prelude::*;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout] --> src/main.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | use diesel::prelude::*;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout] --> src/models.rs:112:13
[INFO] [stdout] |
[INFO] [stdout] 112 | id,
[INFO] [stdout] | ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `detailIntro`
[INFO] [stdout] --> src/models.rs:116:13
[INFO] [stdout] |
[INFO] [stdout] 116 | detailIntro,
[INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `detailIntro: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout] --> src/models.rs:112:13
[INFO] [stdout] |
[INFO] [stdout] 112 | id,
[INFO] [stdout] | ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `detailIntro`
[INFO] [stdout] --> src/models.rs:116:13
[INFO] [stdout] |
[INFO] [stdout] 116 | detailIntro,
[INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `detailIntro: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `InternalServerError`, `BadRequest`, and `JWKSFetchError` are never constructed
[INFO] [stdout] --> src/errors.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 5 | pub enum ServiceError {
[INFO] [stdout] | ------------ variants in this enum
[INFO] [stdout] 6 | #[display(fmt = "Internal Server Error")]
[INFO] [stdout] 7 | InternalServerError,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 | BadRequest(String),
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 | JWKSFetchError,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `get_pagination_res` is never used
[INFO] [stdout] --> src/handlers.rs:257:4
[INFO] [stdout] |
[INFO] [stdout] 257 | fn get_pagination_res(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `InternalServerError`, `BadRequest`, and `JWKSFetchError` are never constructed
[INFO] [stdout] --> src/errors.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 5 | pub enum ServiceError {
[INFO] [stdout] | ------------ variants in this enum
[INFO] [stdout] 6 | #[display(fmt = "Internal Server Error")]
[INFO] [stdout] 7 | InternalServerError,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 | BadRequest(String),
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 | JWKSFetchError,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `get_pagination_res` is never used
[INFO] [stdout] --> src/handlers.rs:257:4
[INFO] [stdout] |
[INFO] [stdout] 257 | fn get_pagination_res(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `Paginate` is never used
[INFO] [stdout] --> src/pagination.rs:10:11
[INFO] [stdout] |
[INFO] [stdout] 10 | pub trait Paginate: Sized {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `Paginate` is never used
[INFO] [stdout] --> src/pagination.rs:10:11
[INFO] [stdout] |
[INFO] [stdout] 10 | pub trait Paginate: Sized {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `per_page` is never used
[INFO] [stdout] --> src/pagination.rs:42:12
[INFO] [stdout] |
[INFO] [stdout] 41 | impl Paginated {
[INFO] [stdout] | -------------------- method in this implementation
[INFO] [stdout] 42 | pub fn per_page(self, per_page: i64) -> Self {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `per_page` is never used
[INFO] [stdout] --> src/pagination.rs:42:12
[INFO] [stdout] |
[INFO] [stdout] 41 | impl Paginated {
[INFO] [stdout] | -------------------- method in this implementation
[INFO] [stdout] 42 | pub fn per_page(self, per_page: i64) -> Self {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/main.rs:54:9
[INFO] [stdout] |
[INFO] [stdout] 51 | let pool = establish_connection();
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 54 | / App::new()
[INFO] [stdout] 55 | | .data(pool.clone())
[INFO] [stdout] 56 | | .route("/guwen/selectall", web::get().to(handlers::get_poems))
[INFO] [stdout] 57 | | .route("/guwen/selectbyid", web::get().to(handlers::get_poem_by_id))
[INFO] [stdout] ... |
[INFO] [stdout] 84 | | web::get().to(handlers::get_sentences),
[INFO] [stdout] 85 | | )
[INFO] [stdout] | |_____________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/main.rs:88:17
[INFO] [stdout] |
[INFO] [stdout] 51 | let pool = establish_connection();
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 88 | web::get().to(handlers::get_poems_by_search),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:107:25
[INFO] [stdout] |
[INFO] [stdout] 107 | .map(|poem| HttpResponse::Ok().json(poem.unwrap()))
[INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:124:25
[INFO] [stdout] |
[INFO] [stdout] 124 | .map(|poem| HttpResponse::Ok().json(poem.unwrap()))
[INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:141:25
[INFO] [stdout] |
[INFO] [stdout] 141 | .map(|poem| HttpResponse::Ok().json(poem.unwrap()))
[INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:162:66
[INFO] [stdout] |
[INFO] [stdout] 157 | db: web::Data,
[INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 162 | web::block(move || poems.find(res.id).first::(&db.get().unwrap()))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:164:25
[INFO] [stdout] |
[INFO] [stdout] 164 | .map(|poem| HttpResponse::Ok().json(poem.unwrap()))
[INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/main.rs:54:9
[INFO] [stdout] |
[INFO] [stdout] 51 | let pool = establish_connection();
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 54 | / App::new()
[INFO] [stdout] 55 | | .data(pool.clone())
[INFO] [stdout] 56 | | .route("/guwen/selectall", web::get().to(handlers::get_poems))
[INFO] [stdout] 57 | | .route("/guwen/selectbyid", web::get().to(handlers::get_poem_by_id))
[INFO] [stdout] ... |
[INFO] [stdout] 84 | | web::get().to(handlers::get_sentences),
[INFO] [stdout] 85 | | )
[INFO] [stdout] | |_____________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:212:13
[INFO] [stdout] |
[INFO] [stdout] 210 | .map(|poem| {
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 211 | let (data, total) = poem.unwrap();
[INFO] [stdout] 212 | HttpResponse::Ok().json(HttpRes::::new(data, total, page))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/main.rs:88:17
[INFO] [stdout] |
[INFO] [stdout] 51 | let pool = establish_connection();
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 88 | web::get().to(handlers::get_poems_by_search),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:234:34
[INFO] [stdout] |
[INFO] [stdout] 219 | db: web::Data,
[INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 234 | .first::(&db.get().unwrap())
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:237:19
[INFO] [stdout] |
[INFO] [stdout] 237 | .map(|writer| HttpResponse::Ok().json(writer.unwrap()))
[INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:107:25
[INFO] [stdout] |
[INFO] [stdout] 107 | .map(|poem| HttpResponse::Ok().json(poem.unwrap()))
[INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:254:8
[INFO] [stdout] |
[INFO] [stdout] 242 | pool: web::Data,
[INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 243 | table: Table,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 252 | let conn = pool.get().unwrap();
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 253 | let (data, total) = table.paginate(page).load_and_count_pages::(&conn)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 254 | Ok(HttpRes::::new(data, total, page))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:124:25
[INFO] [stdout] |
[INFO] [stdout] 124 | .map(|poem| HttpResponse::Ok().json(poem.unwrap()))
[INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:270:8
[INFO] [stdout] |
[INFO] [stdout] 258 | pool: web::Data,
[INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 259 | table: Table,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 268 | let conn = pool.get().unwrap();
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 269 | let (data, total) = table.paginate(page).load_and_count_pages::(&conn)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 270 | Ok(HttpRes::::new(data, total, page))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:141:25
[INFO] [stdout] |
[INFO] [stdout] 141 | .map(|poem| HttpResponse::Ok().json(poem.unwrap()))
[INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:162:66
[INFO] [stdout] |
[INFO] [stdout] 157 | db: web::Data,
[INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 162 | web::block(move || poems.find(res.id).first::(&db.get().unwrap()))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:164:25
[INFO] [stdout] |
[INFO] [stdout] 164 | .map(|poem| HttpResponse::Ok().json(poem.unwrap()))
[INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:212:13
[INFO] [stdout] |
[INFO] [stdout] 210 | .map(|poem| {
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 211 | let (data, total) = poem.unwrap();
[INFO] [stdout] 212 | HttpResponse::Ok().json(HttpRes::::new(data, total, page))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:234:34
[INFO] [stdout] |
[INFO] [stdout] 219 | db: web::Data,
[INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 234 | .first::(&db.get().unwrap())
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:237:19
[INFO] [stdout] |
[INFO] [stdout] 237 | .map(|writer| HttpResponse::Ok().json(writer.unwrap()))
[INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:254:8
[INFO] [stdout] |
[INFO] [stdout] 242 | pool: web::Data,
[INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 243 | table: Table,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 252 | let conn = pool.get().unwrap();
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 253 | let (data, total) = table.paginate(page).load_and_count_pages::(&conn)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 254 | Ok(HttpRes::::new(data, total, page))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/handlers.rs:270:8
[INFO] [stdout] |
[INFO] [stdout] 258 | pool: web::Data,
[INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 259 | table: Table,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 268 | let conn = pool.get().unwrap();
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 269 | let (data, total) = table.paginate(page).load_and_count_pages::(&conn)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 270 | Ok(HttpRes::::new(data, total, page))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/pagination.rs:23:20
[INFO] [stdout] |
[INFO] [stdout] 21 | fn paginate(self, page: i64) -> Paginated {
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 22 | Paginated {
[INFO] [stdout] 23 | query: self.as_query(),
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/pagination.rs:56:12
[INFO] [stdout] |
[INFO] [stdout] 46 | pub fn load_and_count_pages(self, conn: &PgConnection) -> QueryResult<(Vec, i64)>
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 52 | let results = self.load::<(U, i64)>(conn)?;
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 53 | let total = results.get(0).map(|x| x.1).unwrap_or(0);
[INFO] [stdout] 54 | let records = results.into_iter().map(|x| x.0).collect();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 55 | let total_pages = (total as f64 / per_page as f64).ceil() as i64;
[INFO] [stdout] 56 | Ok((records, total_pages))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/pagination.rs:23:20
[INFO] [stdout] |
[INFO] [stdout] 21 | fn paginate(self, page: i64) -> Paginated {
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 22 | Paginated {
[INFO] [stdout] 23 | query: self.as_query(),
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/pagination.rs:56:12
[INFO] [stdout] |
[INFO] [stdout] 46 | pub fn load_and_count_pages(self, conn: &PgConnection) -> QueryResult<(Vec, i64)>
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 52 | let results = self.load::<(U, i64)>(conn)?;
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 53 | let total = results.get(0).map(|x| x.1).unwrap_or(0);
[INFO] [stdout] 54 | let records = results.into_iter().map(|x| x.0).collect();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 55 | let total_pages = (total as f64 / per_page as f64).ceil() as i64;
[INFO] [stdout] 56 | Ok((records, total_pages))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 14 previous errors; 19 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 14 previous errors; 19 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `cn_poems_api` (bin "cn_poems_api") due to 15 previous errors; 19 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `cn_poems_api` (bin "cn_poems_api" test) due to 15 previous errors; 19 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5f2c648af7f179c454b171df153f136f386d5c027f118686c1c3e318eaba6fb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f2c648af7f179c454b171df153f136f386d5c027f118686c1c3e318eaba6fb3", kill_on_drop: false }`
[INFO] [stdout] 5f2c648af7f179c454b171df153f136f386d5c027f118686c1c3e318eaba6fb3