[INFO] updating cached repository https://github.com/natumn/rust_app_demo
[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] c179703827086425b524890c4a4f743a922a7793
[INFO] testing natumn/rust_app_demo against beta-2019-12-18 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatumn%2Frust_app_demo" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/natumn/rust_app_demo 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/natumn/rust_app_demo
[INFO] finished tweaking git repo https://github.com/natumn/rust_app_demo
[INFO] tweaked toml for git repo https://github.com/natumn/rust_app_demo written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/natumn/rust_app_demo 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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stdout] 4e61a16e1cd2525400f4ef50795016a6ec5492c260960c263db7530f28b31519
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "4e61a16e1cd2525400f4ef50795016a6ec5492c260960c263db7530f28b31519"`
[INFO] [stderr]    Compiling libc v0.2.36
[INFO] [stderr]    Compiling pq-sys v0.4.4
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling regex v0.2.5
[INFO] [stderr]    Compiling diesel_derives v1.1.0
[INFO] [stderr]    Compiling dotenv v0.9.0
[INFO] [stderr]    Compiling diesel v1.1.1
[INFO] [stderr]    Compiling rust_app_demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0412]: cannot find type `pgConnection` in this scope
[INFO] [stderr]   --> src/main.rs:22:31
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub fn create_post<'a>(conn: &pgConnection, title: &'a str, body: &'a str) -> Post {
[INFO] [stderr]    |                               ^^^^^^^^^^^^ help: a struct with a similar name exists: `PgConnection`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `published` in this scope
[INFO] [stderr]   --> src/main.rs:53:31
[INFO] [stderr]    |
[INFO] [stderr] 53 |     let results = post.filter(published.eq(true))
[INFO] [stderr]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use schema::posts::columns::published;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `filter` found for type `models::Post` in the current scope
[INFO] [stderr]   --> src/main.rs:53:24
[INFO] [stderr]    |
[INFO] [stderr] 53 |     let results = post.filter(published.eq(true))
[INFO] [stderr]    |                        ^^^^^^ method not found in `models::Post`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/models.rs:4:1
[INFO] [stderr]    |
[INFO] [stderr] 4  | pub struct Post {
[INFO] [stderr]    | --------------- method `filter` not found for this
[INFO] [stderr]    |
[INFO] [stderr]    = note: the method `filter` exists but the following trait bounds were not satisfied:
[INFO] [stderr]            `&models::Post : diesel::QueryDsl`
[INFO] [stderr]            `&mut models::Post : diesel::QueryDsl`
[INFO] [stderr]            `&mut models::Post : std::iter::Iterator`
[INFO] [stderr]            `models::Post : diesel::QueryDsl`
[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 `filter`, perhaps you need to implement one of them:
[INFO] [stderr]            candidate #1: `std::iter::Iterator`
[INFO] [stderr]            candidate #2: `diesel::query_dsl::filter_dsl::FilterDsl`
[INFO] [stderr]            candidate #3: `diesel::QueryDsl`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `rust_app_demo`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "4e61a16e1cd2525400f4ef50795016a6ec5492c260960c263db7530f28b31519"`
[INFO] running `"docker" "rm" "-f" "4e61a16e1cd2525400f4ef50795016a6ec5492c260960c263db7530f28b31519"`
[INFO] [stdout] 4e61a16e1cd2525400f4ef50795016a6ec5492c260960c263db7530f28b31519
