[INFO] updating cached repository https://github.com/Ryneqq/rusty_webservice
[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] a9f4d4b98410841b8be82d1d7feccf6a27119b83
[INFO] testing Ryneqq/rusty_webservice against beta-2019-12-18 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyneqq%2Frusty_webservice" "/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/Ryneqq/rusty_webservice on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-8/source/Cargo.toml
[INFO] crate git repo https://github.com/Ryneqq/rusty_webservice already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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=warn" "-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" "+beta-2019-12-18" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 3ecc53880f6bab19676a9c89ca663308ac0bd4fcffa11492c3950db56b2279d0
[INFO] running `"docker" "start" "-a" "3ecc53880f6bab19676a9c89ca663308ac0bd4fcffa11492c3950db56b2279d0"`
[INFO] [stderr]    Compiling syn v0.15.43
[INFO] [stderr]    Compiling cc v1.0.38
[INFO] [stderr]    Compiling safemem v0.3.1
[INFO] [stderr]    Compiling utf8-ranges v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling libsqlite3-sys v0.12.0
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling dirs v1.0.5
[INFO] [stderr]    Compiling filetime v0.2.6
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling gzip-header v0.3.0
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling serde_json v1.0.40
[INFO] [stderr]    Compiling threadpool v1.7.1
[INFO] [stderr]    Compiling term v0.5.2
[INFO] [stderr]    Compiling buf_redux v0.8.4
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling chrono v0.4.7
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling mime_guess v1.8.7
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling tiny_http v0.6.2
[INFO] [stderr]    Compiling multipart v0.15.4
[INFO] [stderr]    Compiling dotenv v0.9.0
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling serde_derive v1.0.98
[INFO] [stderr]    Compiling diesel_derives v1.4.0
[INFO] [stderr]    Compiling diesel v1.4.2
[INFO] [stderr]    Compiling rouille v3.0.0
[INFO] [stderr]    Compiling rusty_webservice v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: expected `;`, found ``}``
[INFO] [stderr]   --> src/db/mod.rs:27:39
[INFO] [stderr]    |
[INFO] [stderr] 27 |         .expect("Error loading posts")
[INFO] [stderr]    |                                       ^ help: add `;` here
[INFO] [stderr] 28 | }
[INFO] [stderr]    | - unexpected token
[INFO] [stderr] 
[INFO] [stderr] error[E0423]: expected value, found module `posts`
[INFO] [stderr]   --> src/db/mod.rs:25:19
[INFO] [stderr]    |
[INFO] [stderr] 25 |       let results = posts
[INFO] [stderr]    |  ___________________-^^^^
[INFO] [stderr] 26 | |         .load::<Post>(conn)
[INFO] [stderr]    | |_____________- help: use the path separator to refer to an item: `posts::load`
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: function `read_posts` is private
[INFO] [stderr]   --> src/main.rs:22:21
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let posts = db::read_posts(&connection);
[INFO] [stderr]    |                     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/routes.rs:59:9
[INFO] [stderr]    |
[INFO] [stderr] 59 | /         post_input!(request, {
[INFO] [stderr] 60 | |             login: String,
[INFO] [stderr] 61 | |             password: String,
[INFO] [stderr] 62 | |         }
[INFO] [stderr] 63 | |     ));
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/routes.rs:59:9
[INFO] [stderr]    |
[INFO] [stderr] 59 | /         post_input!(request, {
[INFO] [stderr] 60 | |             login: String,
[INFO] [stderr] 61 | |             password: String,
[INFO] [stderr] 62 | |         }
[INFO] [stderr] 63 | |     ));
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `diesel::query_dsl::select_dsl::SelectDsl`
[INFO] [stderr]  --> src/db/mod.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use diesel::query_dsl::select_dsl::SelectDsl;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `diesel::prelude::*`
[INFO] [stderr]  --> src/main.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use diesel::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self::db::models::Post`
[INFO] [stderr]   --> src/main.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use self::db::models::Post;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let posts = db::read_posts(&connection);
[INFO] [stderr]    |         ^^^^^ expected struct `std::vec::Vec`, found struct `schema::posts::table`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected struct `std::vec::Vec<db::models::Post>`
[INFO] [stderr]               found struct `schema::posts::table`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `len` found for type `schema::posts::table` in the current scope
[INFO] [stderr]   --> src/main.rs:24:43
[INFO] [stderr]    |
[INFO] [stderr] 24 |       println!("Displaying {} posts", posts.len());
[INFO] [stderr]    |                                             ^^^ method not found in `schema::posts::table`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/schema.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr] 1  | / table! {
[INFO] [stderr] 2  | |     posts (id) {
[INFO] [stderr] 3  | |         id -> Integer,
[INFO] [stderr] 4  | |         title -> Text,
[INFO] [stderr] ...  |
[INFO] [stderr] 7  | |     }
[INFO] [stderr] 8  | | }
[INFO] [stderr]    | |_- method `len` not found for this
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]    = note: the following traits define an item `len`, perhaps you need to implement one of them:
[INFO] [stderr]            candidate #1: `std::iter::ExactSizeIterator`
[INFO] [stderr]            candidate #2: `regex::input::Input`
[INFO] [stderr]            candidate #3: `aho_corasick::autiter::Automaton`
[INFO] [stderr]    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `schema::posts::table` is not an iterator
[INFO] [stderr]   --> src/main.rs:25:17
[INFO] [stderr]    |
[INFO] [stderr] 25 |     for post in posts {
[INFO] [stderr]    |                 ^^^^^ `schema::posts::table` is not an iterator
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::iter::Iterator` is not implemented for `schema::posts::table`
[INFO] [stderr]    = note: required by `std::iter::IntoIterator::into_iter`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/db/mod.rs:24:43
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn read_posts(conn: &SqliteConnection) -> Vec<Post> {
[INFO] [stderr]    |    ----------                             ^^^^^^^^^ expected struct `std::vec::Vec`, found `()`
[INFO] [stderr]    |    |
[INFO] [stderr]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected struct `std::vec::Vec<db::models::Post>`
[INFO] [stderr]            found unit type `()`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 7 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0423, E0599, E0603.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `rusty_webservice`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "3ecc53880f6bab19676a9c89ca663308ac0bd4fcffa11492c3950db56b2279d0"`
[INFO] running `"docker" "rm" "-f" "3ecc53880f6bab19676a9c89ca663308ac0bd4fcffa11492c3950db56b2279d0"`
[INFO] [stdout] 3ecc53880f6bab19676a9c89ca663308ac0bd4fcffa11492c3950db56b2279d0
