[INFO] cloning repository https://github.com/Romankivs/lab2istp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Romankivs/lab2istp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRomankivs%2Flab2istp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRomankivs%2Flab2istp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81af146467d7f89fecf3c14f650e570f52a8eb07 [INFO] checking Romankivs/lab2istp/81af146467d7f89fecf3c14f650e570f52a8eb07 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRomankivs%2Flab2istp" "/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/Romankivs/lab2istp on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Romankivs/lab2istp [INFO] finished tweaking git repo https://github.com/Romankivs/lab2istp [INFO] tweaked toml for git repo https://github.com/Romankivs/lab2istp written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Romankivs/lab2istp 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded normpath v0.3.2 [INFO] [stderr] Downloaded rocket_sync_db_pools v0.1.0-rc.1 [INFO] [stderr] Downloaded rocket_sync_db_pools_codegen v0.1.0-rc.1 [INFO] [stderr] Downloaded xlsxwriter v0.3.5 [INFO] [stderr] Downloaded calamine v0.18.0 [INFO] [stderr] Downloaded quick-xml v0.19.0 [INFO] [stderr] Downloaded libxlsxwriter-sys v1.1.1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4c914ca9428e3ec8bc75302ecb6a494fef803c4de6f1d114bd4fe70a8bfd478 [INFO] running `Command { std: "docker" "start" "-a" "d4c914ca9428e3ec8bc75302ecb6a494fef803c4de6f1d114bd4fe70a8bfd478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4c914ca9428e3ec8bc75302ecb6a494fef803c4de6f1d114bd4fe70a8bfd478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4c914ca9428e3ec8bc75302ecb6a494fef803c4de6f1d114bd4fe70a8bfd478", kill_on_drop: false }` [INFO] [stdout] d4c914ca9428e3ec8bc75302ecb6a494fef803c4de6f1d114bd4fe70a8bfd478 [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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdecbe437558cc4991073aba6154ba2bed3c0eac0638db35eb9fe2a8d5cb4071 [INFO] running `Command { std: "docker" "start" "-a" "fdecbe437558cc4991073aba6154ba2bed3c0eac0638db35eb9fe2a8d5cb4071", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Compiling clang-sys v1.3.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [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 termcolor v1.1.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bigdecimal v0.1.2 [INFO] [stderr] Checking h2 v0.3.10 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking handlebars v3.5.5 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0-rc.1 [INFO] [stderr] Checking quick-xml v0.19.0 [INFO] [stderr] Checking codepage v0.1.1 [INFO] [stderr] Checking normpath v0.3.2 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking calamine v0.18.0 [INFO] [stderr] Compiling libxlsxwriter-sys v1.1.1 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking xlsxwriter v0.3.5 [INFO] [stderr] Checking rocket_dyn_templates v0.1.0-rc.1 [INFO] [stderr] Checking rocket_sync_db_pools v0.1.0-rc.1 [INFO] [stderr] Checking rest_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rocket::form::Form` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket::form::Form; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CookieJar` and `Cookie` [INFO] [stdout] --> src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::http::{Cookie, CookieJar}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::request::FlashMessage` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket::request::FlashMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flash` and `Redirect` [INFO] [stdout] --> src/main.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | use rocket::response::{Debug, Flash, Redirect}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / #[table_name = "staff"] [INFO] [stdout] 20 | | pub struct Staff { [INFO] [stdout] 21 | | pub first_name: String, [INFO] [stdout] 22 | | pub last_name: String, [INFO] [stdout] 23 | | pub email: String, [INFO] [stdout] 24 | | pub phone_number: String, [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / #[table_name = "country"] [INFO] [stdout] 35 | | pub struct Country { [INFO] [stdout] 36 | | pub name: String, [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / #[table_name = "manufacturer"] [INFO] [stdout] 49 | | pub struct Manufacturer { [INFO] [stdout] 50 | | pub name: String, [INFO] [stdout] 51 | | pub country_id: String, [INFO] [stdout] 52 | | pub website: String, [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / #[table_name = "tableware"] [INFO] [stdout] 67 | | pub struct Tableware { [INFO] [stdout] 68 | | pub manufacturer_id: i32, [INFO] [stdout] 69 | | pub name: String, [INFO] [stdout] ... | [INFO] [stdout] 72 | | pub main_colour: String, [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / #[table_name = "customer"] [INFO] [stdout] 77 | | pub struct Customer { [INFO] [stdout] 78 | | pub first_name: String, [INFO] [stdout] 79 | | pub last_name: String, [INFO] [stdout] 80 | | pub email: String, [INFO] [stdout] 81 | | pub phone_number: String, [INFO] [stdout] 82 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::form::Form` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket::form::Form; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CookieJar` and `Cookie` [INFO] [stdout] --> src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::http::{Cookie, CookieJar}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::request::FlashMessage` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket::request::FlashMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / #[table_name = "customer"] [INFO] [stdout] 86 | | pub struct CustomerEntity { [INFO] [stdout] 87 | | pub customer_id: i32, [INFO] [stdout] 88 | | pub first_name: String, [INFO] [stdout] ... | [INFO] [stdout] 91 | | pub phone_number: String, [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flash` and `Redirect` [INFO] [stdout] --> src/main.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | use rocket::response::{Debug, Flash, Redirect}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / #[table_name = "staff"] [INFO] [stdout] 20 | | pub struct Staff { [INFO] [stdout] 21 | | pub first_name: String, [INFO] [stdout] 22 | | pub last_name: String, [INFO] [stdout] 23 | | pub email: String, [INFO] [stdout] 24 | | pub phone_number: String, [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / #[table_name = "country"] [INFO] [stdout] 35 | | pub struct Country { [INFO] [stdout] 36 | | pub name: String, [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / #[table_name = "manufacturer"] [INFO] [stdout] 49 | | pub struct Manufacturer { [INFO] [stdout] 50 | | pub name: String, [INFO] [stdout] 51 | | pub country_id: String, [INFO] [stdout] 52 | | pub website: String, [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / #[table_name = "tableware"] [INFO] [stdout] 67 | | pub struct Tableware { [INFO] [stdout] 68 | | pub manufacturer_id: i32, [INFO] [stdout] 69 | | pub name: String, [INFO] [stdout] ... | [INFO] [stdout] 72 | | pub main_colour: String, [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / #[table_name = "customer"] [INFO] [stdout] 77 | | pub struct Customer { [INFO] [stdout] 78 | | pub first_name: String, [INFO] [stdout] 79 | | pub last_name: String, [INFO] [stdout] 80 | | pub email: String, [INFO] [stdout] 81 | | pub phone_number: String, [INFO] [stdout] 82 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / #[table_name = "customer"] [INFO] [stdout] 86 | | pub struct CustomerEntity { [INFO] [stdout] 87 | | pub customer_id: i32, [INFO] [stdout] 88 | | pub first_name: String, [INFO] [stdout] ... | [INFO] [stdout] 91 | | pub phone_number: String, [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `customer_get` [INFO] [stdout] --> src/customer.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn customer_get(conn: LibraryDbConn, uid: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `customer_new` [INFO] [stdout] --> src/customer.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn customer_new( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `customer_get` [INFO] [stdout] --> src/customer.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn customer_get(conn: LibraryDbConn, uid: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `customer_update` [INFO] [stdout] --> src/customer.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn customer_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `customer_delete` [INFO] [stdout] --> src/customer.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn customer_delete(conn: LibraryDbConn, uid: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `customer_list` [INFO] [stdout] --> src/customer.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn customer_list(conn: LibraryDbConn) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manufacturer_get` [INFO] [stdout] --> src/manufacturer.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn manufacturer_get(conn: LibraryDbConn, uid: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manufacturer_new` [INFO] [stdout] --> src/manufacturer.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn manufacturer_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manufacturer_update` [INFO] [stdout] --> src/manufacturer.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn manufacturer_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manufacturer_delete` [INFO] [stdout] --> src/manufacturer.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn manufacturer_delete(conn: LibraryDbConn, uid: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manufacturer_list` [INFO] [stdout] --> src/manufacturer.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn manufacturer_list(conn: LibraryDbConn) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sold_tableware_get` [INFO] [stdout] --> src/sold_tableware.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn sold_tableware_get( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sold_tableware_new` [INFO] [stdout] --> src/sold_tableware.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn sold_tableware_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sold_tableware_update` [INFO] [stdout] --> src/sold_tableware.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn sold_tableware_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sold_tableware_delete` [INFO] [stdout] --> src/sold_tableware.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn sold_tableware_delete(conn: LibraryDbConn, uid: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sold_tableware_list` [INFO] [stdout] --> src/sold_tableware.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn sold_tableware_list(conn: LibraryDbConn) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `staff_get` [INFO] [stdout] --> src/staff.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn staff_get(conn: LibraryDbConn, uid: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `staff_new` [INFO] [stdout] --> src/staff.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn staff_new(conn: LibraryDbConn, new: Json) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `staff_update` [INFO] [stdout] --> src/staff.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn staff_update( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `staff_delete` [INFO] [stdout] --> src/staff.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn staff_delete(conn: LibraryDbConn, uid: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `staff_list` [INFO] [stdout] --> src/staff.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn staff_list(conn: LibraryDbConn) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tableware_get` [INFO] [stdout] --> src/tableware.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn tableware_get(conn: LibraryDbConn, uid: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tableware_new` [INFO] [stdout] --> src/tableware.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn tableware_new( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tableware_update` [INFO] [stdout] --> src/tableware.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn tableware_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tableware_delete` [INFO] [stdout] --> src/tableware.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn tableware_delete(conn: LibraryDbConn, uid: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tableware_list` [INFO] [stdout] --> src/tableware.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn tableware_list(conn: LibraryDbConn) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `customer_new` [INFO] [stdout] --> src/customer.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn customer_new( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `customer_update` [INFO] [stdout] --> src/customer.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn customer_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `customer_delete` [INFO] [stdout] --> src/customer.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn customer_delete(conn: LibraryDbConn, uid: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `customer_list` [INFO] [stdout] --> src/customer.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn customer_list(conn: LibraryDbConn) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manufacturer_get` [INFO] [stdout] --> src/manufacturer.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn manufacturer_get(conn: LibraryDbConn, uid: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manufacturer_new` [INFO] [stdout] --> src/manufacturer.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn manufacturer_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manufacturer_update` [INFO] [stdout] --> src/manufacturer.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn manufacturer_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manufacturer_delete` [INFO] [stdout] --> src/manufacturer.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn manufacturer_delete(conn: LibraryDbConn, uid: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manufacturer_list` [INFO] [stdout] --> src/manufacturer.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn manufacturer_list(conn: LibraryDbConn) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sold_tableware_get` [INFO] [stdout] --> src/sold_tableware.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn sold_tableware_get( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sold_tableware_new` [INFO] [stdout] --> src/sold_tableware.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn sold_tableware_new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sold_tableware_update` [INFO] [stdout] --> src/sold_tableware.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn sold_tableware_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sold_tableware_delete` [INFO] [stdout] --> src/sold_tableware.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn sold_tableware_delete(conn: LibraryDbConn, uid: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sold_tableware_list` [INFO] [stdout] --> src/sold_tableware.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn sold_tableware_list(conn: LibraryDbConn) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `staff_get` [INFO] [stdout] --> src/staff.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn staff_get(conn: LibraryDbConn, uid: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `staff_new` [INFO] [stdout] --> src/staff.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn staff_new(conn: LibraryDbConn, new: Json) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `staff_update` [INFO] [stdout] --> src/staff.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn staff_update( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `staff_delete` [INFO] [stdout] --> src/staff.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn staff_delete(conn: LibraryDbConn, uid: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `staff_list` [INFO] [stdout] --> src/staff.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn staff_list(conn: LibraryDbConn) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tableware_get` [INFO] [stdout] --> src/tableware.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn tableware_get(conn: LibraryDbConn, uid: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tableware_new` [INFO] [stdout] --> src/tableware.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn tableware_new( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tableware_update` [INFO] [stdout] --> src/tableware.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn tableware_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tableware_delete` [INFO] [stdout] --> src/tableware.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn tableware_delete(conn: LibraryDbConn, uid: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tableware_list` [INFO] [stdout] --> src/tableware.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn tableware_list(conn: LibraryDbConn) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, quick-xml v0.19.0, 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" "fdecbe437558cc4991073aba6154ba2bed3c0eac0638db35eb9fe2a8d5cb4071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdecbe437558cc4991073aba6154ba2bed3c0eac0638db35eb9fe2a8d5cb4071", kill_on_drop: false }` [INFO] [stdout] fdecbe437558cc4991073aba6154ba2bed3c0eac0638db35eb9fe2a8d5cb4071