[INFO] cloning repository https://github.com/r4gus/solid-broccoli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r4gus/solid-broccoli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr4gus%2Fsolid-broccoli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr4gus%2Fsolid-broccoli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e23d1fdf5640a3d8ee36e9f6c3a4c2f7bc64b886 [INFO] checking r4gus/solid-broccoli against master#4d1bd0db7f489b22c6d8aa2385937a95412c015b for pr-114682-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr4gus%2Fsolid-broccoli" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r4gus/solid-broccoli on toolchain 4d1bd0db7f489b22c6d8aa2385937a95412c015b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r4gus/solid-broccoli [INFO] finished tweaking git repo https://github.com/r4gus/solid-broccoli [INFO] tweaked toml for git repo https://github.com/r4gus/solid-broccoli written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/r4gus/solid-broccoli 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" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.69 [INFO] [stderr] Downloaded globset v0.4.8 [INFO] [stderr] Downloaded arrayref v0.3.6 [INFO] [stderr] Downloaded instant v0.1.10 [INFO] [stderr] Downloaded constant_time_eq v0.1.5 [INFO] [stderr] Downloaded tokio-macros v1.3.0 [INFO] [stderr] Downloaded normpath v0.3.0 [INFO] [stderr] Downloaded blake2b_simd v0.5.11 [INFO] [stderr] Downloaded rocket_dyn_templates v0.1.0-rc.1 [INFO] [stderr] Downloaded rust-argon2 v0.8.3 [INFO] [stderr] Downloaded hyper v0.14.10 [INFO] [stderr] Downloaded libc v0.2.98 [INFO] [stderr] Downloaded tokio v1.8.1 [INFO] [stderr] Downloaded chrono-tz v0.5.3 [INFO] [stderr] Downloaded bstr v0.2.16 [INFO] [stderr] Downloaded spin v0.9.2 [INFO] [stderr] Downloaded tokio-stream v0.1.7 [INFO] [stderr] Downloaded tera v1.12.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.5 [INFO] [stderr] Downloaded filetime v0.2.14 [INFO] [stderr] Downloaded cookie v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e308700010d2d6c27898aa596946615e97316f574be0902ad46a9de1489f48a9 [INFO] running `Command { std: "docker" "start" "-a" "e308700010d2d6c27898aa596946615e97316f574be0902ad46a9de1489f48a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e308700010d2d6c27898aa596946615e97316f574be0902ad46a9de1489f48a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e308700010d2d6c27898aa596946615e97316f574be0902ad46a9de1489f48a9", kill_on_drop: false }` [INFO] [stdout] e308700010d2d6c27898aa596946615e97316f574be0902ad46a9de1489f48a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be9bcc58d207915a5bc1f65f2a07407343332212a8b1735d9695424786631876 [INFO] running `Command { std: "docker" "start" "-a" "be9bcc58d207915a5bc1f65f2a07407343332212a8b1735d9695424786631876", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Checking inlinable_string v0.1.14 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling multer v2.0.0 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking normpath v0.3.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking rust-argon2 v0.8.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling devise_core v0.3.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling devise_codegen v0.3.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling devise v0.3.0 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0-rc.1 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling diesel v1.4.7 [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking tera v1.12.1 [INFO] [stderr] Checking rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking rocket_sync_db_pools v0.1.0-rc.1 [INFO] [stderr] Checking rocket_dyn_templates v0.1.0-rc.1 [INFO] [stderr] Checking ontrack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket_sync_db_pools; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryResult` [INFO] [stdout] --> src/test.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | use self::diesel::{prelude::*, PgConnection, QueryResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Db` [INFO] [stdout] --> src/test.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::Db; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/auth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Json`, `Serialize` [INFO] [stdout] --> src/auth.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use rocket::serde::{Deserialize, Serialize, json::{Json, json, Value}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PgConnection`, `QueryResult` [INFO] [stdout] --> src/auth.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use self::diesel::{prelude::*, PgConnection, QueryResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `signup_page` [INFO] [stdout] --> src/auth.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn signup_page(flash: Option>) -> Template { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `username_available` [INFO] [stdout] --> src/auth.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | pub async fn username_available(username: &str, conn: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `email_available` [INFO] [stdout] --> src/auth.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | pub async fn email_available(email: &str, conn: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `password_valid` [INFO] [stdout] --> src/auth.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn password_valid(form: Form>>) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/models.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PgConnection`, `QueryResult` [INFO] [stdout] --> src/models.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use self::diesel::{prelude::*, PgConnection, QueryResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/models.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | request::{self, FromRequest, Outcome}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashboard_forward` [INFO] [stdout] --> src/app.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn dashboard_forward() -> Flash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Json`, `Serialize` [INFO] [stdout] --> src/api/user.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::serde::{Deserialize, Serialize, json::{Json, json, Value}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/api/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PgConnection` [INFO] [stdout] --> src/api/user.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use self::diesel::{prelude::*, PgConnection, QueryResult}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/api/user.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | if (id != user.id) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - if (id != user.id) { [INFO] [stdout] 41 + if id != user.id { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/api/user.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | } else if (form.username.len() < 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - } else if (form.username.len() < 1) { [INFO] [stdout] 43 + } else if form.username.len() < 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/api/user.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | } else if (!validate_email(form.email)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - } else if (!validate_email(form.email)) { [INFO] [stdout] 45 + } else if !validate_email(form.email) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/api/user.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | if (id != user.id || !matches) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - if (id != user.id || !matches) { [INFO] [stdout] 83 + if id != user.id || !matches { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/api/user.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | if (id != user.id) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - if (id != user.id) { [INFO] [stdout] 113 + if id != user.id { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/api/exercise.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::serde::{Deserialize, Serialize, json::{Json, json, Value}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flash`, `Redirect` [INFO] [stdout] --> src/api/exercise.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::response::{Flash, Redirect}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CookieJar`, `Cookie` [INFO] [stdout] --> src/api/exercise.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::http::{Cookie, CookieJar}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime`, `Utc` [INFO] [stdout] --> src/api/exercise.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PgConnection`, `QueryResult` [INFO] [stdout] --> src/api/exercise.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use self::diesel::{prelude::*, PgConnection, QueryResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello` [INFO] [stdout] --> src/api/exercise.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hello(name: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_rms` [INFO] [stdout] --> src/api/exercise.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn get_rms(user: &User, id: i32, conn: Db) -> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `argon2` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use argon2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `models::NewUser` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use models::NewUser; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket_sync_db_pools; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/auth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Json`, `Serialize` [INFO] [stdout] --> src/auth.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use rocket::serde::{Deserialize, Serialize, json::{Json, json, Value}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PgConnection`, `QueryResult` [INFO] [stdout] --> src/auth.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use self::diesel::{prelude::*, PgConnection, QueryResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `signup_page` [INFO] [stdout] --> src/auth.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn signup_page(flash: Option>) -> Template { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout` [INFO] [stdout] --> src/auth.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn logout(cookies: &CookieJar<'_>) -> Flash { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `username_available` [INFO] [stdout] --> src/auth.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | pub async fn username_available(username: &str, conn: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `email_available` [INFO] [stdout] --> src/auth.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | pub async fn email_available(email: &str, conn: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `password_valid` [INFO] [stdout] --> src/auth.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn password_valid(form: Form>>) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/models.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PgConnection`, `QueryResult` [INFO] [stdout] --> src/models.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use self::diesel::{prelude::*, PgConnection, QueryResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/models.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | request::{self, FromRequest, Outcome}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashboard_forward` [INFO] [stdout] --> src/app.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn dashboard_forward() -> Flash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Json`, `Serialize` [INFO] [stdout] --> src/api/user.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::serde::{Deserialize, Serialize, json::{Json, json, Value}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/api/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PgConnection` [INFO] [stdout] --> src/api/user.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use self::diesel::{prelude::*, PgConnection, QueryResult}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/api/user.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | if (id != user.id) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - if (id != user.id) { [INFO] [stdout] 41 + if id != user.id { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/api/user.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | } else if (form.username.len() < 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - } else if (form.username.len() < 1) { [INFO] [stdout] 43 + } else if form.username.len() < 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/api/user.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | } else if (!validate_email(form.email)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - } else if (!validate_email(form.email)) { [INFO] [stdout] 45 + } else if !validate_email(form.email) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_user` [INFO] [stdout] --> src/api/user.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn update_user(user: &User, id: i32, form: Form>>, conn: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/api/user.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | if (id != user.id || !matches) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - if (id != user.id || !matches) { [INFO] [stdout] 83 + if id != user.id || !matches { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_user_pw` [INFO] [stdout] --> src/api/user.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn update_user_pw(user: &User, id: i32, form: Form>>, conn: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/api/user.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | if (id != user.id) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - if (id != user.id) { [INFO] [stdout] 113 + if id != user.id { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete_user` [INFO] [stdout] --> src/api/user.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | pub async fn delete_user(user: &User, id: i32, conn: Db, cookies: &CookieJar<'_>) -> Result, Value> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/api/exercise.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::serde::{Deserialize, Serialize, json::{Json, json, Value}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flash`, `Redirect` [INFO] [stdout] --> src/api/exercise.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::response::{Flash, Redirect}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CookieJar`, `Cookie` [INFO] [stdout] --> src/api/exercise.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::http::{Cookie, CookieJar}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime`, `Utc` [INFO] [stdout] --> src/api/exercise.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PgConnection`, `QueryResult` [INFO] [stdout] --> src/api/exercise.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use self::diesel::{prelude::*, PgConnection, QueryResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello` [INFO] [stdout] --> src/api/exercise.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hello(name: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `insert_rm` [INFO] [stdout] --> src/api/exercise.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn insert_rm(user: &User, id: i32, form: Form>>, conn: Db) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_rms` [INFO] [stdout] --> src/api/exercise.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn get_rms(user: &User, id: i32, conn: Db) -> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `argon2` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use argon2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `models::NewUser` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use models::NewUser; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut response = client.get("/login").dispatch(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/test.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let max: User = insert_test_user(&conn, &max); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_test_user` is never used [INFO] [stdout] --> src/test.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn delete_test_user(conn: &PgConnection, user: &User) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello` is never used [INFO] [stdout] --> src/api/exercise.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hello(name: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | diesel::delete(users::table.filter(users::id.eq(user.id))).execute(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = diesel::delete(users::table.filter(users::id.eq(user.id))).execute(conn); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | diesel::delete(users::table).execute(&conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = diesel::delete(users::table).execute(&conn); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | diesel::delete(rms::table).execute(&conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = diesel::delete(rms::table).execute(&conn); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello` is never used [INFO] [stdout] --> src/api/exercise.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn hello(name: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [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" "be9bcc58d207915a5bc1f65f2a07407343332212a8b1735d9695424786631876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be9bcc58d207915a5bc1f65f2a07407343332212a8b1735d9695424786631876", kill_on_drop: false }` [INFO] [stdout] be9bcc58d207915a5bc1f65f2a07407343332212a8b1735d9695424786631876 [INFO] checking r4gus/solid-broccoli against try#785364c7e5e0804473a3fddfb579798ea14e3493 for pr-114682-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr4gus%2Fsolid-broccoli" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r4gus/solid-broccoli on toolchain 785364c7e5e0804473a3fddfb579798ea14e3493 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r4gus/solid-broccoli [INFO] finished tweaking git repo https://github.com/r4gus/solid-broccoli [INFO] tweaked toml for git repo https://github.com/r4gus/solid-broccoli written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/r4gus/solid-broccoli 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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ee630390cae0eb759eafc1638b9db8144618e01b484d6fa673afd1bdc7f0859 [INFO] running `Command { std: "docker" "start" "-a" "0ee630390cae0eb759eafc1638b9db8144618e01b484d6fa673afd1bdc7f0859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ee630390cae0eb759eafc1638b9db8144618e01b484d6fa673afd1bdc7f0859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ee630390cae0eb759eafc1638b9db8144618e01b484d6fa673afd1bdc7f0859", kill_on_drop: false }` [INFO] [stdout] 0ee630390cae0eb759eafc1638b9db8144618e01b484d6fa673afd1bdc7f0859 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59db626b03d10a43dcb6354e8d4f85753d49c92244ab022f07c176b28796528f [INFO] running `Command { std: "docker" "start" "-a" "59db626b03d10a43dcb6354e8d4f85753d49c92244ab022f07c176b28796528f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.0 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking normpath v0.3.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking rust-argon2 v0.8.3 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling devise_core v0.3.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise_codegen v0.3.0 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise v0.3.0 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0-rc.1 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling diesel v1.4.7 [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking tera v1.12.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stdout] error[E0659]: `max` is ambiguous [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/migrations_internals-1.4.1/src/connection.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | use diesel::dsl::max; [INFO] [stdout] | ^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `max` could refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.7/src/lib.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | pub use helper_types::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `migrations_internals` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0659]: `max` is ambiguous [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/migrations_internals-1.4.1/src/connection.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | use diesel::dsl::max; [INFO] [stdout] | ^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `max` could refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.7/src/lib.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | pub use helper_types::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `migrations_internals` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "59db626b03d10a43dcb6354e8d4f85753d49c92244ab022f07c176b28796528f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59db626b03d10a43dcb6354e8d4f85753d49c92244ab022f07c176b28796528f", kill_on_drop: false }` [INFO] [stdout] 59db626b03d10a43dcb6354e8d4f85753d49c92244ab022f07c176b28796528f