[INFO] cloning repository https://github.com/hamidrezakp/FormWebsiteAndBot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hamidrezakp/FormWebsiteAndBot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamidrezakp%2FFormWebsiteAndBot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamidrezakp%2FFormWebsiteAndBot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a678df711f8cbe0830570e5d83b36f695d048aa3 [INFO] testing hamidrezakp/FormWebsiteAndBot against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamidrezakp%2FFormWebsiteAndBot" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hamidrezakp/FormWebsiteAndBot on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hamidrezakp/FormWebsiteAndBot [INFO] finished tweaking git repo https://github.com/hamidrezakp/FormWebsiteAndBot [INFO] tweaked toml for git repo https://github.com/hamidrezakp/FormWebsiteAndBot written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hamidrezakp/FormWebsiteAndBot 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket_sync_db_pools v0.1.0-rc.1 [INFO] [stderr] Downloaded jsonwebtoken v8.0.1 [INFO] [stderr] Downloaded simple_asn1 v0.6.1 [INFO] [stderr] Downloaded rocket_sync_db_pools_codegen v0.1.0-rc.1 [INFO] [stderr] Downloaded rocket_cors v0.6.0-alpha1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 964fbb01dea6ac5775d18dfcd2cd6755a778cc2f7f38d539c389da1e7e65097d [INFO] running `Command { std: "docker" "start" "-a" "964fbb01dea6ac5775d18dfcd2cd6755a778cc2f7f38d539c389da1e7e65097d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "964fbb01dea6ac5775d18dfcd2cd6755a778cc2f7f38d539c389da1e7e65097d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "964fbb01dea6ac5775d18dfcd2cd6755a778cc2f7f38d539c389da1e7e65097d", kill_on_drop: false }` [INFO] [stdout] 964fbb01dea6ac5775d18dfcd2cd6755a778cc2f7f38d539c389da1e7e65097d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c122f058b1c41ac5fb267c9c70ac472834c213ea0bb9932666756380be38e5e [INFO] running `Command { std: "docker" "start" "-a" "3c122f058b1c41ac5fb267c9c70ac472834c213ea0bb9932666756380be38e5e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling pem v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tokio-macros v1.6.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 devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0-rc.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling simple_asn1 v0.6.1 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling unicase_serde v0.1.0 [INFO] [stderr] Compiling jsonwebtoken v8.0.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling rocket_cors v0.6.0-alpha1 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0-rc.1 [INFO] [stderr] Compiling form-website v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_info` [INFO] [stdout] --> src/website/auth.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | async fn get_info(conn: Db, token: jwt::IsLoggedIn) -> Result>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login` [INFO] [stdout] --> src/website/auth.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | async fn login( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout` [INFO] [stdout] --> src/website/auth.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | async fn logout(claims: jwt::IsLoggedIn, user_token_service: user_token_service::T) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `refresh` [INFO] [stdout] --> src/website/auth.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | async fn refresh( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_all` [INFO] [stdout] --> src/website/case_actions.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | async fn get_all(conn: Db, _token: HasEditorPermissions) -> Result>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/website/case_actions.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn get(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `insert` [INFO] [stdout] --> src/website/case_actions.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | async fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update` [INFO] [stdout] --> src/website/case_actions.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | async fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/website/case_actions.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | async fn delete(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/website/cases.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | async fn get(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_all` [INFO] [stdout] --> src/website/cases.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn get_all(conn: Db, _token: HasEditorPermissions) -> Result>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `insert` [INFO] [stdout] --> src/website/cases.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | async fn insert(case: Json, conn: Db, token: HasEditorPermissions) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update` [INFO] [stdout] --> src/website/cases.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | async fn update(case: Json, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/website/cases.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | async fn delete(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `activate` [INFO] [stdout] --> src/website/cases.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | async fn activate(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deactivate` [INFO] [stdout] --> src/website/cases.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | async fn deactivate(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_all_persons` [INFO] [stdout] --> src/website/cases.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | async fn get_all_persons( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_all_actions` [INFO] [stdout] --> src/website/cases.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | async fn get_all_actions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_week_actions` [INFO] [stdout] --> src/website/cases.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | async fn get_week_actions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_today_actions` [INFO] [stdout] --> src/website/cases.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | async fn get_today_actions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/website/person_jobs.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | async fn get(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `insert` [INFO] [stdout] --> src/website/person_jobs.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update` [INFO] [stdout] --> src/website/person_jobs.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | async fn update(job: Json, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/website/person_jobs.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | async fn delete(id: Uuid, conn: Db) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `set_default` [INFO] [stdout] --> src/website/person_jobs.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | async fn set_default(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/website/person_requirements.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | async fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `insert` [INFO] [stdout] --> src/website/person_requirements.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | async fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update` [INFO] [stdout] --> src/website/person_requirements.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | async fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/website/person_requirements.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | async fn delete(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/website/person_skills.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | async fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `insert` [INFO] [stdout] --> src/website/person_skills.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | async fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update` [INFO] [stdout] --> src/website/person_skills.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | async fn update(skill: Json, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/website/person_skills.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | async fn delete(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/website/persons.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | async fn get(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_all` [INFO] [stdout] --> src/website/persons.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn get_all(conn: Db, _token: HasEditorPermissions) -> Result>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `insert` [INFO] [stdout] --> src/website/persons.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | async fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update` [INFO] [stdout] --> src/website/persons.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | async fn update(person: Json, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/website/persons.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | async fn delete(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `set_leader` [INFO] [stdout] --> src/website/persons.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | async fn set_leader(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clear_leader` [INFO] [stdout] --> src/website/persons.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | async fn clear_leader(id: Uuid, conn: Db, _token: HasEditorPermissions) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_jobs` [INFO] [stdout] --> src/website/persons.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | async fn get_jobs( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_requirements` [INFO] [stdout] --> src/website/persons.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn get_requirements( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_skills` [INFO] [stdout] --> src/website/persons.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | async fn get_skills( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/website/users.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | async fn get(id: Uuid, conn: Db, _admin: jwt::IsAdmin) -> Result>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_all` [INFO] [stdout] --> src/website/users.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | async fn get_all(conn: Db, _admin: jwt::IsAdmin) -> Result>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `insert` [INFO] [stdout] --> src/website/users.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | async fn insert(user: Json, conn: Db, _admin: jwt::IsAdmin) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `T` is never constructed [INFO] [stdout] --> src/website/jwt.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct T {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `form-website` (bin "form-website"); 47 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/bin/rustc --crate-name form_website --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=304f78bcddf7470e -C extra-filename=-304f78bcddf7470e --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern chrono=/opt/rustwide/target/debug/deps/libchrono-be28cfbcc51262ab.rlib --extern diesel=/opt/rustwide/target/debug/deps/libdiesel-0b6cd8b06c3e4c17.rlib --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-aec792e0e9b26cb8.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-0f2710368d2296f6.rlib --extern jsonwebtoken=/opt/rustwide/target/debug/deps/libjsonwebtoken-18c4e82f93916cdf.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-209134ef6bcc32e8.rlib --extern rocket=/opt/rustwide/target/debug/deps/librocket-53924adbbebb1d5d.rlib --extern rocket_cors=/opt/rustwide/target/debug/deps/librocket_cors-acb0c3b463b2b027.rlib --extern rocket_sync_db_pools=/opt/rustwide/target/debug/deps/librocket_sync_db_pools-3a10d2aa82cc4e48.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-aca1ef4f5f3448c1.rlib --extern sha2=/opt/rustwide/target/debug/deps/libsha2-dc82c2ce64dfbb35.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-dbe40cb0546a44ea.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-80cf59d2926526d5.rlib --cap-lints=forbid -Copt-level=3 -L native=/usr/lib/x86_64-linux-gnu -L native=/opt/rustwide/target/debug/build/ring-6427eac141c12ab3/out` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "3c122f058b1c41ac5fb267c9c70ac472834c213ea0bb9932666756380be38e5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c122f058b1c41ac5fb267c9c70ac472834c213ea0bb9932666756380be38e5e", kill_on_drop: false }` [INFO] [stdout] 3c122f058b1c41ac5fb267c9c70ac472834c213ea0bb9932666756380be38e5e