[INFO] cloning repository https://github.com/hanar3/rust-athena
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hanar3/rust-athena" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanar3%2Frust-athena", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanar3%2Frust-athena'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a768c1d5cf84c2ecc0e09ff8f1c3cbaa2f23d1c7
[INFO] testing hanar3/rust-athena against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanar3%2Frust-athena" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hanar3/rust-athena
[INFO] finished tweaking git repo https://github.com/hanar3/rust-athena
[INFO] tweaked toml for git repo https://github.com/hanar3/rust-athena written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hanar3/rust-athena on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hanar3/rust-athena already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.2.13
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.5
[INFO] [stderr]   Downloaded r2d2 v0.8.9
[INFO] [stderr]   Downloaded smallvec v1.8.0
[INFO] [stderr]   Downloaded mysqlclient-sys v0.2.5
[INFO] [stderr]   Downloaded quote v1.0.17
[INFO] [stderr]   Downloaded getrandom v0.2.6
[INFO] [stderr]   Downloaded diesel_derives v1.4.1
[INFO] [stderr]   Downloaded time v0.1.43
[INFO] [stderr]   Downloaded proc-macro2 v1.0.37
[INFO] [stderr]   Downloaded log v0.4.16
[INFO] [stderr]   Downloaded diesel v1.4.8
[INFO] [stderr]   Downloaded syn v1.0.91
[INFO] [stderr]   Downloaded libc v0.2.122
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a01b0cceee24afeea0bbf7498989bfaea0ad78ed2d73a14b3233b7ac6b6a4e41
[INFO] running `Command { std: "docker" "start" "-a" "a01b0cceee24afeea0bbf7498989bfaea0ad78ed2d73a14b3233b7ac6b6a4e41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a01b0cceee24afeea0bbf7498989bfaea0ad78ed2d73a14b3233b7ac6b6a4e41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a01b0cceee24afeea0bbf7498989bfaea0ad78ed2d73a14b3233b7ac6b6a4e41", kill_on_drop: false }`
[INFO] [stdout] a01b0cceee24afeea0bbf7498989bfaea0ad78ed2d73a14b3233b7ac6b6a4e41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2f838bf5796a134dec7e0b73047d2c2abbf3ab189193178903f008fd9b5dd985
[INFO] running `Command { std: "docker" "start" "-a" "2f838bf5796a134dec7e0b73047d2c2abbf3ab189193178903f008fd9b5dd985", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.122
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling mysqlclient-sys v0.2.5
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling r2d2 v0.8.9
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling diesel v1.4.8
[INFO] [stderr]    Compiling rust-athena-db v0.1.0 (/opt/rustwide/workdir/db)
[INFO] [stdout] warning: unused import: `diesel::prelude::*`
[INFO] [stdout]  --> db/src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> db/src/lib.rs:10:39
[INFO] [stdout]    |
[INFO] [stdout] 10 | use diesel::r2d2::{ConnectionManager, Error};
[INFO] [stdout]    |                                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]   --> db/src/lib.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 |   let conn = connection().expect("Failed to get db connection");
[INFO] [stdout]    |       ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> db/src/models.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Queryable)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_user`
[INFO] [stdout] 2 | pub struct User {
[INFO] [stdout]   |            ---- `User` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout]    | |         -------- `username` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_username`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout]  5 | |         password_hash -> Varchar,
[INFO] [stdout]    | |         ------------- `password_hash` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_password_hash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout]  5 | |         password_hash -> Varchar,
[INFO] [stdout]  6 | |         email -> Varchar,
[INFO] [stdout]    | |         ----- `email` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout]  7 | |         created_at -> Nullable<Timestamp>,
[INFO] [stdout]    | |         ---------- `created_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_created_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout]  8 | |         updated_at -> Nullable<Datetime>,
[INFO] [stdout]    | |         ---------- `updated_at` is not local
[INFO] [stdout]  9 | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_updated_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust-athena v0.1.0 (/opt/rustwide/workdir/core)
[INFO] [stdout] warning: unused import: `BigEndian`
[INFO] [stdout]  --> core/src/common/packets.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_athena_db::models::User`
[INFO] [stdout]  --> core/src/login_server/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rust_athena_db::models::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_athena_db::schema::users::dsl::*`
[INFO] [stdout]   --> core/src/login_server/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rust_athena_db::schema::users::dsl::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/common/packets.rs:109:27
[INFO] [stdout]     |
[INFO] [stdout] 109 |   pub fn read_byte(&self, mut pos: usize) -> u8 {
[INFO] [stdout]     |                           ----^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> core/src/login_server/mod.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 |           let mut login_result = [0 as u8; 3];
[INFO] [stdout]    |               ----^^^^^^^^^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `login_result`
[INFO] [stdout]   --> core/src/login_server/mod.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 |           let mut login_result = [0 as u8; 3];
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_login_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query`
[INFO] [stdout]    --> core/src/login_server/mod.rs:137:7
[INFO] [stdout]     |
[INFO] [stdout] 137 |   let query = diesel::insert_or_ignore_into(users::table).values(&user_form).execute(&conn).unwrap();
[INFO] [stdout]     |       ^^^^^ help: if this is intentional, prefix it with an underscore: `_query`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db_connection`
[INFO] [stdout]   --> core/src/main.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 |   let db_connection = rust_athena_db::init();
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> core/src/login_server/mod.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Serialize, Deserialize, Insertable)]
[INFO] [stdout]    |                                  ^---------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `Insertable` is not local
[INFO] [stdout]    |                                  `table` is not local
[INFO] [stdout]    |                                  move the `impl` block outside of this function `_impl_insertable_for_userform`
[INFO] [stdout] 20 | #[table_name = "users"]
[INFO] [stdout] 21 | pub struct UserForm{
[INFO] [stdout]    |            -------- `UserForm` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> core/src/login_server/mod.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Serialize, Deserialize, Insertable)]
[INFO] [stdout]    |                                  -^^^^^^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `Insertable` is not local
[INFO] [stdout]    |                                  `table` is not local
[INFO] [stdout]    |                                  move the `impl` block outside of this function `_impl_insertable_for_userform`
[INFO] [stdout] 20 | #[table_name = "users"]
[INFO] [stdout] 21 | pub struct UserForm{
[INFO] [stdout]    |            -------- `UserForm` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> core/src/login_server/mod.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Serialize, Deserialize, Insertable)]
[INFO] [stdout]    |                                  ^---------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                                  `table` is not local
[INFO] [stdout]    |                                  move the `impl` block outside of this function `_impl_insertable_for_userform`
[INFO] [stdout] 20 | #[table_name = "users"]
[INFO] [stdout] 21 | pub struct UserForm{
[INFO] [stdout]    |            -------- `UserForm` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.72s
[INFO] running `Command { std: "docker" "inspect" "2f838bf5796a134dec7e0b73047d2c2abbf3ab189193178903f008fd9b5dd985", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f838bf5796a134dec7e0b73047d2c2abbf3ab189193178903f008fd9b5dd985", kill_on_drop: false }`
[INFO] [stdout] 2f838bf5796a134dec7e0b73047d2c2abbf3ab189193178903f008fd9b5dd985
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 808e9e52d6e5067b13676864517b68535436934bb3f11a84e5764bf10726571b
[INFO] running `Command { std: "docker" "start" "-a" "808e9e52d6e5067b13676864517b68535436934bb3f11a84e5764bf10726571b", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `diesel::prelude::*`
[INFO] [stdout]  --> db/src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> db/src/lib.rs:10:39
[INFO] [stdout]    |
[INFO] [stdout] 10 | use diesel::r2d2::{ConnectionManager, Error};
[INFO] [stdout]    |                                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]   --> db/src/lib.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 |   let conn = connection().expect("Failed to get db connection");
[INFO] [stdout]    |       ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> db/src/models.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Queryable)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_user`
[INFO] [stdout] 2 | pub struct User {
[INFO] [stdout]   |            ---- `User` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout]    | |         -------- `username` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_username`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout]  5 | |         password_hash -> Varchar,
[INFO] [stdout]    | |         ------------- `password_hash` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_password_hash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout]  5 | |         password_hash -> Varchar,
[INFO] [stdout]  6 | |         email -> Varchar,
[INFO] [stdout]    | |         ----- `email` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout]  7 | |         created_at -> Nullable<Timestamp>,
[INFO] [stdout]    | |         ---------- `created_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_created_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust-athena-db v0.1.0 (/opt/rustwide/workdir/db)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout]  8 | |         updated_at -> Nullable<Datetime>,
[INFO] [stdout]    | |         ---------- `updated_at` is not local
[INFO] [stdout]  9 | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_updated_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust-athena v0.1.0 (/opt/rustwide/workdir/core)
[INFO] [stdout] warning: unused import: `BigEndian`
[INFO] [stdout]  --> core/src/common/packets.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_athena_db::models::User`
[INFO] [stdout]  --> core/src/login_server/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rust_athena_db::models::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_athena_db::schema::users::dsl::*`
[INFO] [stdout]   --> core/src/login_server/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rust_athena_db::schema::users::dsl::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude::*`
[INFO] [stdout]  --> db/src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> db/src/lib.rs:10:39
[INFO] [stdout]    |
[INFO] [stdout] 10 | use diesel::r2d2::{ConnectionManager, Error};
[INFO] [stdout]    |                                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> core/src/common/packets.rs:109:27
[INFO] [stdout]     |
[INFO] [stdout] 109 |   pub fn read_byte(&self, mut pos: usize) -> u8 {
[INFO] [stdout]     |                           ----^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]   --> db/src/lib.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 |   let conn = connection().expect("Failed to get db connection");
[INFO] [stdout]    |       ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> db/src/models.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Queryable)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_user`
[INFO] [stdout] 2 | pub struct User {
[INFO] [stdout]   |            ---- `User` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> core/src/login_server/mod.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 |           let mut login_result = [0 as u8; 3];
[INFO] [stdout]    |               ----^^^^^^^^^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `login_result`
[INFO] [stdout]   --> core/src/login_server/mod.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 |           let mut login_result = [0 as u8; 3];
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_login_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query`
[INFO] [stdout]    --> core/src/login_server/mod.rs:137:7
[INFO] [stdout]     |
[INFO] [stdout] 137 |   let query = diesel::insert_or_ignore_into(users::table).values(&user_form).execute(&conn).unwrap();
[INFO] [stdout]     |       ^^^^^ help: if this is intentional, prefix it with an underscore: `_query`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout]    | |         -------- `username` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_username`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db_connection`
[INFO] [stdout]   --> core/src/main.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 |   let db_connection = rust_athena_db::init();
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout]  5 | |         password_hash -> Varchar,
[INFO] [stdout]    | |         ------------- `password_hash` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_password_hash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout]  5 | |         password_hash -> Varchar,
[INFO] [stdout]  6 | |         email -> Varchar,
[INFO] [stdout]    | |         ----- `email` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> core/src/login_server/mod.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Serialize, Deserialize, Insertable)]
[INFO] [stdout]    |                                  ^---------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `Insertable` is not local
[INFO] [stdout]    |                                  `table` is not local
[INFO] [stdout]    |                                  move the `impl` block outside of this function `_impl_insertable_for_userform`
[INFO] [stdout] 20 | #[table_name = "users"]
[INFO] [stdout] 21 | pub struct UserForm{
[INFO] [stdout]    |            -------- `UserForm` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout]  7 | |         created_at -> Nullable<Timestamp>,
[INFO] [stdout]    | |         ---------- `created_at` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_created_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> core/src/login_server/mod.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Serialize, Deserialize, Insertable)]
[INFO] [stdout]    |                                  -^^^^^^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `Insertable` is not local
[INFO] [stdout]    |                                  `table` is not local
[INFO] [stdout]    |                                  move the `impl` block outside of this function `_impl_insertable_for_userform`
[INFO] [stdout] 20 | #[table_name = "users"]
[INFO] [stdout] 21 | pub struct UserForm{
[INFO] [stdout]    |            -------- `UserForm` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> core/src/login_server/mod.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Serialize, Deserialize, Insertable)]
[INFO] [stdout]    |                                  ^---------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                                  `table` is not local
[INFO] [stdout]    |                                  move the `impl` block outside of this function `_impl_insertable_for_userform`
[INFO] [stdout] 20 | #[table_name = "users"]
[INFO] [stdout] 21 | pub struct UserForm{
[INFO] [stdout]    |            -------- `UserForm` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> db/src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / table! {
[INFO] [stdout]  2 | |     users (id) {
[INFO] [stdout]  3 | |         id -> Binary,
[INFO] [stdout]  4 | |         username -> Varchar,
[INFO] [stdout] ...  |
[INFO] [stdout]  8 | |         updated_at -> Nullable<Datetime>,
[INFO] [stdout]    | |         ---------- `updated_at` is not local
[INFO] [stdout]  9 | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_updated_at`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] running `Command { std: "docker" "inspect" "808e9e52d6e5067b13676864517b68535436934bb3f11a84e5764bf10726571b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "808e9e52d6e5067b13676864517b68535436934bb3f11a84e5764bf10726571b", kill_on_drop: false }`
[INFO] [stdout] 808e9e52d6e5067b13676864517b68535436934bb3f11a84e5764bf10726571b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e9e1b437ac74092148ceeba4684d6b27140dfbf140765c7bbaca184299e1e01a
[INFO] running `Command { std: "docker" "start" "-a" "e9e1b437ac74092148ceeba4684d6b27140dfbf140765c7bbaca184299e1e01a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `diesel::prelude::*`
[INFO] [stderr]  --> db/src/lib.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use diesel::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Error`
[INFO] [stderr]   --> db/src/lib.rs:10:39
[INFO] [stderr]    |
[INFO] [stderr] 10 | use diesel::r2d2::{ConnectionManager, Error};
[INFO] [stderr]    |                                       ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `conn`
[INFO] [stderr]   --> db/src/lib.rs:36:7
[INFO] [stderr]    |
[INFO] [stderr] 36 |   let conn = connection().expect("Failed to get db connection");
[INFO] [stderr]    |       ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> db/src/models.rs:1:10
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[derive(Queryable)]
[INFO] [stderr]   |          ^--------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `Queryable` is not local
[INFO] [stderr]   |          move the `impl` block outside of this function `_impl_queryable_for_user`
[INFO] [stderr] 2 | pub struct User {
[INFO] [stderr]   |            ---- `User` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> db/src/schema.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr]  1 | / table! {
[INFO] [stderr]  2 | |     users (id) {
[INFO] [stderr]  3 | |         id -> Binary,
[INFO] [stderr]  4 | |         username -> Varchar,
[INFO] [stderr] ...  |
[INFO] [stderr] 10 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | | `table` is not local
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> db/src/schema.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr]  1 | / table! {
[INFO] [stderr]  2 | |     users (id) {
[INFO] [stderr]  3 | |         id -> Binary,
[INFO] [stderr]    | |         -- `id` is not local
[INFO] [stderr]  4 | |         username -> Varchar,
[INFO] [stderr] ...  |
[INFO] [stderr] 10 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> db/src/schema.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr]  1 | / table! {
[INFO] [stderr]  2 | |     users (id) {
[INFO] [stderr]  3 | |         id -> Binary,
[INFO] [stderr]  4 | |         username -> Varchar,
[INFO] [stderr]    | |         -------- `username` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 10 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_username`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> db/src/schema.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr]  1 | / table! {
[INFO] [stderr]  2 | |     users (id) {
[INFO] [stderr]  3 | |         id -> Binary,
[INFO] [stderr]  4 | |         username -> Varchar,
[INFO] [stderr]  5 | |         password_hash -> Varchar,
[INFO] [stderr]    | |         ------------- `password_hash` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 10 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_password_hash`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> db/src/schema.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr]  1 | / table! {
[INFO] [stderr]  2 | |     users (id) {
[INFO] [stderr]  3 | |         id -> Binary,
[INFO] [stderr]  4 | |         username -> Varchar,
[INFO] [stderr]  5 | |         password_hash -> Varchar,
[INFO] [stderr]  6 | |         email -> Varchar,
[INFO] [stderr]    | |         ----- `email` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 10 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_email`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> db/src/schema.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr]  1 | / table! {
[INFO] [stderr]  2 | |     users (id) {
[INFO] [stderr]  3 | |         id -> Binary,
[INFO] [stderr]  4 | |         username -> Varchar,
[INFO] [stderr] ...  |
[INFO] [stderr]  7 | |         created_at -> Nullable<Timestamp>,
[INFO] [stderr]    | |         ---------- `created_at` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 10 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_created_at`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> db/src/schema.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr]  1 | / table! {
[INFO] [stderr]  2 | |     users (id) {
[INFO] [stderr]  3 | |         id -> Binary,
[INFO] [stderr]  4 | |         username -> Varchar,
[INFO] [stderr] ...  |
[INFO] [stderr]  8 | |         updated_at -> Nullable<Datetime>,
[INFO] [stderr]    | |         ---------- `updated_at` is not local
[INFO] [stderr]  9 | |     }
[INFO] [stderr] 10 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_updated_at`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-athena-db` (lib) generated 11 warnings (run `cargo fix --lib -p rust-athena-db` to apply 3 suggestions)
[INFO] [stderr] warning: `rust-athena-db` (lib test) generated 11 warnings (11 duplicates)
[INFO] [stderr] warning: unused import: `BigEndian`
[INFO] [stderr]  --> core/src/common/packets.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stderr]   |                 ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rust_athena_db::models::User`
[INFO] [stderr]  --> core/src/login_server/mod.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use rust_athena_db::models::User;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rust_athena_db::schema::users::dsl::*`
[INFO] [stderr]   --> core/src/login_server/mod.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use rust_athena_db::schema::users::dsl::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> core/src/common/packets.rs:109:27
[INFO] [stderr]     |
[INFO] [stderr] 109 |   pub fn read_byte(&self, mut pos: usize) -> u8 {
[INFO] [stderr]     |                           ----^^^
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> core/src/login_server/mod.rs:41:15
[INFO] [stderr]    |
[INFO] [stderr] 41 |           let mut login_result = [0 as u8; 3];
[INFO] [stderr]    |               ----^^^^^^^^^^^^
[INFO] [stderr]    |               |
[INFO] [stderr]    |               help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `login_result`
[INFO] [stderr]   --> core/src/login_server/mod.rs:41:15
[INFO] [stderr]    |
[INFO] [stderr] 41 |           let mut login_result = [0 as u8; 3];
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_login_result`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `query`
[INFO] [stderr]    --> core/src/login_server/mod.rs:137:7
[INFO] [stderr]     |
[INFO] [stderr] 137 |   let query = diesel::insert_or_ignore_into(users::table).values(&user_form).execute(&conn).unwrap();
[INFO] [stderr]     |       ^^^^^ help: if this is intentional, prefix it with an underscore: `_query`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `db_connection`
[INFO] [stderr]   --> core/src/main.rs:16:7
[INFO] [stderr]    |
[INFO] [stderr] 16 |   let db_connection = rust_athena_db::init();
[INFO] [stderr]    |       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_connection`
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> core/src/login_server/mod.rs:19:34
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[derive(Serialize, Deserialize, Insertable)]
[INFO] [stderr]    |                                  ^---------
[INFO] [stderr]    |                                  |
[INFO] [stderr]    |                                  `Insertable` is not local
[INFO] [stderr]    |                                  `table` is not local
[INFO] [stderr]    |                                  move the `impl` block outside of this function `_impl_insertable_for_userform`
[INFO] [stderr] 20 | #[table_name = "users"]
[INFO] [stderr] 21 | pub struct UserForm{
[INFO] [stderr]    |            -------- `UserForm` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> core/src/login_server/mod.rs:19:34
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[derive(Serialize, Deserialize, Insertable)]
[INFO] [stderr]    |                                  -^^^^^^^^^
[INFO] [stderr]    |                                  |
[INFO] [stderr]    |                                  `Insertable` is not local
[INFO] [stderr]    |                                  `table` is not local
[INFO] [stderr]    |                                  move the `impl` block outside of this function `_impl_insertable_for_userform`
[INFO] [stderr] 20 | #[table_name = "users"]
[INFO] [stderr] 21 | pub struct UserForm{
[INFO] [stderr]    |            -------- `UserForm` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> core/src/login_server/mod.rs:19:34
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[derive(Serialize, Deserialize, Insertable)]
[INFO] [stderr]    |                                  ^---------
[INFO] [stderr]    |                                  |
[INFO] [stderr]    |                                  `UndecoratedInsertRecord` is not local
[INFO] [stderr]    |                                  `table` is not local
[INFO] [stderr]    |                                  move the `impl` block outside of this function `_impl_insertable_for_userform`
[INFO] [stderr] 20 | #[table_name = "users"]
[INFO] [stderr] 21 | pub struct UserForm{
[INFO] [stderr]    |            -------- `UserForm` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-athena` (bin "rust-athena" test) generated 11 warnings (run `cargo fix --bin "rust-athena" -p rust-athena --tests` to apply 8 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_athena-743a7945196540bb)
[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] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_athena_db-c5819e1c77dc529e)
[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] [stderr]    Doc-tests rust_athena_db
[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" "e9e1b437ac74092148ceeba4684d6b27140dfbf140765c7bbaca184299e1e01a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9e1b437ac74092148ceeba4684d6b27140dfbf140765c7bbaca184299e1e01a", kill_on_drop: false }`
[INFO] [stdout] e9e1b437ac74092148ceeba4684d6b27140dfbf140765c7bbaca184299e1e01a
