[INFO] updating cached repository tawashichan/coffee_shop_backend [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/tawashichan/coffee_shop_backend [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/tawashichan/coffee_shop_backend" "work/ex/clippy-test-run/sources/stable/gh/tawashichan/coffee_shop_backend"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/tawashichan/coffee_shop_backend'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/tawashichan/coffee_shop_backend" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/tawashichan/coffee_shop_backend"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/tawashichan/coffee_shop_backend'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a5da7303a31954e47e4b82c5186327c952cf1ae5 [INFO] sha for GitHub repo tawashichan/coffee_shop_backend: a5da7303a31954e47e4b82c5186327c952cf1ae5 [INFO] validating manifest of tawashichan/coffee_shop_backend on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of tawashichan/coffee_shop_backend on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing tawashichan/coffee_shop_backend [INFO] finished frobbing tawashichan/coffee_shop_backend [INFO] frobbed toml for tawashichan/coffee_shop_backend written to work/ex/clippy-test-run/sources/stable/gh/tawashichan/coffee_shop_backend/Cargo.toml [INFO] started frobbing tawashichan/coffee_shop_backend [INFO] finished frobbing tawashichan/coffee_shop_backend [INFO] frobbed toml for tawashichan/coffee_shop_backend written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/tawashichan/coffee_shop_backend/Cargo.toml [INFO] crate tawashichan/coffee_shop_backend has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting tawashichan/coffee_shop_backend against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/tawashichan/coffee_shop_backend:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 53ee7084dde59fd74e0988f3540f1a0d2284c0481eacac2dd5e2b43c098a3e13 [INFO] running `"docker" "start" "-a" "53ee7084dde59fd74e0988f3540f1a0d2284c0481eacac2dd5e2b43c098a3e13"` [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling same-file v1.0.2 [INFO] [stderr] Checking smallvec v0.6.2 [INFO] [stderr] Compiling bytecount v0.3.1 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking crossbeam-utils v0.3.2 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Compiling actix_derive v0.2.0 [INFO] [stderr] Compiling actix-web v0.6.15 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Checking tokio-executor v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.33 [INFO] [stderr] Compiling mysqlclient-sys v0.2.3 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Compiling walkdir v2.1.4 [INFO] [stderr] Checking crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking resolv-conf v0.6.1 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking tokio-io v0.1.7 [INFO] [stderr] Checking http v0.1.7 [INFO] [stderr] Checking mio v0.6.15 [INFO] [stderr] Checking tokio-timer v0.2.4 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Checking parking_lot v0.5.5 [INFO] [stderr] Checking serde_json v1.0.22 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking regex v1.0.1 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Checking crossbeam-deque v0.3.1 [INFO] [stderr] Compiling phf_shared v0.7.22 [INFO] [stderr] Checking mime v0.3.8 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Checking backtrace v0.2.3 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking chrono v0.4.4 [INFO] [stderr] Checking crossbeam-channel v0.1.3 [INFO] [stderr] Checking tokio-reactor v0.1.2 [INFO] [stderr] Checking mio-uds v0.6.6 [INFO] [stderr] Compiling openssl v0.9.24 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking flate2 v1.0.1 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Checking tokio-threadpool v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.22 [INFO] [stderr] Checking phf v0.7.22 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Checking error-chain v0.1.12 [INFO] [stderr] Checking h2 v0.1.10 [INFO] [stderr] Checking tokio-udp v0.1.1 [INFO] [stderr] Checking tokio-tcp v0.1.0 [INFO] [stderr] Checking dotenv v0.10.1 [INFO] [stderr] Checking serde_urlencoded v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Checking tokio-fs v0.1.2 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking diesel v1.3.2 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.5 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking frank_jwt v3.0.0 [INFO] [stderr] Checking trust-dns-proto v0.3.3 [INFO] [stderr] Checking tokio-signal v0.1.5 [INFO] [stderr] Compiling ring v0.12.1 [INFO] [stderr] Compiling cargo_metadata v0.5.8 [INFO] [stderr] Checking trust-dns-resolver v0.8.2 [INFO] [stderr] Compiling skeptic v0.13.3 [INFO] [stderr] Checking cookie v0.10.1 [INFO] [stderr] Compiling actix v0.5.8 [INFO] [stderr] Checking third_empire v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `models::user::NewUser` [INFO] [stderr] --> src/handlers/forms/user_forms.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use models::user::NewUser; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: cannot find type `User` in this scope [INFO] [stderr] --> src/models/user.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug,Queryable,Serialize,Deserialize)] [INFO] [stderr] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = note: #[warn(proc_macro_derive_resolution_fallback)] on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `users` in this scope [INFO] [stderr] --> src/models/user.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `NewUser` in this scope [INFO] [stderr] --> src/models/user.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel` [INFO] [stderr] --> src/models/post.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use diesel; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stderr] --> src/models/post.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug,Queryable,Serialize,Deserialize)] [INFO] [stderr] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `Post` in this scope [INFO] [stderr] --> src/models/post.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug,Queryable,Serialize,Deserialize)] [INFO] [stderr] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `posts` in this scope [INFO] [stderr] --> src/models/post.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `NewPost` in this scope [INFO] [stderr] --> src/models/post.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> <::diesel::macros::table_body macros>:165:33 [INFO] [stderr] | [INFO] [stderr] 165 | derive ( Debug , Clone , Copy , QueryId ) ] /// The actual table struct [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `content` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `created_at` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `updated_at` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `name` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `email` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `password` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: unused import: `models::user::NewUser` [INFO] [stderr] --> src/handlers/forms/user_forms.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use models::user::NewUser; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: cannot find type `User` in this scope [INFO] [stderr] --> src/models/user.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug,Queryable,Serialize,Deserialize)] [INFO] [stderr] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = note: #[warn(proc_macro_derive_resolution_fallback)] on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `users` in this scope [INFO] [stderr] --> src/models/user.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `NewUser` in this scope [INFO] [stderr] --> src/models/user.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel` [INFO] [stderr] --> src/models/post.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use diesel; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: cannot find type `NaiveDateTime` in this scope [INFO] [stderr] --> src/models/post.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug,Queryable,Serialize,Deserialize)] [INFO] [stderr] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `Post` in this scope [INFO] [stderr] --> src/models/post.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug,Queryable,Serialize,Deserialize)] [INFO] [stderr] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `posts` in this scope [INFO] [stderr] --> src/models/post.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `NewPost` in this scope [INFO] [stderr] --> src/models/post.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> <::diesel::macros::table_body macros>:165:33 [INFO] [stderr] | [INFO] [stderr] 165 | derive ( Debug , Clone , Copy , QueryId ) ] /// The actual table struct [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `content` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `created_at` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `updated_at` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `name` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `email` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: cannot find type `password` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | derive ( Debug , Clone , Copy , QueryId , Default ) ] pub struct $ column_name [INFO] [stderr] | ^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #50504 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/handlers/users.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn index(req: HttpRequest) -> Result>>{ [INFO] [stderr] | ^^^ help: consider using `_req` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/handlers/users.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn test(req: HttpRequest) -> Result { [INFO] [stderr] | ^^^ help: consider using `_req` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/handlers/posts.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn index(req: HttpRequest) -> Result>>{ [INFO] [stderr] | ^^^ help: consider using `_req` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/handlers/sessions.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn login(req: HttpRequest) -> Result{ [INFO] [stderr] | ^^^ help: consider using `_req` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `header` [INFO] [stderr] --> src/common/login.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | let (header,payload) = decode(&token,&"Eichmann".to_string(),Algorithm::HS256).unwrap(); [INFO] [stderr] | ^^^^^^ help: consider using `_header` instead [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/common/login.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | let mut payload = json!({ [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/common/login.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | let mut header = json!({}); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `update` [INFO] [stderr] --> src/models/user.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn update(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `execute` [INFO] [stderr] --> src/db/connection.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / pub fn execute(func: F) -> T [INFO] [stderr] 19 | | where F: Fn(MysqlConnection) -> T { [INFO] [stderr] 20 | | let connection = establish_connection(); [INFO] [stderr] 21 | | func(connection) [INFO] [stderr] 22 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/handlers/users.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn index(req: HttpRequest) -> Result>>{ [INFO] [stderr] | ^^^ help: consider using `_req` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/handlers/users.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn test(req: HttpRequest) -> Result { [INFO] [stderr] | ^^^ help: consider using `_req` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/handlers/posts.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn index(req: HttpRequest) -> Result>>{ [INFO] [stderr] | ^^^ help: consider using `_req` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/handlers/sessions.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn login(req: HttpRequest) -> Result{ [INFO] [stderr] | ^^^ help: consider using `_req` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `header` [INFO] [stderr] --> src/common/login.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | let (header,payload) = decode(&token,&"Eichmann".to_string(),Algorithm::HS256).unwrap(); [INFO] [stderr] | ^^^^^^ help: consider using `_header` instead [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/db/connection.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | .expect(&format!("Error while connection to {}", &database_url)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Error while connection to {}", &database_url))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::expect_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/common/login.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | let mut payload = json!({ [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/common/login.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | let mut header = json!({}); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `update` [INFO] [stderr] --> src/models/user.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn update(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `execute` [INFO] [stderr] --> src/db/connection.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / pub fn execute(func: F) -> T [INFO] [stderr] 19 | | where F: Fn(MysqlConnection) -> T { [INFO] [stderr] 20 | | let connection = establish_connection(); [INFO] [stderr] 21 | | func(connection) [INFO] [stderr] 22 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/db/connection.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | .expect(&format!("Error while connection to {}", &database_url)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Error while connection to {}", &database_url))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::expect_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `"docker" "inspect" "53ee7084dde59fd74e0988f3540f1a0d2284c0481eacac2dd5e2b43c098a3e13"` [INFO] running `"docker" "rm" "-f" "53ee7084dde59fd74e0988f3540f1a0d2284c0481eacac2dd5e2b43c098a3e13"` [INFO] [stdout] 53ee7084dde59fd74e0988f3540f1a0d2284c0481eacac2dd5e2b43c098a3e13