[INFO] cloning repository https://github.com/codeandplay/uauth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codeandplay/uauth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandplay%2Fuauth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandplay%2Fuauth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7aa17339261a08e01b844347a60fc0c7eb7900a3 [INFO] checking codeandplay/uauth against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodeandplay%2Fuauth" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codeandplay/uauth on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codeandplay/uauth [INFO] finished tweaking git repo https://github.com/codeandplay/uauth [INFO] tweaked toml for git repo https://github.com/codeandplay/uauth written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/codeandplay/uauth already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c16f05e826a0ce958e175b07339cefda7a709e8bfeedfdc68d328c98d2f6cf5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3c16f05e826a0ce958e175b07339cefda7a709e8bfeedfdc68d328c98d2f6cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c16f05e826a0ce958e175b07339cefda7a709e8bfeedfdc68d328c98d2f6cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c16f05e826a0ce958e175b07339cefda7a709e8bfeedfdc68d328c98d2f6cf5", kill_on_drop: false }` [INFO] [stdout] 3c16f05e826a0ce958e175b07339cefda7a709e8bfeedfdc68d328c98d2f6cf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3237116ce0e0289056d5a37537b63b21838f9e8c5983c1ac9fb3157e85e53886 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3237116ce0e0289056d5a37537b63b21838f9e8c5983c1ac9fb3157e85e53886", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling zeroize v1.1.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking data-encoding v2.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.6 [INFO] [stderr] Compiling rocket v0.4.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking net2 v0.2.36 [INFO] [stderr] Checking inotify-sys v0.1.4 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling ring v0.16.18 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking rocket_cors v0.5.2 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Checking rocket_contrib v0.4.6 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking uauth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rocket::response::status` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rocket::response::status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::Rocket` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rocket::Rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JsonValue`, `Json` [INFO] [stdout] --> src/main.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | use rocket_contrib::json::{Json, JsonValue}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/users.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Duration` [INFO] [stdout] --> src/users.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto::gen_session_key` [INFO] [stdout] --> src/users.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | crypto::gen_session_key, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::result::Error::DatabaseError` [INFO] [stdout] --> src/users.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use diesel::result::Error::DatabaseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::status` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rocket::response::status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::Rocket` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rocket::Rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JsonValue`, `Json` [INFO] [stdout] --> src/main.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | use rocket_contrib::json::{Json, JsonValue}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/users.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Duration` [INFO] [stdout] --> src/users.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto::gen_session_key` [INFO] [stdout] --> src/users.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | crypto::gen_session_key, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::result::Error::DatabaseError` [INFO] [stdout] --> src/users.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use diesel::result::Error::DatabaseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/users.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refresh_token` [INFO] [stdout] --> src/authentication.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | refresh_token: Json, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/authentication.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | conn: Conn, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verify_token` [INFO] [stdout] --> src/authentication.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn verify_token(verify_token: Json) -> JsonValue { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verify_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `forgot_password` [INFO] [stdout] --> src/users.rs:168:24 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn forgot_password(forgot_password: Json) -> JsonValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_forgot_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/users.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refresh_token` [INFO] [stdout] --> src/authentication.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | refresh_token: Json, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/authentication.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | conn: Conn, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verify_token` [INFO] [stdout] --> src/authentication.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn verify_token(verify_token: Json) -> JsonValue { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verify_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `forgot_password` [INFO] [stdout] --> src/users.rs:168:24 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn forgot_password(forgot_password: Json) -> JsonValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_forgot_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `Command { std: "docker" "inspect" "3237116ce0e0289056d5a37537b63b21838f9e8c5983c1ac9fb3157e85e53886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3237116ce0e0289056d5a37537b63b21838f9e8c5983c1ac9fb3157e85e53886", kill_on_drop: false }` [INFO] [stdout] 3237116ce0e0289056d5a37537b63b21838f9e8c5983c1ac9fb3157e85e53886