[INFO] cloning repository https://github.com/Nditah/rust-lesson [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nditah/rust-lesson" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNditah%2Frust-lesson", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNditah%2Frust-lesson'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8079ef49c1afc8d12cb5dec6d7b52ab7f76b8904 [INFO] testing Nditah/rust-lesson against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNditah%2Frust-lesson" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nditah/rust-lesson on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nditah/rust-lesson [INFO] finished tweaking git repo https://github.com/Nditah/rust-lesson [INFO] tweaked toml for git repo https://github.com/Nditah/rust-lesson written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Nditah/rust-lesson already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alcoholic_jwt v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ecb91ebb5c005584a0cda4842d3f765c9e15a641fd7efcdddf713c4fe5c71ce [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9ecb91ebb5c005584a0cda4842d3f765c9e15a641fd7efcdddf713c4fe5c71ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ecb91ebb5c005584a0cda4842d3f765c9e15a641fd7efcdddf713c4fe5c71ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ecb91ebb5c005584a0cda4842d3f765c9e15a641fd7efcdddf713c4fe5c71ce", kill_on_drop: false }` [INFO] [stdout] 9ecb91ebb5c005584a0cda4842d3f765c9e15a641fd7efcdddf713c4fe5c71ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbd2cbbd3d179e19bdef8e8c607a6cbf756cd5677fb14790ee2ace6d83980f06 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fbd2cbbd3d179e19bdef8e8c607a6cbf756cd5677fb14790ee2ace6d83980f06", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [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 serde_json v1.0.66 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling alcoholic_jwt v1.0.0 [INFO] [stderr] Compiling diesel v1.4.7 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling reqwest v0.9.24 [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 blogpost v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error`, `dev::ServiceRequest` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{dev::ServiceRequest, web, App, Error, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::Responder` [INFO] [stdout] --> src/handlers.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_web::Responder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let pool: Pool = r2d2::Pool::builder() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InternalServerError` [INFO] [stdout] --> src/errors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadRequest` [INFO] [stdout] --> src/errors.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JWKSFetchError` [INFO] [stdout] --> src/errors.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | JWKSFetchError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 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 25` [INFO] running `Command { std: "docker" "inspect" "fbd2cbbd3d179e19bdef8e8c607a6cbf756cd5677fb14790ee2ace6d83980f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbd2cbbd3d179e19bdef8e8c607a6cbf756cd5677fb14790ee2ace6d83980f06", kill_on_drop: false }` [INFO] [stdout] fbd2cbbd3d179e19bdef8e8c607a6cbf756cd5677fb14790ee2ace6d83980f06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4360098f0e607be14adca2c1e91a3e8c5bf2b7d7f2838a52b24dd03c8e84a7fe [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4360098f0e607be14adca2c1e91a3e8c5bf2b7d7f2838a52b24dd03c8e84a7fe", kill_on_drop: false }` [INFO] [stderr] Compiling blogpost v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error`, `dev::ServiceRequest` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{dev::ServiceRequest, web, App, Error, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::Responder` [INFO] [stdout] --> src/handlers.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_web::Responder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let pool: Pool = r2d2::Pool::builder() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InternalServerError` [INFO] [stdout] --> src/errors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadRequest` [INFO] [stdout] --> src/errors.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JWKSFetchError` [INFO] [stdout] --> src/errors.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | JWKSFetchError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.39s [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 26` [INFO] running `Command { std: "docker" "inspect" "4360098f0e607be14adca2c1e91a3e8c5bf2b7d7f2838a52b24dd03c8e84a7fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4360098f0e607be14adca2c1e91a3e8c5bf2b7d7f2838a52b24dd03c8e84a7fe", kill_on_drop: false }` [INFO] [stdout] 4360098f0e607be14adca2c1e91a3e8c5bf2b7d7f2838a52b24dd03c8e84a7fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a063fbd8a598fe2203ddd98d4953ad208cc9d3556bcba0ee0c003069038ea216 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a063fbd8a598fe2203ddd98d4953ad208cc9d3556bcba0ee0c003069038ea216", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Error`, `dev::ServiceRequest` [INFO] [stderr] --> src/main.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_web::{dev::ServiceRequest, web, App, Error, HttpServer}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::Responder` [INFO] [stderr] --> src/handlers.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use actix_web::Responder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let pool: Pool = r2d2::Pool::builder() [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InternalServerError` [INFO] [stderr] --> src/errors.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | InternalServerError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BadRequest` [INFO] [stderr] --> src/errors.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | BadRequest(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `JWKSFetchError` [INFO] [stderr] --> src/errors.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | JWKSFetchError, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `blogpost` (bin "blogpost" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [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 27` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/blogpost-64a4c3e580bb1f1f) [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" "a063fbd8a598fe2203ddd98d4953ad208cc9d3556bcba0ee0c003069038ea216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a063fbd8a598fe2203ddd98d4953ad208cc9d3556bcba0ee0c003069038ea216", kill_on_drop: false }` [INFO] [stdout] a063fbd8a598fe2203ddd98d4953ad208cc9d3556bcba0ee0c003069038ea216