[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 try#ddc023471205c186b40f4bf8ffb598008dbf4885 for pr-87041-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonmilorad87%2Fblazingsun-rust-api" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/donmilorad87/blazingsun-rust-api on toolchain ddc023471205c186b40f4bf8ffb598008dbf4885 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "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-25/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" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd9fee92624a1c2e75058b1100ac028af17557cce6f6b52865e0079452f7af60 [INFO] running `Command { std: "docker" "start" "-a" "fd9fee92624a1c2e75058b1100ac028af17557cce6f6b52865e0079452f7af60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd9fee92624a1c2e75058b1100ac028af17557cce6f6b52865e0079452f7af60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd9fee92624a1c2e75058b1100ac028af17557cce6f6b52865e0079452f7af60", kill_on_drop: false }` [INFO] [stdout] fd9fee92624a1c2e75058b1100ac028af17557cce6f6b52865e0079452f7af60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d7356536fbe17585bb3eaf6e14768163a24b3c1ad242a2d54fc1e2e689b6022 [INFO] running `Command { std: "docker" "start" "-a" "1d7356536fbe17585bb3eaf6e14768163a24b3c1ad242a2d54fc1e2e689b6022", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling base64 v0.12.2 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling hmac-sha1 v0.1.3 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling google-authenticator v0.1.9 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling ignore v0.4.16 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling chrono-tz v0.5.2 [INFO] [stderr] Compiling globwalk v0.8.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [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 failure_derive v0.1.8 [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 pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [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-threadpool v0.3.2 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [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 actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling hyper v0.13.6 [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-connect v1.0.2 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling alcoholic_jwt v1.0.0 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling tera v1.3.1 [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 is never used: `get_products_by_page` [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 is never used: `get_products_by_page_id` [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: variant is never constructed: `InternalServerError` [INFO] [stdout] --> src/errors.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadRequest` [INFO] [stdout] --> src/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JWKSFetchError` [INFO] [stdout] --> src/errors.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | JWKSFetchError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1d7356536fbe17585bb3eaf6e14768163a24b3c1ad242a2d54fc1e2e689b6022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d7356536fbe17585bb3eaf6e14768163a24b3c1ad242a2d54fc1e2e689b6022", kill_on_drop: false }` [INFO] [stdout] 1d7356536fbe17585bb3eaf6e14768163a24b3c1ad242a2d54fc1e2e689b6022 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5ef05e0261fe89f34c1b449da66686aea73b955d4a148912776f5cedf5c0b29 [INFO] running `Command { std: "docker" "start" "-a" "a5ef05e0261fe89f34c1b449da66686aea73b955d4a148912776f5cedf5c0b29", kill_on_drop: false }` [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 is never used: `get_products_by_page` [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 is never used: `get_products_by_page_id` [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: variant is never constructed: `InternalServerError` [INFO] [stdout] --> src/errors.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadRequest` [INFO] [stdout] --> src/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JWKSFetchError` [INFO] [stdout] --> src/errors.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | JWKSFetchError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a5ef05e0261fe89f34c1b449da66686aea73b955d4a148912776f5cedf5c0b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5ef05e0261fe89f34c1b449da66686aea73b955d4a148912776f5cedf5c0b29", kill_on_drop: false }` [INFO] [stdout] a5ef05e0261fe89f34c1b449da66686aea73b955d4a148912776f5cedf5c0b29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e2e9d914a0e490fcf1d2fac8d266e3a25fb1f09c3308b3942a9088be09b2082 [INFO] running `Command { std: "docker" "start" "-a" "6e2e9d914a0e490fcf1d2fac8d266e3a25fb1f09c3308b3942a9088be09b2082", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 is never used: `get_products_by_page` [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 is never used: `get_products_by_page_id` [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: variant is never constructed: `InternalServerError` [INFO] [stderr] --> src/errors.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | InternalServerError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BadRequest` [INFO] [stderr] --> src/errors.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | BadRequest(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `JWKSFetchError` [INFO] [stderr] --> src/errors.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | JWKSFetchError, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-api-auth-async` (bin "rust-api-auth-async" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_api_auth_async-388b0f5dcefac2f7) [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" "6e2e9d914a0e490fcf1d2fac8d266e3a25fb1f09c3308b3942a9088be09b2082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e2e9d914a0e490fcf1d2fac8d266e3a25fb1f09c3308b3942a9088be09b2082", kill_on_drop: false }` [INFO] [stdout] 6e2e9d914a0e490fcf1d2fac8d266e3a25fb1f09c3308b3942a9088be09b2082