[INFO] updating cached repository https://github.com/DavidBM/templic-backend
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 804a965d10a0c13fc29e9c8eecd76e4002dd6341
[INFO] checking DavidBM/templic-backend against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidBM%2Ftemplic-backend" "/workspace/builds/worker-8/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/DavidBM/templic-backend on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/DavidBM/templic-backend
[INFO] removed path dependency iron-cors from git repo https://github.com/DavidBM/templic-backend
[INFO] finished tweaking git repo https://github.com/DavidBM/templic-backend
[INFO] tweaked toml for git repo https://github.com/DavidBM/templic-backend written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/DavidBM/templic-backend already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: dependency (iron-cors) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/iron/body-parser.git`
[INFO] [stderr]     Updating git repository `https://github.com/iron/mount.git`
[INFO] [stderr]     Updating git repository `https://github.com/iron/iron`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: dependency (iron-cors) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d49aad08f431c87d521f568fd00381ba086879e0cc3408ba4aa96c2f04afe72a
[INFO] running `"docker" "start" "-a" "d49aad08f431c87d521f568fd00381ba086879e0cc3408ba4aa96c2f04afe72a"`
[INFO] [stderr] warning: dependency (iron-cors) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]     Checking futures v0.1.29
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking smallvec v1.3.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]     Checking modifier v0.1.0
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]     Checking serde v0.9.15
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]     Checking nodrop v0.1.14
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking antidote v1.0.0
[INFO] [stderr]     Checking slog v2.0.12
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking route-recognizer v0.1.13
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking sequence_trie v0.3.6
[INFO] [stderr]     Checking dtoa v0.4.5
[INFO] [stderr]     Checking term v0.4.6
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking unsafe-any v0.4.2
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking unicode-normalization v0.1.12
[INFO] [stderr]     Checking scheduled-thread-pool v0.1.0
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]     Checking typemap v0.3.3
[INFO] [stderr]    Compiling hyper v0.12.35
[INFO] [stderr]     Checking plugin v0.2.6
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking r2d2 v0.7.4
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking base64 v0.4.2
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking want v0.2.0
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking isatty v0.1.9
[INFO] [stderr]     Checking parking_lot_core v0.6.2
[INFO] [stderr]     Checking blake2-rfc v0.2.18
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking futures-cpupool v0.1.8
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]    Compiling serde_codegen_internals v0.14.2
[INFO] [stderr]     Checking mio v0.6.21
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking parking_lot v0.9.0
[INFO] [stderr]     Checking argon2rs v0.2.5
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking http v0.1.21
[INFO] [stderr]     Checking string v0.2.1
[INFO] [stderr]     Checking tokio-buf v0.1.1
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking serde_json v0.9.10
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking chrono v0.3.0
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]     Checking dotenv v0.8.0
[INFO] [stderr]    Compiling serde_derive v0.9.15
[INFO] [stderr]     Checking slog-term v2.0.4
[INFO] [stderr]     Checking diesel v0.12.1
[INFO] [stderr]     Checking http-body v0.1.0
[INFO] [stderr]     Checking h2 v0.1.26
[INFO] [stderr]     Checking iron v0.6.1
[INFO] [stderr]     Checking persistent v0.4.0
[INFO] [stderr]     Checking router v0.6.0
[INFO] [stderr]     Checking iron-cors v0.8.0
[INFO] [stderr]     Checking jsonwebtoken v1.1.3
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking slog-json v2.0.2
[INFO] [stderr]     Checking bodyparser v0.8.0 (https://github.com/iron/body-parser.git#49ae53cd)
[INFO] [stderr]     Checking r2d2-diesel v0.12.0
[INFO] [stderr]     Checking iron v0.6.0 (https://github.com/iron/iron#46eecad0)
[INFO] [stderr]     Checking mount v0.4.0 (https://github.com/iron/mount.git#5dbbc881)
[INFO] [stderr]    Compiling diesel_infer_schema v0.12.0
[INFO] [stderr]    Compiling diesel_codegen v0.12.0
[INFO] [stderr]     Checking templic-backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: proc-macro derive panicked
[INFO] [stderr]  --> src/dal/db_schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | infer_schema!("dotenv:DATABASE_URL");
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: message: Could not load table names from database `postgres://postgres:postgres@localhost/test`: "Failed to establish a database connection at postgres://postgres:postgres@localhost/test. Error: BadConnection(\"could not connect to server: Connection refused\\n\\tIs the server running on host \\\"localhost\\\" (127.0.0.1) and accepting\\n\\tTCP/IP connections on port 5432?\\ncould not connect to server: Cannot assign requested address\\n\\tIs the server running on host \\\"localhost\\\" (::1) and accepting\\n\\tTCP/IP connections on port 5432?\\n\")"
[INFO] [stderr]   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: proc-macro derive panicked
[INFO] [stderr]  --> src/dal/db_schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | infer_schema!("dotenv:DATABASE_URL");
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: message: Could not load table names from database `postgres://postgres:postgres@localhost/test`: "Failed to establish a database connection at postgres://postgres:postgres@localhost/test. Error: BadConnection(\"could not connect to server: Connection refused\\n\\tIs the server running on host \\\"localhost\\\" (127.0.0.1) and accepting\\n\\tTCP/IP connections on port 5432?\\ncould not connect to server: Cannot assign requested address\\n\\tIs the server running on host \\\"localhost\\\" (::1) and accepting\\n\\tTCP/IP connections on port 5432?\\n\")"
[INFO] [stderr]   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:11:17
[INFO] [stderr]    |
[INFO] [stderr] 11 | #[derive(Debug, Insertable, Deserialize)]
[INFO] [stderr]    |                 ^^^^^^^^^^ use of undeclared type or module `users`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:27:46
[INFO] [stderr]    |
[INFO] [stderr] 27 | #[derive(Clone, Debug, Queryable, Serialize, AsChangeset, Identifiable)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^ use of undeclared type or module `users`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:11:17
[INFO] [stderr]    |
[INFO] [stderr] 11 | #[derive(Debug, Insertable, Deserialize)]
[INFO] [stderr]    |                 ^^^^^^^^^^ use of undeclared type or module `users`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:27:59
[INFO] [stderr]    |
[INFO] [stderr] 27 | #[derive(Clone, Debug, Queryable, Serialize, AsChangeset, Identifiable)]
[INFO] [stderr]    |                                                           ^^^^^^^^^^^^ use of undeclared type or module `users`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:39:19
[INFO] [stderr]    |
[INFO] [stderr] 39 |         let statement = users::table.filter(users::id.eq(user_id));
[INFO] [stderr]    |                         ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:39:39
[INFO] [stderr]    |
[INFO] [stderr] 39 |         let statement = users::table.filter(users::id.eq(user_id));
[INFO] [stderr]    |                                             ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:52:19
[INFO] [stderr]    |
[INFO] [stderr] 52 |         let statement = users::table.filter(
[INFO] [stderr]    |                         ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:53:4
[INFO] [stderr]    |
[INFO] [stderr] 53 |             users::name.eq(&login.user_or_email)
[INFO] [stderr]    |             ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:54:8
[INFO] [stderr]    |
[INFO] [stderr] 54 |             .or(users::email.eq(&login.user_or_email))
[INFO] [stderr]    |                 ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:69:9
[INFO] [stderr]    |
[INFO] [stderr] 69 |         .into(users::table);
[INFO] [stderr]    |               ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]    --> src/dal/models/user.rs:111:34
[INFO] [stderr]     |
[INFO] [stderr] 111 |         let statement = diesel::delete(users::table.filter(users::id.eq(user_id)));
[INFO] [stderr]     |                                        ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]    --> src/dal/models/user.rs:111:54
[INFO] [stderr]     |
[INFO] [stderr] 111 |         let statement = diesel::delete(users::table.filter(users::id.eq(user_id)));
[INFO] [stderr]     |                                                            ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:27:46
[INFO] [stderr]    |
[INFO] [stderr] 27 | #[derive(Clone, Debug, Queryable, Serialize, AsChangeset, Identifiable)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^ use of undeclared type or module `users`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]  --> src/dal/models/post.rs:8:17
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[derive(Debug, Insertable, Deserialize)]
[INFO] [stderr]   |                 ^^^^^^^^^^ use of undeclared type or module `posts`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]   --> src/dal/models/post.rs:17:46
[INFO] [stderr]    |
[INFO] [stderr] 17 | #[derive(Clone, Debug, Queryable, Serialize, Identifiable, Associations)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^^ use of undeclared type or module `posts`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:27:59
[INFO] [stderr]    |
[INFO] [stderr] 27 | #[derive(Clone, Debug, Queryable, Serialize, AsChangeset, Identifiable)]
[INFO] [stderr]    |                                                           ^^^^^^^^^^^^ use of undeclared type or module `users`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:39:19
[INFO] [stderr]    |
[INFO] [stderr] 39 |         let statement = users::table.filter(users::id.eq(user_id));
[INFO] [stderr]    |                         ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:39:39
[INFO] [stderr]    |
[INFO] [stderr] 39 |         let statement = users::table.filter(users::id.eq(user_id));
[INFO] [stderr]    |                                             ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:52:19
[INFO] [stderr]    |
[INFO] [stderr] 52 |         let statement = users::table.filter(
[INFO] [stderr]    |                         ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:53:4
[INFO] [stderr]    |
[INFO] [stderr] 53 |             users::name.eq(&login.user_or_email)
[INFO] [stderr]    |             ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:54:8
[INFO] [stderr]    |
[INFO] [stderr] 54 |             .or(users::email.eq(&login.user_or_email))
[INFO] [stderr]    |                 ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]   --> src/dal/models/user.rs:69:9
[INFO] [stderr]    |
[INFO] [stderr] 69 |         .into(users::table);
[INFO] [stderr]    |               ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]    --> src/dal/models/user.rs:111:34
[INFO] [stderr]     |
[INFO] [stderr] 111 |         let statement = diesel::delete(users::table.filter(users::id.eq(user_id)));
[INFO] [stderr]     |                                        ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `users`
[INFO] [stderr]    --> src/dal/models/user.rs:111:54
[INFO] [stderr]     |
[INFO] [stderr] 111 |         let statement = diesel::delete(users::table.filter(users::id.eq(user_id)));
[INFO] [stderr]     |                                                            ^^^^^ use of undeclared type or module `users`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]  --> src/dal/models/post.rs:8:17
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[derive(Debug, Insertable, Deserialize)]
[INFO] [stderr]   |                 ^^^^^^^^^^ use of undeclared type or module `posts`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]   --> src/dal/models/post.rs:17:60
[INFO] [stderr]    |
[INFO] [stderr] 17 | #[derive(Clone, Debug, Queryable, Serialize, Identifiable, Associations)]
[INFO] [stderr]    |                                                            ^^^^^^^^^^^^ use of undeclared type or module `posts`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]   --> src/dal/models/post.rs:17:46
[INFO] [stderr]    |
[INFO] [stderr] 17 | #[derive(Clone, Debug, Queryable, Serialize, Identifiable, Associations)]
[INFO] [stderr]    |                                              ^^^^^^^^^^^^ use of undeclared type or module `posts`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]   --> src/dal/models/post.rs:17:60
[INFO] [stderr]    |
[INFO] [stderr] 17 | #[derive(Clone, Debug, Queryable, Serialize, Identifiable, Associations)]
[INFO] [stderr]    |                                                            ^^^^^^^^^^^^ use of undeclared type or module `posts`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]   --> src/dal/models/post.rs:17:60
[INFO] [stderr]    |
[INFO] [stderr] 17 | #[derive(Clone, Debug, Queryable, Serialize, Identifiable, Associations)]
[INFO] [stderr]    |                                                            ^^^^^^^^^^^^ use of undeclared type or module `posts`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]   --> src/dal/models/post.rs:17:60
[INFO] [stderr]    |
[INFO] [stderr] 17 | #[derive(Clone, Debug, Queryable, Serialize, Identifiable, Associations)]
[INFO] [stderr]    |                                                            ^^^^^^^^^^^^ use of undeclared type or module `posts`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]   --> src/dal/models/post.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 29 |         .into(posts::table);
[INFO] [stderr]    |               ^^^^^ use of undeclared type or module `posts`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]   --> src/dal/models/post.rs:45:19
[INFO] [stderr]    |
[INFO] [stderr] 45 |         let statement = posts::table.filter(posts::user_id.eq(user_id));
[INFO] [stderr]    |                         ^^^^^ use of undeclared type or module `posts`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]   --> src/dal/models/post.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 29 |         .into(posts::table);
[INFO] [stderr]    |               ^^^^^ use of undeclared type or module `posts`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]   --> src/dal/models/post.rs:45:19
[INFO] [stderr]    |
[INFO] [stderr] 45 |         let statement = posts::table.filter(posts::user_id.eq(user_id));
[INFO] [stderr]    |                         ^^^^^ use of undeclared type or module `posts`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]   --> src/dal/models/post.rs:45:39
[INFO] [stderr]    |
[INFO] [stderr] 45 |         let statement = posts::table.filter(posts::user_id.eq(user_id));
[INFO] [stderr]    |                                             ^^^^^ use of undeclared type or module `posts`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `posts`
[INFO] [stderr]   --> src/dal/models/post.rs:45:39
[INFO] [stderr]    |
[INFO] [stderr] 45 |         let statement = posts::table.filter(posts::user_id.eq(user_id));
[INFO] [stderr]    |                                             ^^^^^ use of undeclared type or module `posts`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `dal::db_schema::*`
[INFO] [stderr]  --> src/dal/models/user.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use dal::db_schema::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `dal::db_schema::*`
[INFO] [stderr]  --> src/dal/models/post.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use dal::db_schema::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `dal::db_schema::*`
[INFO] [stderr]  --> src/dal/models/user.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use dal::db_schema::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused macro definition
[INFO] [stderr]    --> src/controllers/utils.rs:121:1
[INFO] [stderr]     |
[INFO] [stderr] 121 | / macro_rules! filter_struct_values_for_json {
[INFO] [stderr] 122 | |     ($item:expr, $($key:expr),*) => {
[INFO] [stderr] 123 | |         {
[INFO] [stderr] 124 | |             let mut structure = serde_json::to_value(&$item).expect("Not possible to serialize to JSON");
[INFO] [stderr] ...   |
[INFO] [stderr] 134 | |     }
[INFO] [stderr] 135 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/middlewares/utils.rs:24:29
[INFO] [stderr]    |
[INFO] [stderr] 24 |     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: unused import: `dal::db_schema::*`
[INFO] [stderr]  --> src/dal/models/post.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use dal::db_schema::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused macro definition
[INFO] [stderr]    --> src/controllers/utils.rs:121:1
[INFO] [stderr]     |
[INFO] [stderr] 121 | / macro_rules! filter_struct_values_for_json {
[INFO] [stderr] 122 | |     ($item:expr, $($key:expr),*) => {
[INFO] [stderr] 123 | |         {
[INFO] [stderr] 124 | |             let mut structure = serde_json::to_value(&$item).expect("Not possible to serialize to JSON");
[INFO] [stderr] ...   |
[INFO] [stderr] 134 | |     }
[INFO] [stderr] 135 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/middlewares/utils.rs:24:29
[INFO] [stderr]    |
[INFO] [stderr] 24 |     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: use of deprecated item 'iron::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/controllers/utils.rs:78:60
[INFO] [stderr]    |
[INFO] [stderr] 78 |                 Err(error) => return $error_fn(format!("{}: {}", error.description(), error))
[INFO] [stderr]    |                                                                        ^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/controllers/login.rs:18:22
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let login_data = get_body_as!(Login, req, response_bad_request);
[INFO] [stderr]    |                      ---------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/controllers/utils.rs:78:60
[INFO] [stderr]    |
[INFO] [stderr] 78 |                 Err(error) => return $error_fn(format!("{}: {}", error.description(), error))
[INFO] [stderr]    |                                                                        ^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/controllers/login.rs:39:20
[INFO] [stderr]    |
[INFO] [stderr] 39 |     let mut user = get_body_as!(NewUser, req, response_bad_request);
[INFO] [stderr]    |                    ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/controllers/utils.rs:78:60
[INFO] [stderr]    |
[INFO] [stderr] 78 |                 Err(error) => return $error_fn(format!("{}: {}", error.description(), error))
[INFO] [stderr]    |                                                                        ^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/controllers/user.rs:45:16
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let user = get_body_as!(UpdateUser, req, response_bad_request);
[INFO] [stderr]    |                --------------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/controllers/utils.rs:78:60
[INFO] [stderr]    |
[INFO] [stderr] 78 |                 Err(error) => return $error_fn(format!("{}: {}", error.description(), error))
[INFO] [stderr]    |                                                                        ^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/controllers/login.rs:18:22
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let login_data = get_body_as!(Login, req, response_bad_request);
[INFO] [stderr]    |                      ---------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/controllers/utils.rs:78:60
[INFO] [stderr]    |
[INFO] [stderr] 78 |                 Err(error) => return $error_fn(format!("{}: {}", error.description(), error))
[INFO] [stderr]    |                                                                        ^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/controllers/login.rs:39:20
[INFO] [stderr]    |
[INFO] [stderr] 39 |     let mut user = get_body_as!(NewUser, req, response_bad_request);
[INFO] [stderr]    |                    ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/controllers/utils.rs:78:60
[INFO] [stderr]    |
[INFO] [stderr] 78 |                 Err(error) => return $error_fn(format!("{}: {}", error.description(), error))
[INFO] [stderr]    |                                                                        ^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/controllers/post.rs:6:24
[INFO] [stderr]    |
[INFO] [stderr] 6  |     let mut new_post = get_body_as!(NewPost, req, response_bad_request);
[INFO] [stderr]    |                        ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/controllers/utils.rs:78:60
[INFO] [stderr]    |
[INFO] [stderr] 78 |                 Err(error) => return $error_fn(format!("{}: {}", error.description(), error))
[INFO] [stderr]    |                                                                        ^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/controllers/user.rs:45:16
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let user = get_body_as!(UpdateUser, req, response_bad_request);
[INFO] [stderr]    |                --------------------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/controllers/utils.rs:78:60
[INFO] [stderr]    |
[INFO] [stderr] 78 |                 Err(error) => return $error_fn(format!("{}: {}", error.description(), error))
[INFO] [stderr]    |                                                                        ^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/controllers/post.rs:6:24
[INFO] [stderr]    |
[INFO] [stderr] 6  |     let mut new_post = get_body_as!(NewPost, req, response_bad_request);
[INFO] [stderr]    |                        ------------------------------------------------ in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount`
[INFO] [stderr]    --> src/http_adaptor/adaptor.rs:33:30
[INFO] [stderr]     |
[INFO] [stderr] 33  |         let mut chain = Chain::new(routes);
[INFO] [stderr]     |                                    ^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/iron-0.6.1/src/middleware/mod.rs:218:19
[INFO] [stderr]     |
[INFO] [stderr] 218 |     pub fn new<H: Handler>(handler: H) -> Chain {
[INFO] [stderr]     |                   ------- required by this bound in `iron::Chain::new`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `for<'r, 's, 't0> std::ops::Fn<(&'r mut iron::Request<'s, 't0>,)>` is not implemented for `mount::Mount`
[INFO] [stderr]     = note: required because of the requirements on the impl of `iron::Handler` for `mount::Mount`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount`
[INFO] [stderr]    --> src/http_adaptor/adaptor.rs:33:30
[INFO] [stderr]     |
[INFO] [stderr] 33  |         let mut chain = Chain::new(routes);
[INFO] [stderr]     |                                    ^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/iron-0.6.1/src/middleware/mod.rs:218:19
[INFO] [stderr]     |
[INFO] [stderr] 218 |     pub fn new<H: Handler>(handler: H) -> Chain {
[INFO] [stderr]     |                   ------- required by this bound in `iron::Chain::new`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `for<'r, 's, 't0> std::ops::Fn<(&'r mut iron::Request<'s, 't0>,)>` is not implemented for `mount::Mount`
[INFO] [stderr]     = note: required because of the requirements on the impl of `iron::Handler` for `mount::Mount`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount`
[INFO] [stderr]    --> src/http_adaptor/adaptor.rs:33:30
[INFO] [stderr]     |
[INFO] [stderr] 33  |         let mut chain = Chain::new(routes);
[INFO] [stderr]     |                                    ^^^^^^ expected an `FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/iron-0.6.1/src/middleware/mod.rs:218:19
[INFO] [stderr]     |
[INFO] [stderr] 218 |     pub fn new<H: Handler>(handler: H) -> Chain {
[INFO] [stderr]     |                   ------- required by this bound in `iron::Chain::new`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` is not implemented for `mount::Mount`
[INFO] [stderr]     = note: required because of the requirements on the impl of `iron::Handler` for `mount::Mount`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount`
[INFO] [stderr]    --> src/http_adaptor/adaptor.rs:33:30
[INFO] [stderr]     |
[INFO] [stderr] 33  |         let mut chain = Chain::new(routes);
[INFO] [stderr]     |                                    ^^^^^^ expected an `FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/iron-0.6.1/src/middleware/mod.rs:218:19
[INFO] [stderr]     |
[INFO] [stderr] 218 |     pub fn new<H: Handler>(handler: H) -> Chain {
[INFO] [stderr]     |                   ------- required by this bound in `iron::Chain::new`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` is not implemented for `mount::Mount`
[INFO] [stderr]     = note: required because of the requirements on the impl of `iron::Handler` for `mount::Mount`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/http_adaptor/endpoints.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |               $main_router.mount($mount_route, sub_router);
[INFO] [stderr]    |                                                ^^^^^^^^^^ expected an `Fn<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr] ...
[INFO] [stderr] 43 |       declare_multiple_endpoints!(
[INFO] [stderr]    |  _____-
[INFO] [stderr] 44 | |         routes, "/",
[INFO] [stderr] 45 | |         "ping" => get; "/ping"; [] => TestController::ping => [],
[INFO] [stderr] 46 | |         "read_login_user" => get; "/read_login_user"; [loggin.clone()] => TestController::read_login_user => [],
[INFO] [stderr] 47 | |         "login" => post; "/login"; [salt.clone()] => LoginController::login => [],
[INFO] [stderr] 48 | |         "register" => post; "/register"; [salt.clone()] => LoginController::register => []
[INFO] [stderr] 49 | |     );
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `for<'r> std::ops::Fn<(&'r mut iron::request::Request,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::middleware::Handler` for `router::Router`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/http_adaptor/endpoints.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |               $main_router.mount($mount_route, sub_router);
[INFO] [stderr]    |                                                ^^^^^^^^^^ expected an `Fn<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr] ...
[INFO] [stderr] 43 |       declare_multiple_endpoints!(
[INFO] [stderr]    |  _____-
[INFO] [stderr] 44 | |         routes, "/",
[INFO] [stderr] 45 | |         "ping" => get; "/ping"; [] => TestController::ping => [],
[INFO] [stderr] 46 | |         "read_login_user" => get; "/read_login_user"; [loggin.clone()] => TestController::read_login_user => [],
[INFO] [stderr] 47 | |         "login" => post; "/login"; [salt.clone()] => LoginController::login => [],
[INFO] [stderr] 48 | |         "register" => post; "/register"; [salt.clone()] => LoginController::register => []
[INFO] [stderr] 49 | |     );
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `for<'r> std::ops::Fn<(&'r mut iron::request::Request,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::middleware::Handler` for `router::Router`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/http_adaptor/endpoints.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |               $main_router.mount($mount_route, sub_router);
[INFO] [stderr]    |                                                ^^^^^^^^^^ expected an `FnOnce<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr] ...
[INFO] [stderr] 43 |       declare_multiple_endpoints!(
[INFO] [stderr]    |  _____-
[INFO] [stderr] 44 | |         routes, "/",
[INFO] [stderr] 45 | |         "ping" => get; "/ping"; [] => TestController::ping => [],
[INFO] [stderr] 46 | |         "read_login_user" => get; "/read_login_user"; [loggin.clone()] => TestController::read_login_user => [],
[INFO] [stderr] 47 | |         "login" => post; "/login"; [salt.clone()] => LoginController::login => [],
[INFO] [stderr] 48 | |         "register" => post; "/register"; [salt.clone()] => LoginController::register => []
[INFO] [stderr] 49 | |     );
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::ops::FnOnce<(&mut iron::request::Request,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::middleware::Handler` for `router::Router`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/http_adaptor/endpoints.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |               $main_router.mount($mount_route, sub_router);
[INFO] [stderr]    |                                                ^^^^^^^^^^ expected an `FnOnce<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr] ...
[INFO] [stderr] 43 |       declare_multiple_endpoints!(
[INFO] [stderr]    |  _____-
[INFO] [stderr] 44 | |         routes, "/",
[INFO] [stderr] 45 | |         "ping" => get; "/ping"; [] => TestController::ping => [],
[INFO] [stderr] 46 | |         "read_login_user" => get; "/read_login_user"; [loggin.clone()] => TestController::read_login_user => [],
[INFO] [stderr] 47 | |         "login" => post; "/login"; [salt.clone()] => LoginController::login => [],
[INFO] [stderr] 48 | |         "register" => post; "/register"; [salt.clone()] => LoginController::register => []
[INFO] [stderr] 49 | |     );
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::ops::FnOnce<(&mut iron::request::Request,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::middleware::Handler` for `router::Router`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/http_adaptor/endpoints.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |               $main_router.mount($mount_route, sub_router);
[INFO] [stderr]    |                                                ^^^^^^^^^^ expected an `Fn<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr] ...
[INFO] [stderr] 51 |       declare_multiple_endpoints!(
[INFO] [stderr]    |  _____-
[INFO] [stderr] 52 | |         routes, "/user/",
[INFO] [stderr] 53 | |         "get_me" => get; "/me"; [loggin.clone()] => UserController::get_me => [],
[INFO] [stderr] 54 | |         "get_user_posts" => get; "/me/post"; [loggin.clone()] => UserController::get_user_posts => [],
[INFO] [stderr] ...  |
[INFO] [stderr] 57 | |         "update_user" => put; "/:id"; [] => UserController::update => []
[INFO] [stderr] 58 | |     );
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `for<'r> std::ops::Fn<(&'r mut iron::request::Request,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::middleware::Handler` for `router::Router`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/http_adaptor/endpoints.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |               $main_router.mount($mount_route, sub_router);
[INFO] [stderr]    |                                                ^^^^^^^^^^ expected an `Fn<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr] ...
[INFO] [stderr] 51 |       declare_multiple_endpoints!(
[INFO] [stderr]    |  _____-
[INFO] [stderr] 52 | |         routes, "/user/",
[INFO] [stderr] 53 | |         "get_me" => get; "/me"; [loggin.clone()] => UserController::get_me => [],
[INFO] [stderr] 54 | |         "get_user_posts" => get; "/me/post"; [loggin.clone()] => UserController::get_user_posts => [],
[INFO] [stderr] ...  |
[INFO] [stderr] 57 | |         "update_user" => put; "/:id"; [] => UserController::update => []
[INFO] [stderr] 58 | |     );
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `for<'r> std::ops::Fn<(&'r mut iron::request::Request,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::middleware::Handler` for `router::Router`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/http_adaptor/endpoints.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |               $main_router.mount($mount_route, sub_router);
[INFO] [stderr]    |                                                ^^^^^^^^^^ expected an `FnOnce<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr] ...
[INFO] [stderr] 51 |       declare_multiple_endpoints!(
[INFO] [stderr]    |  _____-
[INFO] [stderr] 52 | |         routes, "/user/",
[INFO] [stderr] 53 | |         "get_me" => get; "/me"; [loggin.clone()] => UserController::get_me => [],
[INFO] [stderr] 54 | |         "get_user_posts" => get; "/me/post"; [loggin.clone()] => UserController::get_user_posts => [],
[INFO] [stderr] ...  |
[INFO] [stderr] 57 | |         "update_user" => put; "/:id"; [] => UserController::update => []
[INFO] [stderr] 58 | |     );
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::ops::FnOnce<(&mut iron::request::Request,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::middleware::Handler` for `router::Router`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/http_adaptor/endpoints.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |               $main_router.mount($mount_route, sub_router);
[INFO] [stderr]    |                                                ^^^^^^^^^^ expected an `FnOnce<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr] ...
[INFO] [stderr] 51 |       declare_multiple_endpoints!(
[INFO] [stderr]    |  _____-
[INFO] [stderr] 52 | |         routes, "/user/",
[INFO] [stderr] 53 | |         "get_me" => get; "/me"; [loggin.clone()] => UserController::get_me => [],
[INFO] [stderr] 54 | |         "get_user_posts" => get; "/me/post"; [loggin.clone()] => UserController::get_user_posts => [],
[INFO] [stderr] ...  |
[INFO] [stderr] 57 | |         "update_user" => put; "/:id"; [] => UserController::update => []
[INFO] [stderr] 58 | |     );
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::ops::FnOnce<(&mut iron::request::Request,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::middleware::Handler` for `router::Router`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/http_adaptor/endpoints.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |               $main_router.mount($mount_route, sub_router);
[INFO] [stderr]    |                                                ^^^^^^^^^^ expected an `Fn<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr] ...
[INFO] [stderr] 60 |       declare_multiple_endpoints!(
[INFO] [stderr]    |  _____-
[INFO] [stderr] 61 | |         routes, "/post/",
[INFO] [stderr] 62 | |         "create_post" => post; "/"; [loggin.clone()] => PostController::create => []
[INFO] [stderr] 63 | |     );
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `for<'r> std::ops::Fn<(&'r mut iron::request::Request,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::middleware::Handler` for `router::Router`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/http_adaptor/endpoints.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |               $main_router.mount($mount_route, sub_router);
[INFO] [stderr]    |                                                ^^^^^^^^^^ expected an `Fn<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr] ...
[INFO] [stderr] 60 |       declare_multiple_endpoints!(
[INFO] [stderr]    |  _____-
[INFO] [stderr] 61 | |         routes, "/post/",
[INFO] [stderr] 62 | |         "create_post" => post; "/"; [loggin.clone()] => PostController::create => []
[INFO] [stderr] 63 | |     );
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `for<'r> std::ops::Fn<(&'r mut iron::request::Request,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::middleware::Handler` for `router::Router`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/http_adaptor/endpoints.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |               $main_router.mount($mount_route, sub_router);
[INFO] [stderr]    |                                                ^^^^^^^^^^ expected an `FnOnce<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr] ...
[INFO] [stderr] 60 |       declare_multiple_endpoints!(
[INFO] [stderr]    |  _____-
[INFO] [stderr] 61 | |         routes, "/post/",
[INFO] [stderr] 62 | |         "create_post" => post; "/"; [loggin.clone()] => PostController::create => []
[INFO] [stderr] 63 | |     );
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::ops::FnOnce<(&mut iron::request::Request,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::middleware::Handler` for `router::Router`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/http_adaptor/endpoints.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |               $main_router.mount($mount_route, sub_router);
[INFO] [stderr]    |                                                ^^^^^^^^^^ expected an `FnOnce<(&mut iron::request::Request,)>` closure, found `router::Router`
[INFO] [stderr] ...
[INFO] [stderr] 60 |       declare_multiple_endpoints!(
[INFO] [stderr]    |  _____-
[INFO] [stderr] 61 | |         routes, "/post/",
[INFO] [stderr] 62 | |         "create_post" => post; "/"; [loggin.clone()] => PostController::create => []
[INFO] [stderr] 63 | |     );
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::ops::FnOnce<(&mut iron::request::Request,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::middleware::Handler` for `router::Router`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `diesel::prelude`
[INFO] [stderr]  --> src/dal/models/post.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use diesel::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `diesel::prelude`
[INFO] [stderr]  --> src/dal/models/post.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use diesel::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 27 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: aborting due to 27 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `templic-backend`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `templic-backend`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "d49aad08f431c87d521f568fd00381ba086879e0cc3408ba4aa96c2f04afe72a"`
[INFO] running `"docker" "rm" "-f" "d49aad08f431c87d521f568fd00381ba086879e0cc3408ba4aa96c2f04afe72a"`
[INFO] [stdout] d49aad08f431c87d521f568fd00381ba086879e0cc3408ba4aa96c2f04afe72a
