[INFO] cloning repository https://github.com/sankar-boro/hacking-with-rust-web-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sankar-boro/hacking-with-rust-web-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankar-boro%2Fhacking-with-rust-web-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankar-boro%2Fhacking-with-rust-web-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a9d50ea88b8a41a138b536e2af76a84999be69c [INFO] checking sankar-boro/hacking-with-rust-web-server against master#3e826bb11228508fbe749e594038d6727208aa94 for pr-82322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankar-boro%2Fhacking-with-rust-web-server" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sankar-boro/hacking-with-rust-web-server on toolchain 3e826bb11228508fbe749e594038d6727208aa94 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sankar-boro/hacking-with-rust-web-server [INFO] finished tweaking git repo https://github.com/sankar-boro/hacking-with-rust-web-server [INFO] tweaked toml for git repo https://github.com/sankar-boro/hacking-with-rust-web-server written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/sankar-boro/hacking-with-rust-web-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c58b9e10831cb8eec288e0ece0cc91b435aacbb8d9ef1bcea25247d66a36bc44 [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" "c58b9e10831cb8eec288e0ece0cc91b435aacbb8d9ef1bcea25247d66a36bc44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c58b9e10831cb8eec288e0ece0cc91b435aacbb8d9ef1bcea25247d66a36bc44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58b9e10831cb8eec288e0ece0cc91b435aacbb8d9ef1bcea25247d66a36bc44", kill_on_drop: false }` [INFO] [stdout] c58b9e10831cb8eec288e0ece0cc91b435aacbb8d9ef1bcea25247d66a36bc44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2aca71a2648076912b20d3f6b4872fd7407f252af8db96073f98de7bdea9626d [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" "2aca71a2648076912b20d3f6b4872fd7407f252af8db96073f98de7bdea9626d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.46 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking loony-macro v0.1.0 (/opt/rustwide/workdir/loony-macro) [INFO] [stderr] Checking loony-http v0.1.0 (/opt/rustwide/workdir/loony-http) [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking loony-help v0.1.0 (/opt/rustwide/workdir/loony-help) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> loony-help/src/l_type.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | type Something = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Factory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ping` [INFO] [stdout] --> loony-macro/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | fn $fn_name() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | create_function!(ping); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Something` [INFO] [stdout] --> loony-help/src/l_type.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | type Something = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `User` [INFO] [stdout] --> loony-help/src/l_type.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> loony-help/src/l_type.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn new(name:N) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking loony-server v0.1.0 (/opt/rustwide/workdir/loony-server) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> loony-help/src/l_type.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | type Something = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Factory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Something` [INFO] [stdout] --> loony-help/src/l_type.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | type Something = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `User` [INFO] [stdout] --> loony-help/src/l_type.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> loony-help/src/l_type.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn new(name:N) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ping` [INFO] [stdout] --> loony-macro/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | fn $fn_name() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | create_function!(ping); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking loony-service v0.1.0 (/opt/rustwide/workdir/loony-service) [INFO] [stderr] Checking loony-test v0.1.0 (/opt/rustwide/workdir/loony-test) [INFO] [stderr] Checking loony-futures v0.1.0 (/opt/rustwide/workdir/loony-futures) [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> loony-futures/src/main.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking loony-web v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> loony-test/src/main.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> loony-test/src/main.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> loony-futures/src/main.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::route::RouteService` [INFO] [stdout] --> src/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::route::RouteService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppServiceFactory`, `ServiceFactoryWrapper` [INFO] [stdout] --> src/app.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::service::{HttpServiceFactory, AppServiceFactory, ServiceFactoryWrapper, HttpAppServiceFactory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/responder.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use loony_http::{Error, Response}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppState` [INFO] [stdout] --> src/server.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{App, AppState}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any`, `TypeId` [INFO] [stdout] --> src/server.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{Any, TypeId}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ServiceFactoryWrapper`, `responder::Responder` [INFO] [stdout] --> src/route.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{responder::Responder, service::{HttpServiceFactory, HttpAppServiceFactory, ServiceFactoryWrapper, HttpServiceFactoryWrapper}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Factory`, `Handler` [INFO] [stdout] --> src/route.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::service::{Factory, Handler}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Factory` [INFO] [stdout] --> src/web.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::service::{HttpServiceFactory, Factory}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::responder::Responder` [INFO] [stdout] --> src/web.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::responder::Responder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::route::RouteService` [INFO] [stdout] --> src/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::route::RouteService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppServiceFactory`, `ServiceFactoryWrapper` [INFO] [stdout] --> src/app.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::service::{HttpServiceFactory, AppServiceFactory, ServiceFactoryWrapper, HttpAppServiceFactory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/responder.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use loony_http::{Error, Response}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppState` [INFO] [stdout] --> src/server.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{App, AppState}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any`, `TypeId` [INFO] [stdout] --> src/server.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{Any, TypeId}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ServiceFactoryWrapper`, `responder::Responder` [INFO] [stdout] --> src/route.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{responder::Responder, service::{HttpServiceFactory, HttpAppServiceFactory, ServiceFactoryWrapper, HttpServiceFactoryWrapper}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Factory`, `Handler` [INFO] [stdout] --> src/route.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::service::{Factory, Handler}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Factory` [INFO] [stdout] --> src/web.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::service::{HttpServiceFactory, Factory}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::responder::Responder` [INFO] [stdout] --> src/web.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::responder::Responder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | fn index(data: web::FormData) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/server.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let app = (self.app)(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/controller.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_user(request: Request) -> impl Responder { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/controller.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn delete_user(request: Request) -> impl Responder { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> loony-service/src/main.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | type Future = Pin>>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | fn index(data: web::FormData) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/server.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let app = (self.app)(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/controller.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_user(request: Request) -> impl Responder { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/controller.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn delete_user(request: Request) -> impl Responder { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `app_data` [INFO] [stdout] --> src/app.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | app_data:AppState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `service` [INFO] [stdout] --> src/app.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn service(mut self, route: &str, factory: T) -> Self where T: HttpServiceFactory + 'static { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/service.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(route:&str, factory: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_scope` [INFO] [stdout] --> src/route.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_scope(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_scope_routes` [INFO] [stdout] --> src/route.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_scope_routes(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get` [INFO] [stdout] --> src/route.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get(route: &str, get:T) -> (&str, T) where T: Fn() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/extensions.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn contains(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/extensions.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get(&self) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/extensions.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/extensions.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn remove(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/extensions.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/web.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | data: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `User` [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn index(data: web::FormData) -> impl Responder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete` [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn delete() -> impl Responder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> loony-service/src/main.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | type Future = Pin>>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `app_data` [INFO] [stdout] --> src/app.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | app_data:AppState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `service` [INFO] [stdout] --> src/app.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn service(mut self, route: &str, factory: T) -> Self where T: HttpServiceFactory + 'static { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/service.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(route:&str, factory: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_scope` [INFO] [stdout] --> src/route.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_scope(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_scope_routes` [INFO] [stdout] --> src/route.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_scope_routes(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get` [INFO] [stdout] --> src/route.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get(route: &str, get:T) -> (&str, T) where T: Fn() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/extensions.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn contains(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/extensions.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get(&self) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/extensions.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/extensions.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn remove(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/extensions.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/web.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | data: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `User` [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn index(data: web::FormData) -> impl Responder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete` [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn delete() -> impl Responder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> loony-service/src/main.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | fn poll_ready(&mut self, ctx: &mut std::task::Context<'_>) -> std::task::Poll> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> loony-service/src/main.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | fn call(&mut self, req: Self::Request) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `into_service` [INFO] [stdout] --> loony-service/src/service.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn into_service(tp: T) -> S [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> loony-service/src/map.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) fn new(a: A, f: F) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> loony-service/src/map_err.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) fn new(a: A, f: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> loony-service/src/map_init_error.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn new(a: A, f: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> loony-service/src/main.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | fn poll_ready(&mut self, ctx: &mut std::task::Context<'_>) -> std::task::Poll> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> loony-service/src/main.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | fn call(&mut self, req: Self::Request) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `into_service` [INFO] [stdout] --> loony-service/src/service.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn into_service(tp: T) -> S [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> loony-service/src/map.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) fn new(a: A, f: F) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> loony-service/src/map_err.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) fn new(a: A, f: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> loony-service/src/map_init_error.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn new(a: A, f: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.13s [INFO] running `Command { std: "docker" "inspect" "2aca71a2648076912b20d3f6b4872fd7407f252af8db96073f98de7bdea9626d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aca71a2648076912b20d3f6b4872fd7407f252af8db96073f98de7bdea9626d", kill_on_drop: false }` [INFO] [stdout] 2aca71a2648076912b20d3f6b4872fd7407f252af8db96073f98de7bdea9626d