[INFO] cloning repository https://github.com/tonylee3737/rust_actix
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonylee3737/rust_actix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonylee3737%2Frust_actix", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonylee3737%2Frust_actix'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 46f5e8547e440a396437adb5b226138a0179d4bc
[INFO] testing tonylee3737/rust_actix against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonylee3737%2Frust_actix" "/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/tonylee3737/rust_actix on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tonylee3737/rust_actix
[INFO] finished tweaking git repo https://github.com/tonylee3737/rust_actix
[INFO] tweaked toml for git repo https://github.com/tonylee3737/rust_actix written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/tonylee3737/rust_actix already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bindgen v0.48.1
[INFO] [stderr]   Downloaded argonautica v0.2.0
[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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aa5c98d406f00c04d211b05e16146bf76df59bc254c39f250d58beea03aa3483
[INFO] running `Command { std: "docker" "start" "-a" "aa5c98d406f00c04d211b05e16146bf76df59bc254c39f250d58beea03aa3483", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa5c98d406f00c04d211b05e16146bf76df59bc254c39f250d58beea03aa3483", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa5c98d406f00c04d211b05e16146bf76df59bc254c39f250d58beea03aa3483", kill_on_drop: false }`
[INFO] [stdout] aa5c98d406f00c04d211b05e16146bf76df59bc254c39f250d58beea03aa3483
[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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e5babdde33274599ab893fa5f7a1d66c8163936aeeb1998c199e0aed1e2b66f9
[INFO] running `Command { std: "docker" "start" "-a" "e5babdde33274599ab893fa5f7a1d66c8163936aeeb1998c199e0aed1e2b66f9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling pin-project-internal v0.4.28
[INFO] [stderr]    Compiling subtle v2.4.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling cpuid-bool v0.2.0
[INFO] [stderr]    Compiling const_fn v0.4.8
[INFO] [stderr]    Compiling gimli v0.24.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling cpufeatures v0.1.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.19
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling object v0.24.0
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]    Compiling bindgen v0.48.1
[INFO] [stderr]    Compiling ucd-trie v0.1.3
[INFO] [stderr]    Compiling unic-char-range v0.9.0
[INFO] [stderr]    Compiling unic-common v0.9.0
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling deunicode v0.4.3
[INFO] [stderr]    Compiling humansize v1.1.1
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling time v0.2.26
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.4
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling bytestring v1.0.0
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling clang-sys v0.26.4
[INFO] [stderr]    Compiling hashbrown v0.1.8
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling mysqlclient-sys v0.2.4
[INFO] [stderr]    Compiling unic-char-property v0.9.0
[INFO] [stderr]    Compiling unic-ucd-version v0.9.0
[INFO] [stderr]    Compiling lock_api v0.4.4
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling pest v2.1.3
[INFO] [stderr]    Compiling slug v0.1.4
[INFO] [stderr]    Compiling cipher v0.2.5
[INFO] [stderr]    Compiling universal-hash v0.4.0
[INFO] [stderr]    Compiling crypto-mac v0.10.0
[INFO] [stderr]    Compiling aead v0.3.2
[INFO] [stderr]    Compiling sha2 v0.9.5
[INFO] [stderr]    Compiling sha-1 v0.9.6
[INFO] [stderr]    Compiling unic-ucd-segment v0.9.0
[INFO] [stderr]    Compiling polyval v0.4.5
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling aes-soft v0.6.4
[INFO] [stderr]    Compiling ctr v0.6.0
[INFO] [stderr]    Compiling ghash v0.3.1
[INFO] [stderr]    Compiling hkdf v0.10.0
[INFO] [stderr]    Compiling aes v0.6.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling aes-gcm v0.8.0
[INFO] [stderr]    Compiling unic-segment v0.9.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling bstr v0.2.16
[INFO] [stderr]    Compiling unicode-normalization v0.1.17
[INFO] [stderr]    Compiling pest_meta v2.1.3
[INFO] [stderr]    Compiling jobserver v0.1.22
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling flate2 v1.0.20
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling cexpr v0.3.6
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.5
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling r2d2 v0.8.9
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling backtrace v0.3.59
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling addr2line v0.15.1
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.0
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling globset v0.4.6
[INFO] [stderr]    Compiling env_logger v0.8.3
[INFO] [stderr]    Compiling ignore v0.4.17
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling globwalk v0.8.1
[INFO] [stderr]    Compiling chrono-tz v0.5.3
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling futures-macro v0.3.15
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling derive_more v0.99.14
[INFO] [stderr]    Compiling actix-macros v0.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.25
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling which v2.0.1
[INFO] [stderr]    Compiling pin-project v1.0.7
[INFO] [stderr]    Compiling thiserror v1.0.25
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling pin-project v0.4.28
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling futures v0.3.15
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling trust-dns-proto v0.19.7
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling actix-server v1.0.4
[INFO] [stderr]    Compiling actix-tls v2.0.0
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.7
[INFO] [stderr]    Compiling actix-connect v2.0.0
[INFO] [stderr]    Compiling argonautica v0.2.0
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling actix-router v0.2.7
[INFO] [stderr]    Compiling diesel v1.4.6
[INFO] [stderr]    Compiling actix-http v2.2.0
[INFO] [stderr]    Compiling awc v2.0.3
[INFO] [stderr]    Compiling actix-web v3.3.2
[INFO] [stderr]    Compiling tera v1.10.0
[INFO] [stderr]    Compiling actix-identity v0.3.1
[INFO] [stderr]    Compiling hacker-clone v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `comments`, `users`
[INFO] [stdout]   --> src/main.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::schema::{users, posts, comments};
[INFO] [stdout]    |                     ^^^^^         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `users` is imported redundantly
[INFO] [stdout]    --> src/main.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 13  | use crate::schema::{users, posts, comments};
[INFO] [stdout]     |                     ----- the item `users` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 104 |     use schema::users;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `comments` is imported redundantly
[INFO] [stdout]    --> src/main.rs:273:21
[INFO] [stdout]     |
[INFO] [stdout] 13  | use crate::schema::{users, posts, comments};
[INFO] [stdout]     |                                   -------- the item `comments` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 273 |                 use schema::comments;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |     if let Some(id) = id.identity() {
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |     if let Some(id) = id.identity() {
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]    --> src/main.rs:262:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |         let user: User = users.find(post.author)
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `ArgonauticError`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     ArgonauticError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `DieselError`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     DieselError,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `R2D2Error`
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     R2D2Error,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `UserError`
[INFO] [stdout]   --> src/main.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     UserError(String)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `establish_connection`
[INFO] [stdout]   --> src/main.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn establish_connection() -> MysqlConnection {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 02s
[INFO] running `Command { std: "docker" "inspect" "e5babdde33274599ab893fa5f7a1d66c8163936aeeb1998c199e0aed1e2b66f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5babdde33274599ab893fa5f7a1d66c8163936aeeb1998c199e0aed1e2b66f9", kill_on_drop: false }`
[INFO] [stdout] e5babdde33274599ab893fa5f7a1d66c8163936aeeb1998c199e0aed1e2b66f9
[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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b5b86813c2c1a7760f5f7110ea0271510b4c316b7d851d9f7526c042e756866f
[INFO] running `Command { std: "docker" "start" "-a" "b5b86813c2c1a7760f5f7110ea0271510b4c316b7d851d9f7526c042e756866f", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling hacker-clone v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `comments`, `users`
[INFO] [stdout]   --> src/main.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::schema::{users, posts, comments};
[INFO] [stdout]    |                     ^^^^^         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `users` is imported redundantly
[INFO] [stdout]    --> src/main.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 13  | use crate::schema::{users, posts, comments};
[INFO] [stdout]     |                     ----- the item `users` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 104 |     use schema::users;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `comments` is imported redundantly
[INFO] [stdout]    --> src/main.rs:273:21
[INFO] [stdout]     |
[INFO] [stdout] 13  | use crate::schema::{users, posts, comments};
[INFO] [stdout]     |                                   -------- the item `comments` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 273 |                 use schema::comments;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |     if let Some(id) = id.identity() {
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |     if let Some(id) = id.identity() {
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]    --> src/main.rs:262:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |         let user: User = users.find(post.author)
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `ArgonauticError`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     ArgonauticError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `DieselError`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     DieselError,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `R2D2Error`
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     R2D2Error,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `UserError`
[INFO] [stdout]   --> src/main.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     UserError(String)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `establish_connection`
[INFO] [stdout]   --> src/main.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn establish_connection() -> MysqlConnection {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.12s
[INFO] running `Command { std: "docker" "inspect" "b5b86813c2c1a7760f5f7110ea0271510b4c316b7d851d9f7526c042e756866f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5b86813c2c1a7760f5f7110ea0271510b4c316b7d851d9f7526c042e756866f", kill_on_drop: false }`
[INFO] [stdout] b5b86813c2c1a7760f5f7110ea0271510b4c316b7d851d9f7526c042e756866f
[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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4566ac082365cf362419fd8311d8c30a677c0fc6a9d1eff760b56b8db09f1508
[INFO] running `Command { std: "docker" "start" "-a" "4566ac082365cf362419fd8311d8c30a677c0fc6a9d1eff760b56b8db09f1508", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stdout] 
[INFO] [stderr] warning: unused import: `Serialize`
[INFO] [stdout] running 0 tests
[INFO] [stderr]  --> src/main.rs:9:13
[INFO] [stdout] 
[INFO] [stderr]   |
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr] 9 | use serde::{Serialize, Deserialize};
[INFO] [stdout] 
[INFO] [stderr]   |             ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `comments`, `users`
[INFO] [stderr]   --> src/main.rs:13:21
[INFO] [stderr]    |
[INFO] [stderr] 13 | use crate::schema::{users, posts, comments};
[INFO] [stderr]    |                     ^^^^^         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: the item `users` is imported redundantly
[INFO] [stderr]    --> src/main.rs:104:9
[INFO] [stderr]     |
[INFO] [stderr] 13  | use crate::schema::{users, posts, comments};
[INFO] [stderr]     |                     ----- the item `users` is already imported here
[INFO] [stderr] ...
[INFO] [stderr] 104 |     use schema::users;
[INFO] [stderr]     |         ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: the item `comments` is imported redundantly
[INFO] [stderr]    --> src/main.rs:273:21
[INFO] [stderr]     |
[INFO] [stderr] 13  | use crate::schema::{users, posts, comments};
[INFO] [stderr]     |                                   -------- the item `comments` is already imported here
[INFO] [stderr] ...
[INFO] [stderr] 273 |                 use schema::comments;
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `id`
[INFO] [stderr]    --> src/main.rs:126:17
[INFO] [stderr]     |
[INFO] [stderr] 126 |     if let Some(id) = id.identity() {
[INFO] [stderr]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `id`
[INFO] [stderr]    --> src/main.rs:178:17
[INFO] [stderr]     |
[INFO] [stderr] 178 |     if let Some(id) = id.identity() {
[INFO] [stderr]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `user`
[INFO] [stderr]    --> src/main.rs:262:13
[INFO] [stderr]     |
[INFO] [stderr] 262 |         let user: User = users.find(post.author)
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `ArgonauticError`
[INFO] [stderr]   --> src/main.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 |     ArgonauticError,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `DieselError`
[INFO] [stderr]   --> src/main.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 |     DieselError,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `R2D2Error`
[INFO] [stderr]   --> src/main.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 |     R2D2Error,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `UserError`
[INFO] [stderr]   --> src/main.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 |     UserError(String)
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `establish_connection`
[INFO] [stderr]   --> src/main.rs:59:4
[INFO] [stderr]    |
[INFO] [stderr] 59 | fn establish_connection() -> MysqlConnection {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `hacker-clone` (bin "hacker-clone" test) generated 12 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/hacker_clone-040317f70ec1e182)
[INFO] running `Command { std: "docker" "inspect" "4566ac082365cf362419fd8311d8c30a677c0fc6a9d1eff760b56b8db09f1508", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4566ac082365cf362419fd8311d8c30a677c0fc6a9d1eff760b56b8db09f1508", kill_on_drop: false }`
[INFO] [stdout] 4566ac082365cf362419fd8311d8c30a677c0fc6a9d1eff760b56b8db09f1508
