[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 try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyneqq%2Frusty_webservice" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Ryneqq/rusty_webservice on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain
[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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded blake2b_simd v0.5.6
[INFO] [stderr]   Downloaded safemem v0.3.1
[INFO] [stderr]   Downloaded rust-argon2 v0.5.0
[INFO] [stderr]   Downloaded syn v0.15.43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3c8b7f08713c46111f6b50a5bc82ba6362b1c33f29b62dd5bebd8fdd46f663d0
[INFO] running `Command { std: "docker" "start" "-a" "3c8b7f08713c46111f6b50a5bc82ba6362b1c33f29b62dd5bebd8fdd46f663d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c8b7f08713c46111f6b50a5bc82ba6362b1c33f29b62dd5bebd8fdd46f663d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c8b7f08713c46111f6b50a5bc82ba6362b1c33f29b62dd5bebd8fdd46f663d0", kill_on_drop: false }`
[INFO] [stdout] 3c8b7f08713c46111f6b50a5bc82ba6362b1c33f29b62dd5bebd8fdd46f663d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 936a6e2ed60f0f4a549253e558032e42ad22e699acf6f30f2805c1e09922210e
[INFO] running `Command { std: "docker" "start" "-a" "936a6e2ed60f0f4a549253e558032e42ad22e699acf6f30f2805c1e09922210e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling siphasher v0.2.3
[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]    Compiling cc v1.0.38
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]    Compiling pkg-config v0.3.15
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling ryu v1.0.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[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-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking phf_shared v0.7.24
[INFO] [stderr]     Checking unicode-normalization v0.1.8
[INFO] [stderr]     Checking safemem v0.3.1
[INFO] [stderr]    Compiling serde v1.0.98
[INFO] [stderr]     Checking phf v0.7.24
[INFO] [stderr]     Checking mime v0.2.6
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking ucd-util v0.1.5
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]    Compiling libsqlite3-sys v0.12.0
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking gzip-header v0.3.0
[INFO] [stderr]     Checking regex-syntax v0.5.6
[INFO] [stderr]     Checking num_cpus v1.10.1
[INFO] [stderr]     Checking dirs v1.0.5
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]     Checking chunked_transfer v0.3.1
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking utf8-ranges v1.0.4
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]     Checking ascii v0.8.7
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking term v0.5.2
[INFO] [stderr]     Checking threadpool v1.7.1
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]     Checking filetime v0.2.6
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking sha1 v0.6.0
[INFO] [stderr]     Checking chrono v0.4.7
[INFO] [stderr]     Checking idna v0.1.5
[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 url v1.7.2
[INFO] [stderr]     Checking tiny_http v0.6.2
[INFO] [stderr]     Checking multipart v0.15.4
[INFO] [stderr]     Checking dotenv v0.9.0
[INFO] [stderr]     Checking serde_json v1.0.40
[INFO] [stderr]    Compiling serde_derive v1.0.98
[INFO] [stderr]    Compiling diesel_derives v1.4.0
[INFO] [stderr]     Checking diesel v1.4.2
[INFO] [stderr]     Checking brotli2 v0.3.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 through its public re-export instead
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::posts;
[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 through its public re-export 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] 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 macro `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 the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `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 the macro `post_input` (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] warning: use of deprecated macro `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 the macro `post_input` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `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 the macro `post_input` (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/db/mod.rs:24:43
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn read_posts(conn: &SqliteConnection) -> Vec<Post> {
[INFO] [stdout]    |    ----------                             ^^^^^^^^^ expected `Vec<Post>`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<Post>`
[INFO] [stdout]            found unit type `()`
[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 `Vec<Post>`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<Post>`
[INFO] [stdout]            found unit type `()`
[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 `Vec<Post>`
[INFO] [stdout]    |           |
[INFO] [stdout]    |           expected `Vec<Post>`, found `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] 8  | | }
[INFO] [stdout]    | |_- unit struct defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<Post>`
[INFO] [stdout]               found struct `table`
[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 `Vec<Post>`
[INFO] [stdout]    |           |
[INFO] [stdout]    |           expected `Vec<Post>`, found `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] 8  | | }
[INFO] [stdout]    | |_- unit struct defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<Post>`
[INFO] [stdout]               found struct `table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for struct `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 `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] 8  | | }
[INFO] [stdout]    | |_- method `len` not found for this struct
[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: `ExactSizeIterator`
[INFO] [stdout]            candidate #2: `aho_corasick::autiter::Automaton`
[INFO] [stdout]            candidate #3: `regex::input::Input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for struct `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 `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] 8  | | }
[INFO] [stdout]    | |_- method `len` not found for this struct
[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: `ExactSizeIterator`
[INFO] [stdout]            candidate #2: `aho_corasick::autiter::Automaton`
[INFO] [stdout]            candidate #3: `regex::input::Input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `table` is not an iterator
[INFO] [stdout]   --> src/main.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |     for post in posts {
[INFO] [stdout]    |                 ^^^^^ `table` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Iterator` is not implemented for `table`
[INFO] [stdout]    = note: required for `table` to implement `IntoIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `table` is not an iterator
[INFO] [stdout]   --> src/main.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |     for post in posts {
[INFO] [stdout]    |                 ^^^^^ `table` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Iterator` is not implemented for `table`
[INFO] [stdout]    = note: required for `table` to implement `IntoIterator`
[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] 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: could not compile `rusty_webservice` (bin "rusty_webservice") due to 7 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rusty_webservice` (bin "rusty_webservice" test) due to 7 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "936a6e2ed60f0f4a549253e558032e42ad22e699acf6f30f2805c1e09922210e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "936a6e2ed60f0f4a549253e558032e42ad22e699acf6f30f2805c1e09922210e", kill_on_drop: false }`
[INFO] [stdout] 936a6e2ed60f0f4a549253e558032e42ad22e699acf6f30f2805c1e09922210e
