[INFO] updating cached repository natumn/rust_app_demo [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/natumn/rust_app_demo [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/natumn/rust_app_demo" "work/ex/pr-63247/sources/master#452087b4bf18cece2d52d7cd8c9147195e5404bf/gh/natumn/rust_app_demo"` [INFO] [stderr] Cloning into 'work/ex/pr-63247/sources/master#452087b4bf18cece2d52d7cd8c9147195e5404bf/gh/natumn/rust_app_demo'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/natumn/rust_app_demo" "work/ex/pr-63247/sources/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab/gh/natumn/rust_app_demo"` [INFO] [stderr] Cloning into 'work/ex/pr-63247/sources/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab/gh/natumn/rust_app_demo'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c179703827086425b524890c4a4f743a922a7793 [INFO] sha for GitHub repo natumn/rust_app_demo: c179703827086425b524890c4a4f743a922a7793 [INFO] validating manifest of natumn/rust_app_demo on toolchain master#452087b4bf18cece2d52d7cd8c9147195e5404bf [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+452087b4bf18cece2d52d7cd8c9147195e5404bf-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of natumn/rust_app_demo on toolchain try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+757dacae0a9f1b46b3ab58a1f1232332e8fc7dab-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing natumn/rust_app_demo [INFO] finished frobbing natumn/rust_app_demo [INFO] frobbed toml for natumn/rust_app_demo written to work/ex/pr-63247/sources/master#452087b4bf18cece2d52d7cd8c9147195e5404bf/gh/natumn/rust_app_demo/Cargo.toml [INFO] started frobbing natumn/rust_app_demo [INFO] finished frobbing natumn/rust_app_demo [INFO] frobbed toml for natumn/rust_app_demo written to work/ex/pr-63247/sources/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab/gh/natumn/rust_app_demo/Cargo.toml [INFO] crate natumn/rust_app_demo already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+452087b4bf18cece2d52d7cd8c9147195e5404bf-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+757dacae0a9f1b46b3ab58a1f1232332e8fc7dab-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] checking natumn/rust_app_demo against try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab for pr-63247 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63247/worker-6/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63247/sources/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab/gh/natumn/rust_app_demo:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+757dacae0a9f1b46b3ab58a1f1232332e8fc7dab-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 176664d66dd2ca8ce1cc1f436e404f3e5e16a13463030b8c6ff04c78f399a59d [INFO] running `"docker" "start" "-a" "176664d66dd2ca8ce1cc1f436e404f3e5e16a13463030b8c6ff04c78f399a59d"` [INFO] [stderr] Checking regex v0.2.5 [INFO] [stderr] Compiling diesel_derives v1.1.0 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Checking diesel v1.1.1 [INFO] [stderr] Checking rust_app_demo v0.1.0 (/opt/crater/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] 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[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] 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] | ^^^^^^ [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[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] | ^^^^^^ [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] 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] | [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: Could not compile `rust_app_demo`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "176664d66dd2ca8ce1cc1f436e404f3e5e16a13463030b8c6ff04c78f399a59d"` [INFO] running `"docker" "rm" "-f" "176664d66dd2ca8ce1cc1f436e404f3e5e16a13463030b8c6ff04c78f399a59d"` [INFO] [stdout] 176664d66dd2ca8ce1cc1f436e404f3e5e16a13463030b8c6ff04c78f399a59d