[INFO] cloning repository https://github.com/Ryneqq/rusty_webservice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ryneqq/rusty_webservice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyneqq%2Frusty_webservice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyneqq%2Frusty_webservice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a9f4d4b98410841b8be82d1d7feccf6a27119b83
[INFO] checking Ryneqq/rusty_webservice against beta-2020-07-24 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyneqq%2Frusty_webservice" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Ryneqq/rusty_webservice on toolchain beta-2020-07-24
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Ryneqq/rusty_webservice
[INFO] finished tweaking git repo https://github.com/Ryneqq/rusty_webservice
[INFO] tweaked toml for git repo https://github.com/Ryneqq/rusty_webservice written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/Ryneqq/rusty_webservice already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded twoway v0.1.8
[INFO] [stderr]   Downloaded chunked_transfer v0.3.1
[INFO] [stderr]   Downloaded safemem v0.3.1
[INFO] [stderr]   Downloaded filetime v0.2.6
[INFO] [stderr]   Downloaded ascii v0.8.7
[INFO] [stderr]   Downloaded tiny_http v0.6.2
[INFO] [stderr]   Downloaded rouille v3.0.0
[INFO] [stderr]   Downloaded gzip-header v0.3.0
[INFO] [stderr]   Downloaded libsqlite3-sys v0.12.0
[INFO] [stderr]   Downloaded multipart v0.15.4
[INFO] [stderr]   Downloaded syn v0.15.43
[INFO] [stderr]   Downloaded blake2b_simd v0.5.6
[INFO] [stderr]   Downloaded rust-argon2 v0.5.0
[INFO] [stderr]   Downloaded buf_redux v0.8.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1633988719c0571486c5135f8b20b3d3bff6ce2cdd17551716a2b056f68dd6b4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1633988719c0571486c5135f8b20b3d3bff6ce2cdd17551716a2b056f68dd6b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1633988719c0571486c5135f8b20b3d3bff6ce2cdd17551716a2b056f68dd6b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1633988719c0571486c5135f8b20b3d3bff6ce2cdd17551716a2b056f68dd6b4", kill_on_drop: false }`
[INFO] [stdout] 1633988719c0571486c5135f8b20b3d3bff6ce2cdd17551716a2b056f68dd6b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4e69b55c89e9bae5c19bf28c3c79ca9bd1b3cc947115c7d733cae19ada1caa32
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4e69b55c89e9bae5c19bf28c3c79ca9bd1b3cc947115c7d733cae19ada1caa32", kill_on_drop: false }`
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling syn v0.15.43
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]     Checking safemem v0.3.1
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]     Checking utf8-ranges v1.0.4
[INFO] [stderr]     Checking sha1 v0.6.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling libsqlite3-sys v0.12.0
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]     Checking regex-syntax v0.5.6
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]     Checking httparse v1.3.4
[INFO] [stderr]     Checking dirs v1.0.5
[INFO] [stderr]     Checking filetime v0.2.6
[INFO] [stderr]     Checking unicode-normalization v0.1.8
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]     Checking serde_json v1.0.40
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking threadpool v1.7.1
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking phf v0.7.24
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]     Checking gzip-header v0.3.0
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking mime v0.2.6
[INFO] [stderr]     Checking chrono v0.4.7
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking term v0.5.2
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling mime_guess v1.8.7
[INFO] [stderr]     Checking tiny_http v0.6.2
[INFO] [stderr]     Checking dotenv v0.9.0
[INFO] [stderr]     Checking multipart v0.15.4
[INFO] [stderr]     Checking brotli2 v0.3.2
[INFO] [stderr]    Compiling diesel_derives v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.98
[INFO] [stderr]     Checking diesel v1.4.2
[INFO] [stderr]     Checking rouille v3.0.0
[INFO] [stderr]     Checking rusty_webservice v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/db/mod.rs:27:39
[INFO] [stdout]    |
[INFO] [stdout] 27 |         .expect("Error loading posts")
[INFO] [stdout]    |                                       ^ help: add `;` here
[INFO] [stdout] 28 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/db/mod.rs:27:39
[INFO] [stdout]    |
[INFO] [stdout] 27 |         .expect("Error loading posts")
[INFO] [stdout]    |                                       ^ help: add `;` here
[INFO] [stdout] 28 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found module `posts`
[INFO] [stdout]   --> src/db/mod.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let results = posts
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use the path separator to refer to an item
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let results = posts::load::<Post>(conn)
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout] help: consider importing this unit struct instead
[INFO] [stdout]    |
[INFO] [stdout] 3  | use crate::posts;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: function `read_posts` is private
[INFO] [stdout]   --> src/main.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let posts = db::read_posts(&connection);
[INFO] [stdout]    |                     ^^^^^^^^^^ private function
[INFO] [stdout]    |
[INFO] [stdout] note: the function `read_posts` is defined here
[INFO] [stdout]   --> src/db/mod.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn read_posts(conn: &SqliteConnection) -> Vec<Post> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stdout]   --> src/routes.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 | /         post_input!(request, {
[INFO] [stdout] 60 | |             login: String,
[INFO] [stdout] 61 | |             password: String,
[INFO] [stdout] 62 | |         }
[INFO] [stdout] 63 | |     ));
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stdout]   --> src/routes.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 | /         post_input!(request, {
[INFO] [stdout] 60 | |             login: String,
[INFO] [stdout] 61 | |             password: String,
[INFO] [stdout] 62 | |         }
[INFO] [stdout] 63 | |     ));
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::query_dsl::select_dsl::SelectDsl`
[INFO] [stdout]  --> src/db/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use diesel::query_dsl::select_dsl::SelectDsl;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::db::models::Post`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use self::db::models::Post;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found module `posts`
[INFO] [stdout]   --> src/db/mod.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let results = posts
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use the path separator to refer to an item
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let results = posts::load::<Post>(conn)
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout] help: consider importing this unit struct instead
[INFO] [stdout]    |
[INFO] [stdout] 3  | use crate::posts;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: function `read_posts` is private
[INFO] [stdout]   --> src/main.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let posts = db::read_posts(&connection);
[INFO] [stdout]    |                     ^^^^^^^^^^ private function
[INFO] [stdout]    |
[INFO] [stdout] note: the function `read_posts` is defined here
[INFO] [stdout]   --> src/db/mod.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn read_posts(conn: &SqliteConnection) -> Vec<Post> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stdout]   --> src/routes.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 | /         post_input!(request, {
[INFO] [stdout] 60 | |             login: String,
[INFO] [stdout] 61 | |             password: String,
[INFO] [stdout] 62 | |         }
[INFO] [stdout] 63 | |     ));
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stdout]   --> src/routes.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 | /         post_input!(request, {
[INFO] [stdout] 60 | |             login: String,
[INFO] [stdout] 61 | |             password: String,
[INFO] [stdout] 62 | |         }
[INFO] [stdout] 63 | |     ));
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::query_dsl::select_dsl::SelectDsl`
[INFO] [stdout]  --> src/db/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use diesel::query_dsl::select_dsl::SelectDsl;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::db::models::Post`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use self::db::models::Post;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let posts = db::read_posts(&connection);
[INFO] [stdout]    |           ^^^^^   --------------------------- this expression has type `std::vec::Vec<db::models::Post>`
[INFO] [stdout]    |           |
[INFO] [stdout]    |           expected struct `std::vec::Vec`, found struct `schema::posts::table`
[INFO] [stdout]    |           `posts` is interpreted as a unit struct, not a new binding
[INFO] [stdout]    |           help: introduce a new binding instead: `other_posts`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     posts (id) {
[INFO] [stdout] 3  | |         id -> Integer,
[INFO] [stdout] 4  | |         title -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 7  | |     }
[INFO] [stdout] 8  | | }
[INFO] [stdout]    | |_- unit struct defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `std::vec::Vec<db::models::Post>`
[INFO] [stdout]               found struct `schema::posts::table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for struct `schema::posts::table` in the current scope
[INFO] [stdout]   --> src/main.rs:24:43
[INFO] [stdout]    |
[INFO] [stdout] 24 |       println!("Displaying {} posts", posts.len());
[INFO] [stdout]    |                                             ^^^ method not found in `schema::posts::table`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     posts (id) {
[INFO] [stdout] 3  | |         id -> Integer,
[INFO] [stdout] 4  | |         title -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 7  | |     }
[INFO] [stdout] 8  | | }
[INFO] [stdout]    | |_- method `len` not found for this
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `len`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `std::iter::ExactSizeIterator`
[INFO] [stdout]            candidate #2: `regex::input::Input`
[INFO] [stdout]            candidate #3: `aho_corasick::autiter::Automaton`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let posts = db::read_posts(&connection);
[INFO] [stdout]    |           ^^^^^   --------------------------- this expression has type `std::vec::Vec<db::models::Post>`
[INFO] [stdout]    |           |
[INFO] [stdout]    |           expected struct `std::vec::Vec`, found struct `schema::posts::table`
[INFO] [stdout]    |           `posts` is interpreted as a unit struct, not a new binding
[INFO] [stdout]    |           help: introduce a new binding instead: `other_posts`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     posts (id) {
[INFO] [stdout] 3  | |         id -> Integer,
[INFO] [stdout] 4  | |         title -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 7  | |     }
[INFO] [stdout] 8  | | }
[INFO] [stdout]    | |_- unit struct defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `std::vec::Vec<db::models::Post>`
[INFO] [stdout]               found struct `schema::posts::table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `schema::posts::table` is not an iterator
[INFO] [stdout]   --> src/main.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |     for post in posts {
[INFO] [stdout]    |                 ^^^^^ `schema::posts::table` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::iter::Iterator` is not implemented for `schema::posts::table`
[INFO] [stdout]    = note: required by `std::iter::IntoIterator::into_iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/db/mod.rs:24:43
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn read_posts(conn: &SqliteConnection) -> Vec<Post> {
[INFO] [stdout]    |    ----------                             ^^^^^^^^^ expected struct `std::vec::Vec`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `std::vec::Vec<db::models::Post>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for struct `schema::posts::table` in the current scope
[INFO] [stdout]   --> src/main.rs:24:43
[INFO] [stdout]    |
[INFO] [stdout] 24 |       println!("Displaying {} posts", posts.len());
[INFO] [stdout]    |                                             ^^^ method not found in `schema::posts::table`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     posts (id) {
[INFO] [stdout] 3  | |         id -> Integer,
[INFO] [stdout] 4  | |         title -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 7  | |     }
[INFO] [stdout] 8  | | }
[INFO] [stdout]    | |_- method `len` not found for this
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `len`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `std::iter::ExactSizeIterator`
[INFO] [stdout]            candidate #2: `regex::input::Input`
[INFO] [stdout]            candidate #3: `aho_corasick::autiter::Automaton`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `schema::posts::table` is not an iterator
[INFO] [stdout]   --> src/main.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |     for post in posts {
[INFO] [stdout]    |                 ^^^^^ `schema::posts::table` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::iter::Iterator` is not implemented for `schema::posts::table`
[INFO] [stdout]    = note: required by `std::iter::IntoIterator::into_iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/db/mod.rs:24:43
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn read_posts(conn: &SqliteConnection) -> Vec<Post> {
[INFO] [stdout]    |    ----------                             ^^^^^^^^^ expected struct `std::vec::Vec`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `std::vec::Vec<db::models::Post>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusty_webservice`.
[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] [stdout] error: aborting due to 7 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "4e69b55c89e9bae5c19bf28c3c79ca9bd1b3cc947115c7d733cae19ada1caa32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e69b55c89e9bae5c19bf28c3c79ca9bd1b3cc947115c7d733cae19ada1caa32", kill_on_drop: false }`
[INFO] [stdout] 4e69b55c89e9bae5c19bf28c3c79ca9bd1b3cc947115c7d733cae19ada1caa32
