[INFO] cloning repository https://github.com/donmilorad87/blazingsun-rust-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/donmilorad87/blazingsun-rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonmilorad87%2Fblazingsun-rust-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonmilorad87%2Fblazingsun-rust-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29cfa97d17a05b61015575b310146ee33cb7b69e [INFO] testing donmilorad87/blazingsun-rust-api against 1.63.0 for beta-1.64-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonmilorad87%2Fblazingsun-rust-api" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/donmilorad87/blazingsun-rust-api on toolchain 1.63.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/donmilorad87/blazingsun-rust-api [INFO] finished tweaking git repo https://github.com/donmilorad87/blazingsun-rust-api [INFO] tweaked toml for git repo https://github.com/donmilorad87/blazingsun-rust-api written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/donmilorad87/blazingsun-rust-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/actix/actix-web-httpauth` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base64 v0.12.2 [INFO] [stderr] Downloaded sha1 v0.2.0 [INFO] [stderr] Downloaded widestring v0.4.2 [INFO] [stderr] Downloaded backtrace v0.3.49 [INFO] [stderr] Downloaded actix-server v1.0.3 [INFO] [stderr] Downloaded actix-threadpool v0.3.2 [INFO] [stderr] Downloaded google-authenticator v0.1.9 [INFO] [stderr] Downloaded deunicode v0.4.3 [INFO] [stderr] Downloaded slug v0.1.4 [INFO] [stderr] Downloaded ignore v0.4.16 [INFO] [stderr] Downloaded globwalk v0.8.0 [INFO] [stderr] Downloaded tera v1.3.1 [INFO] [stderr] Downloaded actix-web-codegen v0.2.2 [INFO] [stderr] Downloaded alcoholic_jwt v1.0.0 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded derive_more v0.99.8 [INFO] [stderr] Downloaded base32 v0.4.0 [INFO] [stderr] Downloaded chrono-tz v0.5.2 [INFO] [stderr] Downloaded hmac-sha1 v0.1.3 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.0 [INFO] [stderr] Downloaded humansize v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c56c93b7f6f64dfb4903a89d8bbbf8fde9da187dd030c0640af19f30bbeb6e70 [INFO] running `Command { std: "docker" "start" "-a" "c56c93b7f6f64dfb4903a89d8bbbf8fde9da187dd030c0640af19f30bbeb6e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c56c93b7f6f64dfb4903a89d8bbbf8fde9da187dd030c0640af19f30bbeb6e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c56c93b7f6f64dfb4903a89d8bbbf8fde9da187dd030c0640af19f30bbeb6e70", kill_on_drop: false }` [INFO] [stdout] c56c93b7f6f64dfb4903a89d8bbbf8fde9da187dd030c0640af19f30bbeb6e70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39c7a36016f1a73127b8e374db40c366a4215d6649ce6a0d1e6ab8e841accd44 [INFO] running `Command { std: "docker" "start" "-a" "39c7a36016f1a73127b8e374db40c366a4215d6649ce6a0d1e6ab8e841accd44", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling base64 v0.12.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling hmac-sha1 v0.1.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ignore v0.4.16 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling globwalk v0.8.0 [INFO] [stderr] Compiling google-authenticator v0.1.9 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling chrono-tz v0.5.2 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling derive_more v0.99.8 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.35 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-threadpool v0.3.2 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.3 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling alcoholic_jwt v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling tera v1.3.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-web-httpauth v0.4.0 (https://github.com/actix/actix-web-httpauth#7fa9723f) [INFO] [stderr] Compiling actix-cors v0.2.0 [INFO] [stderr] Compiling rust-api-auth-async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dev::ServiceRequest` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use actix_web::{dev::ServiceRequest, dev::ServiceResponse,http, web, App, error, middleware, Error, HttpServer, HttpResponse, http::Statu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use tera::{Tera, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::diesel::PgTextExpressionMethods` [INFO] [stdout] --> src/handlers.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::diesel::PgTextExpressionMethods; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::diesel::BoolExpressionMethods` [INFO] [stdout] --> src/handlers.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::diesel::BoolExpressionMethods; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_products_by_page` is never used [INFO] [stdout] --> src/handlers.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | pub async fn get_products_by_page(db: web::Data, page_id: web::Path,) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_products_by_page_id` is never used [INFO] [stdout] --> src/handlers.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_products_by_page_id(pool: web::Data, page_id: i32) -> Result, diesel::result::Error> { [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] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "39c7a36016f1a73127b8e374db40c366a4215d6649ce6a0d1e6ab8e841accd44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39c7a36016f1a73127b8e374db40c366a4215d6649ce6a0d1e6ab8e841accd44", kill_on_drop: false }` [INFO] [stdout] 39c7a36016f1a73127b8e374db40c366a4215d6649ce6a0d1e6ab8e841accd44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1964671e4e63ee58d73b1dc8960f17b24e1f269c642f352f7072fa75c068358 [INFO] running `Command { std: "docker" "start" "-a" "e1964671e4e63ee58d73b1dc8960f17b24e1f269c642f352f7072fa75c068358", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-api-auth-async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dev::ServiceRequest` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use actix_web::{dev::ServiceRequest, dev::ServiceResponse,http, web, App, error, middleware, Error, HttpServer, HttpResponse, http::Statu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use tera::{Tera, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::diesel::PgTextExpressionMethods` [INFO] [stdout] --> src/handlers.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::diesel::PgTextExpressionMethods; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::diesel::BoolExpressionMethods` [INFO] [stdout] --> src/handlers.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::diesel::BoolExpressionMethods; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_products_by_page` is never used [INFO] [stdout] --> src/handlers.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | pub async fn get_products_by_page(db: web::Data, page_id: web::Path,) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_products_by_page_id` is never used [INFO] [stdout] --> src/handlers.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_products_by_page_id(pool: web::Data, page_id: i32) -> Result, diesel::result::Error> { [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] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.82s [INFO] running `Command { std: "docker" "inspect" "e1964671e4e63ee58d73b1dc8960f17b24e1f269c642f352f7072fa75c068358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1964671e4e63ee58d73b1dc8960f17b24e1f269c642f352f7072fa75c068358", kill_on_drop: false }` [INFO] [stdout] e1964671e4e63ee58d73b1dc8960f17b24e1f269c642f352f7072fa75c068358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d72a90e2d86ceda20e8bfd8e316785c2e5dd3c0a5944bb3236f91c9327f001d4 [INFO] running `Command { std: "docker" "start" "-a" "d72a90e2d86ceda20e8bfd8e316785c2e5dd3c0a5944bb3236f91c9327f001d4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `dev::ServiceRequest` [INFO] [stderr] --> src/main.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | use actix_web::{dev::ServiceRequest, dev::ServiceResponse,http, web, App, error, middleware, Error, HttpServer, HttpResponse, http::Statu... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/main.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | use tera::{Tera, Context}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::diesel::PgTextExpressionMethods` [INFO] [stderr] --> src/handlers.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::diesel::PgTextExpressionMethods; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::diesel::BoolExpressionMethods` [INFO] [stderr] --> src/handlers.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::diesel::BoolExpressionMethods; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_products_by_page` is never used [INFO] [stderr] --> src/handlers.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | pub async fn get_products_by_page(db: web::Data, page_id: web::Path,) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_products_by_page_id` is never used [INFO] [stderr] --> src/handlers.rs:58:4 [INFO] [stderr] | [INFO] [stderr] 58 | fn get_products_by_page_id(pool: web::Data, page_id: i32) -> Result, diesel::result::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `InternalServerError`, `BadRequest` and `JWKSFetchError` are never constructed [INFO] [stderr] --> src/errors.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum ServiceError { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] 6 | #[display(fmt = "Internal Server Error")] [INFO] [stderr] 7 | InternalServerError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 10 | BadRequest(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 13 | JWKSFetchError, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `rust-api-auth-async` (bin "rust-api-auth-async" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_api_auth_async-d05114f1fe13ac38) [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" "d72a90e2d86ceda20e8bfd8e316785c2e5dd3c0a5944bb3236f91c9327f001d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72a90e2d86ceda20e8bfd8e316785c2e5dd3c0a5944bb3236f91c9327f001d4", kill_on_drop: false }` [INFO] [stdout] d72a90e2d86ceda20e8bfd8e316785c2e5dd3c0a5944bb3236f91c9327f001d4