[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.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonmilorad87%2Fblazingsun-rust-api" "/workspace/builds/worker-117/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-117/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/donmilorad87/blazingsun-rust-api on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-117/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.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alcoholic_jwt v1.0.0 [INFO] [stderr] Downloaded async-trait v0.1.35 [INFO] [stderr] Downloaded addr2line v0.12.1 [INFO] [stderr] Downloaded derive_more v0.99.8 [INFO] [stderr] Downloaded serde v1.0.112 [INFO] [stderr] Downloaded base64 v0.12.2 [INFO] [stderr] Downloaded hmac-sha1 v0.1.3 [INFO] [stderr] Downloaded tera v1.3.1 [INFO] [stderr] Downloaded serde_derive v1.0.112 [INFO] [stderr] Downloaded syn v1.0.31 [INFO] [stderr] Downloaded actix-threadpool v0.3.2 [INFO] [stderr] Downloaded serde_json v1.0.55 [INFO] [stderr] Downloaded google-authenticator v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac7cbb3df27f14986481dbab907fa5493fab3364fac6f2de87a00e4d21d03bb1 [INFO] running `Command { std: "docker" "start" "-a" "ac7cbb3df27f14986481dbab907fa5493fab3364fac6f2de87a00e4d21d03bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac7cbb3df27f14986481dbab907fa5493fab3364fac6f2de87a00e4d21d03bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac7cbb3df27f14986481dbab907fa5493fab3364fac6f2de87a00e4d21d03bb1", kill_on_drop: false }` [INFO] [stdout] ac7cbb3df27f14986481dbab907fa5493fab3364fac6f2de87a00e4d21d03bb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9865b1801e6c9333b5cda4acd75bbc401ee84e4c62957d30cc6cbfb57bb64d1b [INFO] running `Command { std: "docker" "start" "-a" "9865b1801e6c9333b5cda4acd75bbc401ee84e4c62957d30cc6cbfb57bb64d1b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 autocfg v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [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 pin-project-lite v0.1.7 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling itoa v0.4.6 [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 tinyvec v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling maplit v1.0.2 [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 tower-service v0.3.0 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling base64 v0.12.2 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling hmac-sha1 v0.1.3 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [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 openssl-sys v0.9.58 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [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 backtrace v0.3.49 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [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 brotli2 v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling ignore v0.4.16 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono-tz v0.5.2 [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 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 async-trait v0.1.35 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling failure v0.1.8 [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 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 futures-executor v0.3.5 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [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 trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling alcoholic_jwt v1.0.0 [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 awc v1.0.1 [INFO] [stderr] Compiling tera v1.3.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 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] note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 31s [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" "9865b1801e6c9333b5cda4acd75bbc401ee84e4c62957d30cc6cbfb57bb64d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9865b1801e6c9333b5cda4acd75bbc401ee84e4c62957d30cc6cbfb57bb64d1b", kill_on_drop: false }` [INFO] [stdout] 9865b1801e6c9333b5cda4acd75bbc401ee84e4c62957d30cc6cbfb57bb64d1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7556177797daa20f9f46346d1bce0e2bf9491145d2f95cb25265540dd961f2d1 [INFO] running `Command { std: "docker" "start" "-a" "7556177797daa20f9f46346d1bce0e2bf9491145d2f95cb25265540dd961f2d1", 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] note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.27s [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 2` [INFO] running `Command { std: "docker" "inspect" "7556177797daa20f9f46346d1bce0e2bf9491145d2f95cb25265540dd961f2d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7556177797daa20f9f46346d1bce0e2bf9491145d2f95cb25265540dd961f2d1", kill_on_drop: false }` [INFO] [stdout] 7556177797daa20f9f46346d1bce0e2bf9491145d2f95cb25265540dd961f2d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee7b86b7f37cb1ae2d9dfdde38e17be2686458efc8a6be6c1f98b634ceb3af64 [INFO] running `Command { std: "docker" "start" "-a" "ee7b86b7f37cb1ae2d9dfdde38e17be2686458efc8a6be6c1f98b634ceb3af64", kill_on_drop: false }` [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] note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/errors.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Display)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/errors.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Display)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/errors.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Display)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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 0.19s [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-6aab0f0fbc2cdb89) [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" "ee7b86b7f37cb1ae2d9dfdde38e17be2686458efc8a6be6c1f98b634ceb3af64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee7b86b7f37cb1ae2d9dfdde38e17be2686458efc8a6be6c1f98b634ceb3af64", kill_on_drop: false }` [INFO] [stdout] ee7b86b7f37cb1ae2d9dfdde38e17be2686458efc8a6be6c1f98b634ceb3af64