[INFO] cloning repository https://github.com/natumn/rust_app_demo [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatumn%2Frust_app_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c179703827086425b524890c4a4f743a922a7793 [INFO] checking natumn/rust_app_demo against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatumn%2Frust_app_demo" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/natumn/rust_app_demo on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel_derives v1.1.0 [INFO] [stderr] Downloaded diesel v1.1.1 [INFO] [stderr] Downloaded regex v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 262d1477143fd2b0c755ace8359348cbd26869d6baf79d2b9faeedd3f3cedd35 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "262d1477143fd2b0c755ace8359348cbd26869d6baf79d2b9faeedd3f3cedd35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "262d1477143fd2b0c755ace8359348cbd26869d6baf79d2b9faeedd3f3cedd35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "262d1477143fd2b0c755ace8359348cbd26869d6baf79d2b9faeedd3f3cedd35", kill_on_drop: false }` [INFO] [stdout] 262d1477143fd2b0c755ace8359348cbd26869d6baf79d2b9faeedd3f3cedd35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 488736d37a0da9d015a4a44057c3baee4817968937969fa79cf8dc4d37657668 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "488736d37a0da9d015a4a44057c3baee4817968937969fa79cf8dc4d37657668", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Compiling pq-sys v0.4.4 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking regex v0.2.5 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Compiling diesel_derives v1.1.0 [INFO] [stderr] Checking diesel v1.1.1 [INFO] [stderr] Checking rust_app_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `pgConnection` in this scope [INFO] [stdout] --> src/main.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn create_post<'a>(conn: &pgConnection, title: &'a str, body: &'a str) -> Post { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `PgConnection` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.1.1/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- similarly named struct `PgConnection` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `published` in this scope [INFO] [stdout] --> src/main.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let results = post.filter(published.eq(true)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 8 | use models::posts::published; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `pgConnection` in this scope [INFO] [stdout] --> src/main.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn create_post<'a>(conn: &pgConnection, title: &'a str, body: &'a str) -> Post { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `PgConnection` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.1.1/src/pg/connection/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PgConnection { [INFO] [stdout] | ----------------------- similarly named struct `PgConnection` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `published` in this scope [INFO] [stdout] --> src/main.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let results = post.filter(published.eq(true)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 8 | use models::posts::published; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `filter` exists for struct `models::Post`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let results = post.filter(published.eq(true)) [INFO] [stdout] | ^^^^^^ method cannot be called on `models::Post` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/models.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Post { [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | method `filter` not found for this [INFO] [stdout] | doesn't satisfy `models::Post: Iterator` [INFO] [stdout] | doesn't satisfy `models::Post: Table` [INFO] [stdout] | doesn't satisfy `models::Post: diesel::QueryDsl` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `models::Post: Table` [INFO] [stdout] which is required by `models::Post: diesel::QueryDsl` [INFO] [stdout] `&models::Post: Table` [INFO] [stdout] which is required by `&models::Post: diesel::QueryDsl` [INFO] [stdout] `&mut models::Post: Table` [INFO] [stdout] which is required by `&mut models::Post: diesel::QueryDsl` [INFO] [stdout] `models::Post: Iterator` [INFO] [stdout] which is required by `&mut models::Post: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `filter` exists for struct `models::Post`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let results = post.filter(published.eq(true)) [INFO] [stdout] | ^^^^^^ method cannot be called on `models::Post` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/models.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Post { [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | method `filter` not found for this [INFO] [stdout] | doesn't satisfy `models::Post: Iterator` [INFO] [stdout] | doesn't satisfy `models::Post: Table` [INFO] [stdout] | doesn't satisfy `models::Post: diesel::QueryDsl` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `models::Post: Table` [INFO] [stdout] which is required by `models::Post: diesel::QueryDsl` [INFO] [stdout] `&models::Post: Table` [INFO] [stdout] which is required by `&models::Post: diesel::QueryDsl` [INFO] [stdout] `&mut models::Post: Table` [INFO] [stdout] which is required by `&mut models::Post: diesel::QueryDsl` [INFO] [stdout] `models::Post: Iterator` [INFO] [stdout] which is required by `&mut models::Post: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_app_demo` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "488736d37a0da9d015a4a44057c3baee4817968937969fa79cf8dc4d37657668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "488736d37a0da9d015a4a44057c3baee4817968937969fa79cf8dc4d37657668", kill_on_drop: false }` [INFO] [stdout] 488736d37a0da9d015a4a44057c3baee4817968937969fa79cf8dc4d37657668