[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrittosaji19%2Factix_root" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brittosaji19/actix_root on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-4/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-web v1.0.5 [INFO] [stderr] Downloaded actix-connect v0.2.3 [INFO] [stderr] Downloaded miniz_oxide v0.3.1 [INFO] [stderr] Downloaded actix-rt v0.2.4 [INFO] [stderr] Downloaded awc v0.2.3 [INFO] [stderr] Downloaded ipnetwork v0.13.1 [INFO] [stderr] Downloaded actix-http v0.2.8 [INFO] [stderr] Downloaded bigdecimal v0.0.14 [INFO] [stderr] Downloaded spin v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 37326151bedfb77ea9d056d36518d9aa195ddb8798614e686954a9af8c1d4770 [INFO] running `Command { std: "docker" "start" "-a" "37326151bedfb77ea9d056d36518d9aa195ddb8798614e686954a9af8c1d4770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37326151bedfb77ea9d056d36518d9aa195ddb8798614e686954a9af8c1d4770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37326151bedfb77ea9d056d36518d9aa195ddb8798614e686954a9af8c1d4770", kill_on_drop: false }` [INFO] [stdout] 37326151bedfb77ea9d056d36518d9aa195ddb8798614e686954a9af8c1d4770 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 03511b860b22ba1e87a13bbdbd81a3dc9bc5e331e90b23a3accb495a5a4301ca [INFO] running `Command { std: "docker" "start" "-a" "03511b860b22ba1e87a13bbdbd81a3dc9bc5e331e90b23a3accb495a5a4301ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling spin v0.5.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling actix-service v0.4.1 [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 encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling tokio-executor v0.1.8 [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 parking_lot_core v0.6.2 [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 tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling chrono v0.4.7 [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 bigdecimal v0.0.14 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.9 [INFO] [stderr] Compiling bcrypt v0.4.0 [INFO] [stderr] Compiling actix-utils v0.4.5 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling r2d2 v0.8.5 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling dotenv v0.9.0 [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 h2 v0.1.26 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling derive_more v0.15.0 [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 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 uuid v0.6.5 [INFO] [stderr] Compiling ipnetwork v0.13.1 [INFO] [stderr] Compiling actix-router v0.1.5 [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 is never used: `unauthorized_request` [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 3m 01s [INFO] running `Command { std: "docker" "inspect" "03511b860b22ba1e87a13bbdbd81a3dc9bc5e331e90b23a3accb495a5a4301ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03511b860b22ba1e87a13bbdbd81a3dc9bc5e331e90b23a3accb495a5a4301ca", kill_on_drop: false }` [INFO] [stdout] 03511b860b22ba1e87a13bbdbd81a3dc9bc5e331e90b23a3accb495a5a4301ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da7e8176b734fec0ec4cd7939bcd808aae3629c6e2330766289975ae18aa41eb [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" "da7e8176b734fec0ec4cd7939bcd808aae3629c6e2330766289975ae18aa41eb", kill_on_drop: false }` [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 is never used: `unauthorized_request` [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.31s [INFO] running `Command { std: "docker" "inspect" "da7e8176b734fec0ec4cd7939bcd808aae3629c6e2330766289975ae18aa41eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da7e8176b734fec0ec4cd7939bcd808aae3629c6e2330766289975ae18aa41eb", kill_on_drop: false }` [INFO] [stdout] da7e8176b734fec0ec4cd7939bcd808aae3629c6e2330766289975ae18aa41eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fd27af669505920bd4f8ca8fa1254be8dd2d3a7e79f042fe15d30006619b63e7 [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" "fd27af669505920bd4f8ca8fa1254be8dd2d3a7e79f042fe15d30006619b63e7", 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 is never used: `unauthorized_request` [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.26s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ActixRoot-10fcdd4cf2b07b38) [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" "fd27af669505920bd4f8ca8fa1254be8dd2d3a7e79f042fe15d30006619b63e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd27af669505920bd4f8ca8fa1254be8dd2d3a7e79f042fe15d30006619b63e7", kill_on_drop: false }` [INFO] [stdout] fd27af669505920bd4f8ca8fa1254be8dd2d3a7e79f042fe15d30006619b63e7