[INFO] cloning repository https://github.com/Team-StarGarden/darakbang-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Team-StarGarden/darakbang-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTeam-StarGarden%2Fdarakbang-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTeam-StarGarden%2Fdarakbang-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc8cf88fa2a80716aa77aec6c97d1e8d01c3911a [INFO] testing Team-StarGarden/darakbang-engine against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTeam-StarGarden%2Fdarakbang-engine" "/workspace/builds/worker-94/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-94/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Team-StarGarden/darakbang-engine on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-94/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Team-StarGarden/darakbang-engine [INFO] finished tweaking git repo https://github.com/Team-StarGarden/darakbang-engine [INFO] tweaked toml for git repo https://github.com/Team-StarGarden/darakbang-engine written to /workspace/builds/worker-94/source/Cargo.toml [INFO] crate git repo https://github.com/Team-StarGarden/darakbang-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.41 [INFO] [stderr] Downloaded juniper_codegen v0.14.2 [INFO] [stderr] Downloaded juniper v0.14.2 [INFO] [stderr] Downloaded actix v0.9.0 [INFO] [stderr] Downloaded actix-web-actors v2.0.0 [INFO] [stderr] Downloaded async-trait v0.1.26 [INFO] [stderr] Downloaded proc-macro-hack v0.5.14 [INFO] [stderr] Downloaded backtrace-sys v0.1.34 [INFO] [stderr] Downloaded mysqlclient-sys v0.2.4 [INFO] [stderr] Downloaded pem v0.7.0 [INFO] [stderr] Downloaded regex v1.3.5 [INFO] [stderr] Downloaded jsonwebtoken v7.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f9caef3a34814a36a53879806525757140df0f7fad478bd7b63791920fcdcbd [INFO] running `Command { std: "docker" "start" "-a" "5f9caef3a34814a36a53879806525757140df0f7fad478bd7b63791920fcdcbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f9caef3a34814a36a53879806525757140df0f7fad478bd7b63791920fcdcbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f9caef3a34814a36a53879806525757140df0f7fad478bd7b63791920fcdcbd", kill_on_drop: false }` [INFO] [stdout] 5f9caef3a34814a36a53879806525757140df0f7fad478bd7b63791920fcdcbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f57045854672438973113b17db5e08e8684e6616f021df901d5b41dee2f53de [INFO] running `Command { std: "docker" "start" "-a" "1f57045854672438973113b17db5e08e8684e6616f021df901d5b41dee2f53de", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.14 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling bytestring v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling fern v0.6.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling regex v1.3.5 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling argon2rs v0.2.5 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling pem v0.7.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling simple_asn1 v0.4.0 [INFO] [stderr] Compiling backtrace v0.3.41 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling derive_more v0.99.3 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.26 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling juniper_codegen v0.14.2 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling packet-macro v0.1.0 (/opt/rustwide/workdir/packet-macro) [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling actix-rt v1.0.0 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling h2 v0.2.2 [INFO] [stderr] Compiling juniper v0.14.2 [INFO] [stderr] Compiling jsonwebtoken v7.1.0 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix v0.9.0 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-web-actors v2.0.0 [INFO] [stderr] Compiling darakbang-engine v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/database/user.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Algorithm`, `TokenData` [INFO] [stdout] --> src/database/user.rs:8:69 [INFO] [stdout] | [INFO] [stdout] 8 | use jsonwebtoken::{encode, Header, EncodingKey, decode, Validation, Algorithm, DecodingKey, TokenData}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/database/user.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, Utc, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `juniper::parser::Token` [INFO] [stdout] --> src/database/user.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use juniper::parser::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/gql/query.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PacketClient` [INFO] [stdout] --> src/websocket.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::protocol::{PacketClient, PacketServer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/websocket.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let me = ctx.address(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/websocket.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | if let Ok(message) = serde_json::from_str::(&text) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/database/user.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | ).map_err(|e| UserError::Authentication) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/database/user.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | ).map_err(|e| UserError::Authentication)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/database/user.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | conn: &MysqlConnection, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MysqlPooledConnection` [INFO] [stdout] --> src/database/connect.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type MysqlPooledConnection = PooledConnection>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_user` [INFO] [stdout] --> src/database/user.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Common` [INFO] [stdout] --> src/protocol/packet.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Common(CommonPacketServer), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1f57045854672438973113b17db5e08e8684e6616f021df901d5b41dee2f53de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f57045854672438973113b17db5e08e8684e6616f021df901d5b41dee2f53de", kill_on_drop: false }` [INFO] [stdout] 1f57045854672438973113b17db5e08e8684e6616f021df901d5b41dee2f53de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97f5c2a0937c90046e0427009bf63c0c8ca8277c190da72fb1dab5b493750a0e [INFO] running `Command { std: "docker" "start" "-a" "97f5c2a0937c90046e0427009bf63c0c8ca8277c190da72fb1dab5b493750a0e", 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] [stderr] Compiling darakbang-engine v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/database/user.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Algorithm`, `TokenData` [INFO] [stdout] --> src/database/user.rs:8:69 [INFO] [stdout] | [INFO] [stdout] 8 | use jsonwebtoken::{encode, Header, EncodingKey, decode, Validation, Algorithm, DecodingKey, TokenData}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/database/user.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, Utc, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `juniper::parser::Token` [INFO] [stdout] --> src/database/user.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use juniper::parser::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/gql/query.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PacketClient` [INFO] [stdout] --> src/websocket.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::protocol::{PacketClient, PacketServer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/websocket.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let me = ctx.address(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/websocket.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | if let Ok(message) = serde_json::from_str::(&text) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/database/user.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | ).map_err(|e| UserError::Authentication) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/database/user.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | ).map_err(|e| UserError::Authentication)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/database/user.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | conn: &MysqlConnection, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MysqlPooledConnection` [INFO] [stdout] --> src/database/connect.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type MysqlPooledConnection = PooledConnection>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_user` [INFO] [stdout] --> src/database/user.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Common` [INFO] [stdout] --> src/protocol/packet.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Common(CommonPacketServer), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "97f5c2a0937c90046e0427009bf63c0c8ca8277c190da72fb1dab5b493750a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f5c2a0937c90046e0427009bf63c0c8ca8277c190da72fb1dab5b493750a0e", kill_on_drop: false }` [INFO] [stdout] 97f5c2a0937c90046e0427009bf63c0c8ca8277c190da72fb1dab5b493750a0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3f2c912539bf178c56adb1e2a70ad0a7980f8dc9b05bf414fd3bba3e8732bf14 [INFO] running `Command { std: "docker" "start" "-a" "3f2c912539bf178c56adb1e2a70ad0a7980f8dc9b05bf414fd3bba3e8732bf14", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/database/user.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Algorithm`, `TokenData` [INFO] [stderr] --> src/database/user.rs:8:69 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonwebtoken::{encode, Header, EncodingKey, decode, Validation, Algorithm, DecodingKey, TokenData}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DateTime` [INFO] [stderr] --> src/database/user.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | use chrono::{DateTime, Utc, Duration}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `juniper::parser::Token` [INFO] [stderr] --> src/database/user.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use juniper::parser::Token; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime`, `Utc` [INFO] [stderr] --> src/gql/query.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | use chrono::{DateTime, Utc}; [INFO] [stderr] | ^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PacketClient` [INFO] [stderr] --> src/websocket.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::protocol::{PacketClient, PacketServer}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `me` [INFO] [stderr] --> src/websocket.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | let me = ctx.address(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message` [INFO] [stderr] --> src/websocket.rs:84:27 [INFO] [stderr] | [INFO] [stderr] 84 | if let Ok(message) = serde_json::from_str::(&text) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/database/user.rs:134:16 [INFO] [stderr] | [INFO] [stderr] 134 | ).map_err(|e| UserError::Authentication) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/database/user.rs:146:16 [INFO] [stderr] | [INFO] [stderr] 146 | ).map_err(|e| UserError::Authentication)?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn` [INFO] [stderr] --> src/database/user.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | conn: &MysqlConnection, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `MysqlPooledConnection` [INFO] [stderr] --> src/database/connect.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub type MysqlPooledConnection = PooledConnection>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `create_user` [INFO] [stderr] --> src/database/user.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn create_user( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Common` [INFO] [stderr] --> src/protocol/packet.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Common(CommonPacketServer), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `darakbang-engine` (bin "darakbang-engine" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/darakbang_engine-9c9a0965be9f6900) [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" "3f2c912539bf178c56adb1e2a70ad0a7980f8dc9b05bf414fd3bba3e8732bf14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f2c912539bf178c56adb1e2a70ad0a7980f8dc9b05bf414fd3bba3e8732bf14", kill_on_drop: false }` [INFO] [stdout] 3f2c912539bf178c56adb1e2a70ad0a7980f8dc9b05bf414fd3bba3e8732bf14