[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/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/gh/tawashichan/coffee_shop_backend"` [INFO] [stderr] Cloning into 'work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/gh/tawashichan/coffee_shop_backend'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/tawashichan/coffee_shop_backend" "work/ex/pr-57967/sources/try#7fea0229842e79db1159ea58ad9a653b288efee9/gh/tawashichan/coffee_shop_backend"` [INFO] [stderr] Cloning into 'work/ex/pr-57967/sources/try#7fea0229842e79db1159ea58ad9a653b288efee9/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 master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of tawashichan/coffee_shop_backend on toolchain try#7fea0229842e79db1159ea58ad9a653b288efee9 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+7fea0229842e79db1159ea58ad9a653b288efee9-alt" "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/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/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/pr-57967/sources/try#7fea0229842e79db1159ea58ad9a653b288efee9/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" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+7fea0229842e79db1159ea58ad9a653b288efee9-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing tawashichan/coffee_shop_backend against master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54 for pr-57967 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57967/worker-1/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/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" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "build" "--frozen"` [INFO] [stdout] 9982c2ecffafb0bdddab9612b00ad01e0c0d4dab9751fc620c9130b57f04b66e [INFO] running `"docker" "start" "-a" "9982c2ecffafb0bdddab9612b00ad01e0c0d4dab9751fc620c9130b57f04b66e"` [INFO] [stderr] Compiling futures v0.1.23 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling actix_derive v0.2.0 [INFO] [stderr] Compiling actix-web v0.6.15 [INFO] [stderr] Compiling openssl-sys v0.9.33 [INFO] [stderr] Compiling mysqlclient-sys v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling mio v0.6.15 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling http v0.1.7 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling crossbeam-deque v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Compiling serde_json v1.0.22 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling phf_shared v0.7.22 [INFO] [stderr] Compiling mime v0.3.8 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.1.3 [INFO] [stderr] Compiling mio-uds v0.6.6 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling chrono v0.4.4 [INFO] [stderr] Compiling tokio-io v0.1.7 [INFO] [stderr] Compiling tokio-executor v0.1.2 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling phf_generator v0.7.22 [INFO] [stderr] Compiling phf v0.7.22 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Compiling openssl v0.9.24 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling error-chain v0.1.12 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling flate2 v1.0.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.5 [INFO] [stderr] Compiling tokio-timer v0.2.4 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling tokio-reactor v0.1.2 [INFO] [stderr] Compiling h2 v0.1.10 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Compiling serde_urlencoded v0.5.2 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling diesel v1.3.2 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.5 [INFO] [stderr] Compiling ring v0.12.1 [INFO] [stderr] Compiling tokio-tcp v0.1.0 [INFO] [stderr] Compiling tokio-udp v0.1.1 [INFO] [stderr] Compiling tokio-fs v0.1.2 [INFO] [stderr] Compiling frank_jwt v3.0.0 [INFO] [stderr] Compiling tokio v0.1.7 [INFO] [stderr] Compiling cookie v0.10.1 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling cargo_metadata v0.5.8 [INFO] [stderr] Compiling trust-dns-proto v0.3.3 [INFO] [stderr] Compiling tokio-signal v0.1.5 [INFO] [stderr] Compiling skeptic v0.13.3 [INFO] [stderr] Compiling actix v0.5.8 [INFO] [stderr] Compiling trust-dns-resolver v0.8.2 [INFO] [stderr] Compiling 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 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 prefixing with an underscore: `_req` [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 prefixing with an underscore: `_req` [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 prefixing with an underscore: `_req` [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 prefixing with an underscore: `_req` [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 prefixing with an underscore: `_header` [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] Finished dev [unoptimized + debuginfo] target(s) in 3m 30s [INFO] running `"docker" "inspect" "9982c2ecffafb0bdddab9612b00ad01e0c0d4dab9751fc620c9130b57f04b66e"` [INFO] running `"docker" "rm" "-f" "9982c2ecffafb0bdddab9612b00ad01e0c0d4dab9751fc620c9130b57f04b66e"` [INFO] [stdout] 9982c2ecffafb0bdddab9612b00ad01e0c0d4dab9751fc620c9130b57f04b66e [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57967/worker-1/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/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" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 7bef0594d34ed6a9f2ba1cf82639e54ce26c3d77317eb10edc79c2c68ce2ddef [INFO] running `"docker" "start" "-a" "7bef0594d34ed6a9f2ba1cf82639e54ce26c3d77317eb10edc79c2c68ce2ddef"` [INFO] [stderr] Compiling 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 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 prefixing with an underscore: `_req` [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 prefixing with an underscore: `_req` [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 prefixing with an underscore: `_req` [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 prefixing with an underscore: `_req` [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 prefixing with an underscore: `_header` [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] Finished dev [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `"docker" "inspect" "7bef0594d34ed6a9f2ba1cf82639e54ce26c3d77317eb10edc79c2c68ce2ddef"` [INFO] running `"docker" "rm" "-f" "7bef0594d34ed6a9f2ba1cf82639e54ce26c3d77317eb10edc79c2c68ce2ddef"` [INFO] [stdout] 7bef0594d34ed6a9f2ba1cf82639e54ce26c3d77317eb10edc79c2c68ce2ddef [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57967/worker-1/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57967/sources/master#c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54/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" "+c1c3c4e95b69dfeaca5c5db6c622d7f90ad30a54-alt" "test" "--frozen"` [INFO] [stdout] 69a258fdf5095a9c165f768ba36206b03c945586367e18f7ffae3d58ff3d5115 [INFO] running `"docker" "start" "-a" "69a258fdf5095a9c165f768ba36206b03c945586367e18f7ffae3d58ff3d5115"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running /opt/crater/target/debug/deps/third_empire-e5486fe738f4f420 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "69a258fdf5095a9c165f768ba36206b03c945586367e18f7ffae3d58ff3d5115"` [INFO] running `"docker" "rm" "-f" "69a258fdf5095a9c165f768ba36206b03c945586367e18f7ffae3d58ff3d5115"` [INFO] [stdout] 69a258fdf5095a9c165f768ba36206b03c945586367e18f7ffae3d58ff3d5115