[INFO] updating cached repository zabio3/base-rest-app [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/zabio3/base-rest-app [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/zabio3/base-rest-app" "work/ex/clippy-test-run/sources/stable/gh/zabio3/base-rest-app"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/zabio3/base-rest-app'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/zabio3/base-rest-app" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/zabio3/base-rest-app"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/zabio3/base-rest-app'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6ac59e2ca3ba55b75b26ea5f331c1c9b8cfdc59e [INFO] sha for GitHub repo zabio3/base-rest-app: 6ac59e2ca3ba55b75b26ea5f331c1c9b8cfdc59e [INFO] validating manifest of zabio3/base-rest-app 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 zabio3/base-rest-app 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 zabio3/base-rest-app [INFO] finished frobbing zabio3/base-rest-app [INFO] frobbed toml for zabio3/base-rest-app written to work/ex/clippy-test-run/sources/stable/gh/zabio3/base-rest-app/Cargo.toml [INFO] started frobbing zabio3/base-rest-app [INFO] finished frobbing zabio3/base-rest-app [INFO] frobbed toml for zabio3/base-rest-app written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/zabio3/base-rest-app/Cargo.toml [INFO] crate zabio3/base-rest-app 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 zabio3/base-rest-app against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/zabio3/base-rest-app:/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] f42ed25a9a54127331b5394ba3b8e835226027bd84cc48d3098273cb390b3084 [INFO] running `"docker" "start" "-a" "f42ed25a9a54127331b5394ba3b8e835226027bd84cc48d3098273cb390b3084"` [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking matches v0.1.6 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Compiling serde v1.0.66 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking httparse v1.2.4 [INFO] [stderr] Checking groupable v0.2.0 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking log v0.4.2 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Compiling libsqlite3-sys v0.8.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking r2d2 v0.8.2 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking mustache v0.8.2 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Compiling serde_derive v1.0.66 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Checking serde_json v1.0.20 [INFO] [stderr] Checking diesel v1.3.0 [INFO] [stderr] Checking idna v0.1.4 [INFO] [stderr] Checking url v1.7.0 [INFO] [stderr] Checking hyper v0.10.13 [INFO] [stderr] Checking nickel v0.10.1 [INFO] [stderr] Checking r2d2-diesel v1.0.0 [INFO] [stderr] Checking base-rest-app v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `MiddlewareResult` [INFO] [stderr] --> src/controller/mod.rs:2:35 [INFO] [stderr] | [INFO] [stderr] 2 | use nickel::{Nickel, HttpRouter, MiddlewareResult}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `db` [INFO] [stderr] --> src/controller/account.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use db; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `enable_cors` [INFO] [stderr] --> src/controller/mod.rs:9:29 [INFO] [stderr] | [INFO] [stderr] 9 | use templates :: header :: {enable_cors}; [INFO] [stderr] | ^^^^^^^^^^^ [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] = 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 `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 `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 `status` 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: `serde_json` [INFO] [stderr] --> src/db/models/account.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use serde_json; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: cannot find type `Account` in this scope [INFO] [stderr] --> src/db/models/account.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Serialize, Deserialize, Queryable)] [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 `account` in this scope [INFO] [stderr] --> src/db/models/account.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[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 `NewAccount` in this scope [INFO] [stderr] --> src/db/models/account.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[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: `nickel` [INFO] [stderr] --> src/templates/header.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use nickel; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Nickel` [INFO] [stderr] --> src/main.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | use nickel::{Nickel}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MiddlewareResult` [INFO] [stderr] --> src/controller/mod.rs:2:35 [INFO] [stderr] | [INFO] [stderr] 2 | use nickel::{Nickel, HttpRouter, MiddlewareResult}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `db` [INFO] [stderr] --> src/controller/account.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use db; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `enable_cors` [INFO] [stderr] --> src/controller/mod.rs:9:29 [INFO] [stderr] | [INFO] [stderr] 9 | use templates :: header :: {enable_cors}; [INFO] [stderr] | ^^^^^^^^^^^ [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] = 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 `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 `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 `status` 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: `serde_json` [INFO] [stderr] --> src/db/models/account.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use serde_json; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: cannot find type `Account` in this scope [INFO] [stderr] --> src/db/models/account.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Serialize, Deserialize, Queryable)] [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 `account` in this scope [INFO] [stderr] --> src/db/models/account.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[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 `NewAccount` in this scope [INFO] [stderr] --> src/db/models/account.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[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: `nickel` [INFO] [stderr] --> src/templates/header.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use nickel; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Nickel` [INFO] [stderr] --> src/main.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | use nickel::{Nickel}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `database` [INFO] [stderr] --> src/main.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | let database = std::env::var("DATABASE_URL").expect("DATABASE_URL must be set"); [INFO] [stderr] | ^^^^^^^^ help: consider using `_database` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `SqlConnection` [INFO] [stderr] --> src/db/mod.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | pub type SqlConnection = ::diesel::SqliteConnection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `database` [INFO] [stderr] --> src/main.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | let database = std::env::var("DATABASE_URL").expect("DATABASE_URL must be set"); [INFO] [stderr] | ^^^^^^^^ help: consider using `_database` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `SqlConnection` [INFO] [stderr] --> src/db/mod.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | pub type SqlConnection = ::diesel::SqliteConnection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 36s [INFO] running `"docker" "inspect" "f42ed25a9a54127331b5394ba3b8e835226027bd84cc48d3098273cb390b3084"` [INFO] running `"docker" "rm" "-f" "f42ed25a9a54127331b5394ba3b8e835226027bd84cc48d3098273cb390b3084"` [INFO] [stdout] f42ed25a9a54127331b5394ba3b8e835226027bd84cc48d3098273cb390b3084