[INFO] cloning repository https://github.com/brittosaji19/actix_root [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brittosaji19/actix_root" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrittosaji19%2Factix_root", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrittosaji19%2Factix_root'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1da2354a4aa948539caee134df75723763de00e7 [INFO] testing brittosaji19/actix_root against 1.63.0 for beta-1.64-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrittosaji19%2Factix_root" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brittosaji19/actix_root on toolchain 1.63.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brittosaji19/actix_root [INFO] finished tweaking git repo https://github.com/brittosaji19/actix_root [INFO] tweaked toml for git repo https://github.com/brittosaji19/actix_root written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/brittosaji19/actix_root already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.60 [INFO] [stderr] Downloaded signal-hook-registry v1.1.1 [INFO] [stderr] Downloaded http v0.1.18 [INFO] [stderr] Downloaded diesel_derives v1.4.0 [INFO] [stderr] Downloaded getrandom v0.1.8 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.2 [INFO] [stderr] Downloaded rand_core v0.5.0 [INFO] [stderr] Downloaded rand v0.7.0 [INFO] [stderr] Downloaded actix-rt v0.2.4 [INFO] [stderr] Downloaded regex v1.2.1 [INFO] [stderr] Downloaded ucd-util v0.1.5 [INFO] [stderr] Downloaded actix-service v0.4.1 [INFO] [stderr] Downloaded actix-utils v0.4.5 [INFO] [stderr] Downloaded c2-chacha v0.2.2 [INFO] [stderr] Downloaded flate2 v1.0.9 [INFO] [stderr] Downloaded ppv-lite86 v0.2.5 [INFO] [stderr] Downloaded actix-web-codegen v0.1.2 [INFO] [stderr] Downloaded signal-hook v0.1.10 [INFO] [stderr] Downloaded miniz_oxide v0.3.1 [INFO] [stderr] Downloaded actix-connect v0.2.3 [INFO] [stderr] Downloaded actix-server v0.6.0 [INFO] [stderr] Downloaded miniz_oxide_c_api v0.2.3 [INFO] [stderr] Downloaded arc-swap v0.4.2 [INFO] [stderr] Downloaded lock_api v0.3.1 [INFO] [stderr] Downloaded awc v0.2.3 [INFO] [stderr] Downloaded serde_json v1.0.40 [INFO] [stderr] Downloaded backtrace-sys v0.1.31 [INFO] [stderr] Downloaded encoding_rs v0.8.17 [INFO] [stderr] Downloaded regex-syntax v0.6.11 [INFO] [stderr] Downloaded serde v1.0.98 [INFO] [stderr] Downloaded ring v0.14.6 [INFO] [stderr] Downloaded blowfish v0.4.0 [INFO] [stderr] Downloaded spin v0.5.1 [INFO] [stderr] Downloaded ryu v1.0.0 [INFO] [stderr] Downloaded diesel v1.4.2 [INFO] [stderr] Downloaded actix-http v0.2.8 [INFO] [stderr] Downloaded num-bigint v0.2.2 [INFO] [stderr] Downloaded chrono v0.4.7 [INFO] [stderr] Downloaded tokio-executor v0.1.8 [INFO] [stderr] Downloaded r2d2 v0.8.5 [INFO] [stderr] Downloaded backtrace v0.3.34 [INFO] [stderr] Downloaded unicase v2.4.0 [INFO] [stderr] Downloaded actix-web v1.0.5 [INFO] [stderr] Downloaded jsonwebtoken v6.0.1 [INFO] [stderr] Downloaded autocfg v0.1.5 [INFO] [stderr] Downloaded cc v1.0.38 [INFO] [stderr] Downloaded bcrypt v0.4.0 [INFO] [stderr] Downloaded bigdecimal v0.0.14 [INFO] [stderr] Downloaded ipnetwork v0.13.1 [INFO] [stderr] Downloaded pq-sys v0.4.6 [INFO] [stderr] Downloaded futures v0.1.28 [INFO] [stderr] Downloaded serde_derive v1.0.98 [INFO] [stderr] Downloaded hashbrown v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be2bca63825a0ea8934b87c5efa01e8bef0b9f2ada51ae6c3c6f048a35631a4d [INFO] running `Command { std: "docker" "start" "-a" "be2bca63825a0ea8934b87c5efa01e8bef0b9f2ada51ae6c3c6f048a35631a4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be2bca63825a0ea8934b87c5efa01e8bef0b9f2ada51ae6c3c6f048a35631a4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2bca63825a0ea8934b87c5efa01e8bef0b9f2ada51ae6c3c6f048a35631a4d", kill_on_drop: false }` [INFO] [stdout] be2bca63825a0ea8934b87c5efa01e8bef0b9f2ada51ae6c3c6f048a35631a4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32979e5c498c69e1145fa8615946ee86b5967d75f5f999dd7c32ab9021b43a90 [INFO] running `Command { std: "docker" "start" "-a" "32979e5c498c69e1145fa8615946ee86b5967d75f5f999dd7c32ab9021b43a90", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling arc-swap v0.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling spin v0.5.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling actix-service v0.4.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling getrandom v0.1.8 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling listenfd v0.3.3 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling flate2 v1.0.9 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling bcrypt v0.4.0 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling r2d2 v0.8.5 [INFO] [stderr] Compiling bigdecimal v0.0.14 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling actix-utils v0.4.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Compiling actix-web-codegen v0.1.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-connect v0.2.3 [INFO] [stderr] Compiling actix-rt v0.2.4 [INFO] [stderr] Compiling actix-server v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling ipnetwork v0.13.1 [INFO] [stderr] Compiling actix-http v0.2.8 [INFO] [stderr] Compiling diesel v1.4.2 [INFO] [stderr] Compiling jsonwebtoken v6.0.1 [INFO] [stderr] Compiling awc v0.2.3 [INFO] [stderr] Compiling actix-web v1.0.5 [INFO] [stderr] Compiling ActixRoot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/controllers/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::middlewares` [INFO] [stdout] --> src/routes/auth.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::super::middlewares; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/routes/auth.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DEFAULT_COST` [INFO] [stdout] --> src/utils/encrypt.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use bcrypt::{hash, verify, DEFAULT_COST}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web::Json` [INFO] [stdout] --> src/utils/response_templates.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web::Json, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueryResult`, `result::Error` [INFO] [stdout] --> src/models/user.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::diesel::{expression_methods::*, query_dsl::*, result::Error, Insertable, Queryable,QueryResult,OptionalExtension}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http` [INFO] [stdout] --> src/middlewares/authenticate.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{http, HttpResponse}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/middlewares/authenticate.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{Future, Poll}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unauthorized_request` is never used [INFO] [stdout] --> src/utils/response_templates.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn unauthorized_request() -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `ActixRoot` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `actix_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "32979e5c498c69e1145fa8615946ee86b5967d75f5f999dd7c32ab9021b43a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32979e5c498c69e1145fa8615946ee86b5967d75f5f999dd7c32ab9021b43a90", kill_on_drop: false }` [INFO] [stdout] 32979e5c498c69e1145fa8615946ee86b5967d75f5f999dd7c32ab9021b43a90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08f3fb3144879817b5ae799b107aa4c5948bbf0020912ef7c7b05a830e4a7c77 [INFO] running `Command { std: "docker" "start" "-a" "08f3fb3144879817b5ae799b107aa4c5948bbf0020912ef7c7b05a830e4a7c77", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ActixRoot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/controllers/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::middlewares` [INFO] [stdout] --> src/routes/auth.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::super::middlewares; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/routes/auth.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DEFAULT_COST` [INFO] [stdout] --> src/utils/encrypt.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use bcrypt::{hash, verify, DEFAULT_COST}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web::Json` [INFO] [stdout] --> src/utils/response_templates.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web::Json, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueryResult`, `result::Error` [INFO] [stdout] --> src/models/user.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::diesel::{expression_methods::*, query_dsl::*, result::Error, Insertable, Queryable,QueryResult,OptionalExtension}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http` [INFO] [stdout] --> src/middlewares/authenticate.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{http, HttpResponse}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/middlewares/authenticate.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{Future, Poll}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unauthorized_request` is never used [INFO] [stdout] --> src/utils/response_templates.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn unauthorized_request() -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `ActixRoot` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `actix_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "08f3fb3144879817b5ae799b107aa4c5948bbf0020912ef7c7b05a830e4a7c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08f3fb3144879817b5ae799b107aa4c5948bbf0020912ef7c7b05a830e4a7c77", kill_on_drop: false }` [INFO] [stdout] 08f3fb3144879817b5ae799b107aa4c5948bbf0020912ef7c7b05a830e4a7c77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5f63a6c9e5810f1af20df7a258b4f01a88b89cc3ff89fc46b918a200e61abb19 [INFO] running `Command { std: "docker" "start" "-a" "5f63a6c9e5810f1af20df7a258b4f01a88b89cc3ff89fc46b918a200e61abb19", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `uuid::Uuid` [INFO] [stderr] --> src/controllers/auth.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::super::middlewares` [INFO] [stderr] --> src/routes/auth.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use super::super::middlewares; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HttpResponse` [INFO] [stderr] --> src/routes/auth.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{web, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DEFAULT_COST` [INFO] [stderr] --> src/utils/encrypt.rs:2:28 [INFO] [stderr] | [INFO] [stderr] 2 | use bcrypt::{hash, verify, DEFAULT_COST}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `web::Json` [INFO] [stderr] --> src/utils/response_templates.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{web::Json, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `QueryResult`, `result::Error` [INFO] [stderr] --> src/models/user.rs:4:58 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::diesel::{expression_methods::*, query_dsl::*, result::Error, Insertable, Queryable,QueryResult,OptionalExtension}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `http` [INFO] [stderr] --> src/middlewares/authenticate.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_web::{http, HttpResponse}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Future` [INFO] [stderr] --> src/middlewares/authenticate.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::{Future, Poll}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `unauthorized_request` is never used [INFO] [stderr] --> src/utils/response_templates.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn unauthorized_request() -> HttpResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: crate `ActixRoot` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `actix_root` [INFO] [stderr] [INFO] [stderr] warning: `ActixRoot` (bin "ActixRoot" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ActixRoot-a0ba1fc4c28471a2) [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" "5f63a6c9e5810f1af20df7a258b4f01a88b89cc3ff89fc46b918a200e61abb19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f63a6c9e5810f1af20df7a258b4f01a88b89cc3ff89fc46b918a200e61abb19", kill_on_drop: false }` [INFO] [stdout] 5f63a6c9e5810f1af20df7a258b4f01a88b89cc3ff89fc46b918a200e61abb19