[INFO] cloning repository https://github.com/Jucian0/rust-real-world
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jucian0/rust-real-world" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJucian0%2Frust-real-world", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJucian0%2Frust-real-world'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 92268d293481b13f926842b634ba1a8e22c40a37
[INFO] testing Jucian0/rust-real-world against 1.46.0 for beta-1.47-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJucian0%2Frust-real-world" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Jucian0/rust-real-world on toolchain 1.46.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Jucian0/rust-real-world
[INFO] finished tweaking git repo https://github.com/Jucian0/rust-real-world
[INFO] tweaked toml for git repo https://github.com/Jucian0/rust-real-world written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/Jucian0/rust-real-world already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3564956d34a91d5338b031b4e08bfe5b2e8b04ffe2cc988f6d293388ca219743
[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" "3564956d34a91d5338b031b4e08bfe5b2e8b04ffe2cc988f6d293388ca219743", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3564956d34a91d5338b031b4e08bfe5b2e8b04ffe2cc988f6d293388ca219743", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3564956d34a91d5338b031b4e08bfe5b2e8b04ffe2cc988f6d293388ca219743", kill_on_drop: false }`
[INFO] [stdout] 3564956d34a91d5338b031b4e08bfe5b2e8b04ffe2cc988f6d293388ca219743
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be1a8831b40a5365ece652eae9da6281ce04b4734782f3a30ae98f510e36cc4e
[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" "be1a8831b40a5365ece652eae9da6281ce04b4734782f3a30ae98f510e36cc4e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling smallvec v1.3.0
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling openssl v0.10.29
[INFO] [stderr]    Compiling instant v0.1.2
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling if_chain v1.0.0
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling try_from v0.3.2
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling actix-service v0.4.2
[INFO] [stderr]    Compiling hashbrown v0.6.3
[INFO] [stderr]    Compiling error-chain v0.12.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.12
[INFO] [stderr]    Compiling want v0.2.0
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling crossbeam-channel v0.4.2
[INFO] [stderr]    Compiling hyper v0.12.35
[INFO] [stderr]    Compiling block-cipher-trait v0.6.2
[INFO] [stderr]    Compiling pem v0.7.0
[INFO] [stderr]    Compiling blake2b_simd v0.5.10
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling blowfish v0.4.0
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling num_cpus v1.12.0
[INFO] [stderr]    Compiling parking_lot_core v0.7.1
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling socket2 v0.3.12
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling flate2 v1.0.14
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling listenfd v0.3.3
[INFO] [stderr]    Compiling rust-argon2 v0.5.1
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling backtrace-sys v0.1.35
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling ring v0.16.12
[INFO] [stderr]    Compiling openssl-sys v0.9.55
[INFO] [stderr]    Compiling threadpool v1.7.1
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling const-random-macro v0.1.8
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.4
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling http v0.1.21
[INFO] [stderr]    Compiling string v0.2.1
[INFO] [stderr]    Compiling tokio-buf v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling cookie v0.12.0
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling r2d2 v0.8.8
[INFO] [stderr]    Compiling const-random v0.1.8
[INFO] [stderr]    Compiling publicsuffix v1.5.4
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling ahash v0.2.18
[INFO] [stderr]    Compiling backtrace v0.3.46
[INFO] [stderr]    Compiling tokio v0.2.18
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling backoff v0.1.6
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling bcrypt v0.4.0
[INFO] [stderr]    Compiling actix-codec v0.1.2
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling actix-utils v0.4.7
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling actix-server-config v0.1.2
[INFO] [stderr]    Compiling enum-as-inner v0.2.1
[INFO] [stderr]    Compiling derive_more v0.15.0
[INFO] [stderr]    Compiling h2 v0.1.26
[INFO] [stderr]    Compiling http-body v0.1.0
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling actix-threadpool v0.1.2
[INFO] [stderr]    Compiling actix-rt v0.2.6
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling failure_derive v0.1.7
[INFO] [stderr]    Compiling derive_more v0.99.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]    Compiling actix-macros v0.1.1
[INFO] [stderr]    Compiling enum-as-inner v0.3.2
[INFO] [stderr]    Compiling async-trait v0.1.30
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling actix-web-codegen v0.2.1
[INFO] [stderr]    Compiling actix_derive v0.5.0
[INFO] [stderr]    Compiling hyper-tls v0.3.2
[INFO] [stderr]    Compiling failure v0.1.7
[INFO] [stderr]    Compiling trust-dns-proto v0.7.4
[INFO] [stderr]    Compiling dotenv v0.14.1
[INFO] [stderr]    Compiling futures-util v0.3.4
[INFO] [stderr]    Compiling pin-project v0.4.8
[INFO] [stderr]    Compiling trust-dns-resolver v0.11.1
[INFO] [stderr]    Compiling actix-threadpool v0.3.1
[INFO] [stderr]    Compiling futures-executor v0.3.4
[INFO] [stderr]    Compiling actix-service v1.0.5
[INFO] [stderr]    Compiling h2 v0.2.4
[INFO] [stderr]    Compiling redis-async v0.6.2
[INFO] [stderr]    Compiling actix-rt v1.1.0
[INFO] [stderr]    Compiling futures v0.3.4
[INFO] [stderr]    Compiling actix-connect v0.2.5
[INFO] [stderr]    Compiling trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-utils v1.0.6
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling actix-server v1.0.2
[INFO] [stderr]    Compiling actix-tls v1.0.0
[INFO] [stderr]    Compiling actix-testing v1.0.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-connect v1.0.2
[INFO] [stderr]    Compiling chrono v0.4.11
[INFO] [stderr]    Compiling serde_json v1.0.51
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling actix-router v0.2.4
[INFO] [stderr]    Compiling uuid v0.6.5
[INFO] [stderr]    Compiling serde_urlencoded v0.5.5
[INFO] [stderr]    Compiling validator v0.10.0
[INFO] [stderr]    Compiling cookie_store v0.7.0
[INFO] [stderr]    Compiling validator_derive v0.10.0
[INFO] [stderr]    Compiling actix-http v1.0.1
[INFO] [stderr]    Compiling diesel v1.4.4
[INFO] [stderr]    Compiling simple_asn1 v0.4.0
[INFO] [stderr]    Compiling actix-http v0.2.11
[INFO] [stderr]    Compiling reqwest v0.9.24
[INFO] [stderr]    Compiling jsonwebtoken v7.1.0
[INFO] [stderr]    Compiling awc v1.0.1
[INFO] [stderr]    Compiling actix v0.9.0
[INFO] [stderr]    Compiling actix-web v2.0.0
[INFO] [stderr]    Compiling actix-session v0.3.0
[INFO] [stderr]    Compiling actix-identity v0.2.1
[INFO] [stderr]    Compiling actix-redis v0.8.1
[INFO] [stderr]    Compiling migrations_internals v1.4.1
[INFO] [stderr]    Compiling migrations_macros v1.4.2
[INFO] [stderr]    Compiling diesel_migrations v1.4.0
[INFO] [stderr]    Compiling rust-web-api-01 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/email/api.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new<T: Into<String>>(email: T, name: T) -> Self {
[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]   --> src/email/api.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn new(sender: Contact) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_recipient`
[INFO] [stdout]   --> src/email/api.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn add_recipient<T: Into<Contact>>(mut self, recipient: T) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_subject`
[INFO] [stdout]   --> src/email/api.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn set_subject<T: Into<String>>(mut self, subject: T) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_html`
[INFO] [stdout]   --> src/email/api.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn set_html<T: Into<String>>(mut self, html: T) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `send`
[INFO] [stdout]   --> src/email/api.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn send(self) -> Result<String, ApiError> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `decode_token`
[INFO] [stdout]   --> src/utils/jwt.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn decode_token(token: &str) -> Result<SlimUser, HttpResponse> {
[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 5m 10s
[INFO] running `Command { std: "docker" "inspect" "be1a8831b40a5365ece652eae9da6281ce04b4734782f3a30ae98f510e36cc4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be1a8831b40a5365ece652eae9da6281ce04b4734782f3a30ae98f510e36cc4e", kill_on_drop: false }`
[INFO] [stdout] be1a8831b40a5365ece652eae9da6281ce04b4734782f3a30ae98f510e36cc4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 393222f9207fc58aef50ba5a55897efc39b50717b2eae36dee4bf088810a7c2c
[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" "393222f9207fc58aef50ba5a55897efc39b50717b2eae36dee4bf088810a7c2c", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-web-api-01 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/email/api.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new<T: Into<String>>(email: T, name: T) -> Self {
[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]   --> src/email/api.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn new(sender: Contact) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_recipient`
[INFO] [stdout]   --> src/email/api.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn add_recipient<T: Into<Contact>>(mut self, recipient: T) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_subject`
[INFO] [stdout]   --> src/email/api.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn set_subject<T: Into<String>>(mut self, subject: T) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_html`
[INFO] [stdout]   --> src/email/api.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn set_html<T: Into<String>>(mut self, html: T) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `send`
[INFO] [stdout]   --> src/email/api.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn send(self) -> Result<String, ApiError> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `decode_token`
[INFO] [stdout]   --> src/utils/jwt.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn decode_token(token: &str) -> Result<SlimUser, HttpResponse> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 5.53s
[INFO] running `Command { std: "docker" "inspect" "393222f9207fc58aef50ba5a55897efc39b50717b2eae36dee4bf088810a7c2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "393222f9207fc58aef50ba5a55897efc39b50717b2eae36dee4bf088810a7c2c", kill_on_drop: false }`
[INFO] [stdout] 393222f9207fc58aef50ba5a55897efc39b50717b2eae36dee4bf088810a7c2c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 311e526ce9c63a8ed39adc5080917618e62489b1ea64419243dfb7f73a67512a
[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" "311e526ce9c63a8ed39adc5080917618e62489b1ea64419243dfb7f73a67512a", kill_on_drop: false }`
[INFO] [stderr] warning: associated function is never used: `new`
[INFO] [stderr]   --> src/email/api.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 |     pub fn new<T: Into<String>>(email: T, name: T) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `new`
[INFO] [stderr]   --> src/email/api.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 44 |     pub fn new(sender: Contact) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `add_recipient`
[INFO] [stderr]   --> src/email/api.rs:53:12
[INFO] [stderr]    |
[INFO] [stderr] 53 |     pub fn add_recipient<T: Into<Contact>>(mut self, recipient: T) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `set_subject`
[INFO] [stderr]   --> src/email/api.rs:58:12
[INFO] [stderr]    |
[INFO] [stderr] 58 |     pub fn set_subject<T: Into<String>>(mut self, subject: T) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `set_html`
[INFO] [stderr]   --> src/email/api.rs:63:12
[INFO] [stderr]    |
[INFO] [stderr] 63 |     pub fn set_html<T: Into<String>>(mut self, html: T) -> Self {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `send`
[INFO] [stderr]   --> src/email/api.rs:68:12
[INFO] [stderr]    |
[INFO] [stderr] 68 |     pub fn send(self) -> Result<String, ApiError> {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `decode_token`
[INFO] [stderr]   --> src/utils/jwt.rs:48:8
[INFO] [stderr]    |
[INFO] [stderr] 48 | pub fn decode_token(token: &str) -> Result<SlimUser, HttpResponse> {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: 7 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.33s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/rust_web_api_01-1285ddc429e024ee
[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
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "311e526ce9c63a8ed39adc5080917618e62489b1ea64419243dfb7f73a67512a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "311e526ce9c63a8ed39adc5080917618e62489b1ea64419243dfb7f73a67512a", kill_on_drop: false }`
[INFO] [stdout] 311e526ce9c63a8ed39adc5080917618e62489b1ea64419243dfb7f73a67512a
