[INFO] updating cached repository rosie-home-automation/garage_rfid [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/rosie-home-automation/garage_rfid [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/rosie-home-automation/garage_rfid" "work/ex/beta-1.38-1/sources/1.37.0/gh/rosie-home-automation/garage_rfid"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/rosie-home-automation/garage_rfid'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/rosie-home-automation/garage_rfid" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/rosie-home-automation/garage_rfid"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/rosie-home-automation/garage_rfid'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 374e88c2282a6588c93e6c9b99a0e0001361c5c6 [INFO] sha for GitHub repo rosie-home-automation/garage_rfid: 374e88c2282a6588c93e6c9b99a0e0001361c5c6 [INFO] validating manifest of rosie-home-automation/garage_rfid on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rosie-home-automation/garage_rfid on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing rosie-home-automation/garage_rfid [INFO] finished frobbing rosie-home-automation/garage_rfid [INFO] frobbed toml for rosie-home-automation/garage_rfid written to work/ex/beta-1.38-1/sources/1.37.0/gh/rosie-home-automation/garage_rfid/Cargo.toml [INFO] started frobbing rosie-home-automation/garage_rfid [INFO] finished frobbing rosie-home-automation/garage_rfid [INFO] frobbed toml for rosie-home-automation/garage_rfid written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/rosie-home-automation/garage_rfid/Cargo.toml [INFO] crate rosie-home-automation/garage_rfid already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing rosie-home-automation/garage_rfid against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/rosie-home-automation/garage_rfid:/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=warn" "-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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] d381a959f52c275cf928395ff9b441d8787944d0d6ee88009c5166fe01aa0934 [INFO] running `"docker" "start" "-a" "d381a959f52c275cf928395ff9b441d8787944d0d6ee88009c5166fe01aa0934"` [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling cc v1.0.10 [INFO] [stderr] Compiling futures v0.1.21 [INFO] [stderr] Compiling pkg-config v0.3.10 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling serde v1.0.43 [INFO] [stderr] Compiling openssl v0.9.24 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling bytecount v0.2.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling slog v2.2.3 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling isatty v0.1.7 [INFO] [stderr] Compiling proc-macro2 v0.3.7 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling net2 v0.2.32 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling base64 v0.9.1 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling regex-syntax v0.5.5 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling slog-atomic v2.0.0 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling libsqlite3-sys v0.9.1 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling tokio-executor v0.1.2 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling uuid v0.6.3 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.28 [INFO] [stderr] Compiling crossbeam-epoch v0.4.1 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling mio v0.6.14 [INFO] [stderr] Compiling idna v0.1.4 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling r2d2 v0.8.2 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling tokio-io v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.1 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling crossbeam-deque v0.3.0 [INFO] [stderr] Compiling slog-async v2.3.0 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling tokio-reactor v0.1.1 [INFO] [stderr] Compiling url v1.7.0 [INFO] [stderr] warning[E0713]: borrow may still be in use when destructor runs [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/url-1.7.0/src/form_urlencoded.rs:261:40 [INFO] [stderr] | [INFO] [stderr] 259 | impl<'a> Target for ::UrlQuery<'a> { [INFO] [stderr] | -- lifetime `'a` defined here [INFO] [stderr] 260 | fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization } [INFO] [stderr] 261 | fn finish(self) -> &'a mut ::Url { self.url } [INFO] [stderr] | ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery<'_>` implements the `Drop` trait [INFO] [stderr] | | [INFO] [stderr] | returning this value requires that `*self.url` is borrowed for `'a` [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling serde_json v1.0.16 [INFO] [stderr] Compiling semver v0.8.0 [INFO] [stderr] Compiling chrono v0.4.2 [INFO] [stderr] Compiling toml v0.4.6 [INFO] [stderr] Compiling bincode v1.0.0 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling libflate v0.1.14 [INFO] [stderr] Compiling tokio-threadpool v0.1.2 [INFO] [stderr] Compiling mime v0.3.5 [INFO] [stderr] Compiling tokio-tcp v0.1.0 [INFO] [stderr] Compiling tokio-udp v0.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.1 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling slog-json v2.2.0 [INFO] [stderr] Compiling slog-term v2.4.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling tokio v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.6 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling sysfs_gpio v0.5.3 [INFO] [stderr] Compiling native-tls v0.1.5 [INFO] [stderr] Compiling serde-hjson v0.8.1 [INFO] [stderr] Compiling tokio-tls v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.43 [INFO] [stderr] Compiling hyper v0.11.25 [INFO] [stderr] Compiling diesel_derives v1.2.0 [INFO] [stderr] Compiling gotham_derive v0.2.1 [INFO] [stderr] Compiling config v0.8.0 [INFO] [stderr] Compiling diesel v1.2.2 [INFO] [stderr] Compiling hyper-tls v0.1.3 [INFO] [stderr] Compiling reqwest v0.7.3 [INFO] [stderr] Compiling cargo_metadata v0.3.3 [INFO] [stderr] Compiling skeptic v0.13.2 [INFO] [stderr] Compiling slack-hook v0.6.0 [INFO] [stderr] Compiling borrow-bag v1.0.0 [INFO] [stderr] Compiling gotham v0.2.1 [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling garage_rfid v0.3.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `FromState` [INFO] [stderr] --> src/api/garage_door_controller.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use gotham::state::{FromState, State}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HandlerFuture`, `IntoHandlerError` [INFO] [stderr] --> src/api/garage_door_controller.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use gotham::handler::{HandlerFuture, IntoHandlerError}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Future`, `Stream`, `future` [INFO] [stderr] --> src/api/garage_door_controller.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::{future, Future, Stream}; [INFO] [stderr] | ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Body`, `self` [INFO] [stderr] --> src/api/garage_door_controller.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use hyper::{self, Body, Response, StatusCode}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `slog` [INFO] [stderr] --> src/api/garage_door_controller.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use slog; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/api/users_update_action.rs:33:32 [INFO] [stderr] | [INFO] [stderr] 33 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: cannot find type `User` in this scope [INFO] [stderr] --> src/models/credential.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, Queryable)] [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 `Credential` in this scope [INFO] [stderr] --> src/models/credential.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `credentials` in this scope [INFO] [stderr] --> src/models/credential.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `Credential` in this scope [INFO] [stderr] --> src/models/credential.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `credentials` in this scope [INFO] [stderr] --> src/models/credential.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `credentials` in this scope [INFO] [stderr] --> src/models/credential.rs:10:45 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `Credential` in this scope [INFO] [stderr] --> src/models/credential.rs:10:45 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `NaiveDateTime` in this scope [INFO] [stderr] --> src/models/credential.rs:10:45 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `NaiveDateTime` in this scope [INFO] [stderr] --> src/models/credential.rs:10:57 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `Credential` in this scope [INFO] [stderr] --> src/models/credential.rs:10:57 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `User` in this scope [INFO] [stderr] --> src/models/user.rs:9:41 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `users` in this scope [INFO] [stderr] --> src/models/user.rs:9:41 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `users` in this scope [INFO] [stderr] --> src/models/user.rs:9:55 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `User` in this scope [INFO] [stderr] --> src/models/user.rs:9:55 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `NaiveDateTime` in this scope [INFO] [stderr] --> src/models/user.rs:9:55 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `NaiveDateTime` in this scope [INFO] [stderr] --> src/models/user.rs:9:67 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `User` in this scope [INFO] [stderr] --> src/models/user.rs:9:67 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `table` in this scope [INFO] [stderr] --> <::diesel::macros::table_body macros>:192:41 [INFO] [stderr] | [INFO] [stderr] 192 | [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:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `user_id` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `name` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `variety` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `value` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `created_at` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `updated_at` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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: unused variable: `logger` [INFO] [stderr] --> src/api/garage_door_controller.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | let logger = ControllerHelper::logger(&state); [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_logger` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `logger` [INFO] [stderr] --> src/api/garage_door_controller.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | let logger = ControllerHelper::logger(&state); [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_logger` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `logger` [INFO] [stderr] --> src/api/garage_door_controller.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | let logger = ControllerHelper::logger(&state); [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_logger` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 04s [INFO] running `"docker" "inspect" "d381a959f52c275cf928395ff9b441d8787944d0d6ee88009c5166fe01aa0934"` [INFO] running `"docker" "rm" "-f" "d381a959f52c275cf928395ff9b441d8787944d0d6ee88009c5166fe01aa0934"` [INFO] [stdout] d381a959f52c275cf928395ff9b441d8787944d0d6ee88009c5166fe01aa0934 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/rosie-home-automation/garage_rfid:/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=warn" "-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" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] c2b7e8261089158af00975af6c4beaa88fca389db71dc655e09c550940f98da2 [INFO] running `"docker" "start" "-a" "c2b7e8261089158af00975af6c4beaa88fca389db71dc655e09c550940f98da2"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling semver v0.7.0 [INFO] [stderr] Compiling pad v0.1.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling docopt v0.8.3 [INFO] [stderr] Compiling cargo-edit v0.2.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling garage_rfid v0.3.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `Stream` [INFO] [stderr] --> examples/collate_threads.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | use futures::{Future, Stream, Sink}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `core` [INFO] [stderr] --> examples/collate_threads.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | let mut core = Core::new()?; [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_core` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rx` [INFO] [stderr] --> examples/collate_threads.rs:31:19 [INFO] [stderr] | [INFO] [stderr] 31 | let (tx_master, rx) = mpsc::channel(50); [INFO] [stderr] | ^^ help: consider prefixing with an underscore: `_rx` [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> <::diesel::macros::table_body macros>:192:41 [INFO] [stderr] | [INFO] [stderr] 192 | [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>:192:41 [INFO] [stderr] | [INFO] [stderr] 192 | [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:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `name` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `User` in this scope [INFO] [stderr] --> examples/database.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(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 `users` in this scope [INFO] [stderr] --> examples/database.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[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] --> examples/database.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[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: variable does not need to be mutable [INFO] [stderr] --> examples/collate_threads.rs:30:7 [INFO] [stderr] | [INFO] [stderr] 30 | let mut core = Core::new()?; [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: constant `scale` should have an upper case name [INFO] [stderr] --> examples/collate_threads.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | const scale: u64 = 100; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `SCALE` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `futures::MapErr` that must be used [INFO] [stderr] --> examples/collate_threads.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | / t1_tx.clone() [INFO] [stderr] 41 | | .send(0) [INFO] [stderr] 42 | | .then(|tx| [INFO] [stderr] 43 | | match tx { [INFO] [stderr] ... | [INFO] [stderr] 53 | | ) [INFO] [stderr] 54 | | .map_err(|_err| ()); [INFO] [stderr] | |______________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: unused `futures::MapErr` that must be used [INFO] [stderr] --> examples/collate_threads.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | / t2_tx.clone() [INFO] [stderr] 66 | | .send(1) [INFO] [stderr] 67 | | .then(|tx| [INFO] [stderr] 68 | | match tx { [INFO] [stderr] ... | [INFO] [stderr] 78 | | ) [INFO] [stderr] 79 | | .map_err(|_err| ()); [INFO] [stderr] | |______________________________^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> examples/collate_threads.rs:90:3 [INFO] [stderr] | [INFO] [stderr] 90 | t1.join(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> examples/collate_threads.rs:91:3 [INFO] [stderr] | [INFO] [stderr] 91 | t2.join(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> examples/database.rs:36:61 [INFO] [stderr] | [INFO] [stderr] 36 | fn creat_user(connection: &SqliteConnection, name: &str) -> usize { [INFO] [stderr] | ---------- ^^^^^ expected usize, found () [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] ... [INFO] [stderr] 41 | .expect("Error creating new user"); [INFO] [stderr] | - help: consider removing this semicolon [INFO] [stderr] | [INFO] [stderr] = note: expected type `usize` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> examples/database.rs:46:23 [INFO] [stderr] | [INFO] [stderr] 46 | let id = creat_user(connection, "Matilda"); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected reference, found struct `diesel::SqliteConnection` [INFO] [stderr] | help: consider borrowing here: `&connection` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&diesel::SqliteConnection` [INFO] [stderr] found type `diesel::SqliteConnection` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `garage_rfid`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/database2.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/gatekeeper.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/gatekeeper.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Mutex` [INFO] [stderr] --> examples/gatekeeper.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::OpenOptions` [INFO] [stderr] --> examples/gatekeeper.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::fs::OpenOptions; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `garage_rfid::schema::credentials` [INFO] [stderr] --> examples/gatekeeper.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use garage_rfid::schema::credentials; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `garage_rfid::schema::users` [INFO] [stderr] --> examples/gatekeeper.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use garage_rfid::schema::users; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/slog.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `garage_rfid::schema::users` [INFO] [stderr] --> examples/slog.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use garage_rfid::schema::users; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> examples/mio_evented_test.rs:41:16 [INFO] [stderr] | [INFO] [stderr] 41 | const TOKEN_0: Token = Token(0); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Token` in this scope [INFO] [stderr] --> examples/mio_evented_test.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | const TOKEN_0: Token = Token(0); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> examples/mio_evented_test.rs:42:16 [INFO] [stderr] | [INFO] [stderr] 42 | const TOKEN_1: Token = Token(1); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Token` in this scope [INFO] [stderr] --> examples/mio_evented_test.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | const TOKEN_1: Token = Token(1); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> examples/mio_evented_test.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::unix::io::AsRawFd` [INFO] [stderr] --> examples/mio_evented_test.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use std::os::unix::io::AsRawFd; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> examples/mio_evented_test.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> examples/slog.rs:21:49 [INFO] [stderr] | [INFO] [stderr] 21 | User::create(&logger, &database.connection(), name) [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &str, found struct `std::string::String` [INFO] [stderr] | help: consider borrowing here: `&name` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> examples/gatekeeper.rs:25:49 [INFO] [stderr] | [INFO] [stderr] 25 | User::create(&logger, &database.connection(), name) [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &str, found struct `std::string::String` [INFO] [stderr] | help: consider borrowing here: `&name` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> examples/database2.rs:23:3 [INFO] [stderr] | [INFO] [stderr] 23 | User::create(connection, name) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 parameters but 5 parameters were supplied [INFO] [stderr] --> examples/database2.rs:30:3 [INFO] [stderr] | [INFO] [stderr] 30 | Credential::create(connection, &user.id, name, variety, value) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 6 parameters [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `garage_rfid`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `garage_rfid`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `garage_rfid`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `garage_rfid`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused import: `FromState` [INFO] [stderr] --> src/api/garage_door_controller.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use gotham::state::{FromState, State}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HandlerFuture`, `IntoHandlerError` [INFO] [stderr] --> src/api/garage_door_controller.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use gotham::handler::{HandlerFuture, IntoHandlerError}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Future`, `Stream`, `future` [INFO] [stderr] --> src/api/garage_door_controller.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::{future, Future, Stream}; [INFO] [stderr] | ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Body`, `self` [INFO] [stderr] --> src/api/garage_door_controller.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use hyper::{self, Body, Response, StatusCode}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `slog` [INFO] [stderr] --> src/api/garage_door_controller.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use slog; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/api/users_update_action.rs:33:32 [INFO] [stderr] | [INFO] [stderr] 33 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: cannot find type `User` in this scope [INFO] [stderr] --> src/models/credential.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, Queryable)] [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 `Credential` in this scope [INFO] [stderr] --> src/models/credential.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `credentials` in this scope [INFO] [stderr] --> src/models/credential.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `Credential` in this scope [INFO] [stderr] --> src/models/credential.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `credentials` in this scope [INFO] [stderr] --> src/models/credential.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `credentials` in this scope [INFO] [stderr] --> src/models/credential.rs:10:45 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `Credential` in this scope [INFO] [stderr] --> src/models/credential.rs:10:45 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `NaiveDateTime` in this scope [INFO] [stderr] --> src/models/credential.rs:10:45 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `NaiveDateTime` in this scope [INFO] [stderr] --> src/models/credential.rs:10:57 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `Credential` in this scope [INFO] [stderr] --> src/models/credential.rs:10:57 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Associations, Debug, Identifiable, Insertable, 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 `User` in this scope [INFO] [stderr] --> src/models/user.rs:9:41 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `users` in this scope [INFO] [stderr] --> src/models/user.rs:9:41 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `users` in this scope [INFO] [stderr] --> src/models/user.rs:9:55 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `User` in this scope [INFO] [stderr] --> src/models/user.rs:9:55 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `NaiveDateTime` in this scope [INFO] [stderr] --> src/models/user.rs:9:55 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `NaiveDateTime` in this scope [INFO] [stderr] --> src/models/user.rs:9:67 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `User` in this scope [INFO] [stderr] --> src/models/user.rs:9:67 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Serialize, Deserialize, Identifiable, Insertable, 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 `table` in this scope [INFO] [stderr] --> <::diesel::macros::table_body macros>:192:41 [INFO] [stderr] | [INFO] [stderr] 192 | [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:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `user_id` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `name` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `variety` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `value` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `created_at` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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 `updated_at` in this scope [INFO] [stderr] --> <::diesel::macros::__diesel_column macros>:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | [derive (Debug , Clone , Copy , QueryId , Default)] pub 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: unused variable: `logger` [INFO] [stderr] --> src/api/garage_door_controller.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | let logger = ControllerHelper::logger(&state); [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_logger` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `logger` [INFO] [stderr] --> src/api/garage_door_controller.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | let logger = ControllerHelper::logger(&state); [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_logger` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `logger` [INFO] [stderr] --> src/api/garage_door_controller.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | let logger = ControllerHelper::logger(&state); [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_logger` [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "c2b7e8261089158af00975af6c4beaa88fca389db71dc655e09c550940f98da2"` [INFO] running `"docker" "rm" "-f" "c2b7e8261089158af00975af6c4beaa88fca389db71dc655e09c550940f98da2"` [INFO] [stdout] c2b7e8261089158af00975af6c4beaa88fca389db71dc655e09c550940f98da2