[INFO] cloning repository https://github.com/natumn/rust_app_demo [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/natumn/rust_app_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatumn%2Frust_app_demo"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatumn%2Frust_app_demo'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c179703827086425b524890c4a4f743a922a7793 [INFO] checking natumn/rust_app_demo against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatumn%2Frust_app_demo" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/natumn/rust_app_demo on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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-7/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0c67205588e1175a2fe6ab2385f8d9f51586abcba979471502a4ffcaafb112df [INFO] running `"docker" "start" "-a" "0c67205588e1175a2fe6ab2385f8d9f51586abcba979471502a4ffcaafb112df"` [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Compiling diesel_derives v1.1.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking diesel v1.1.1 [INFO] [stderr] Checking regex v0.2.5 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Checking 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] 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] | ^^^^^^ 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] warning: build failed, waiting for other jobs to finish... [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" "0c67205588e1175a2fe6ab2385f8d9f51586abcba979471502a4ffcaafb112df"` [INFO] running `"docker" "rm" "-f" "0c67205588e1175a2fe6ab2385f8d9f51586abcba979471502a4ffcaafb112df"` [INFO] [stdout] 0c67205588e1175a2fe6ab2385f8d9f51586abcba979471502a4ffcaafb112df