[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] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c179703827086425b524890c4a4f743a922a7793 [INFO] checking natumn/rust_app_demo against master#ea6ab1bd845790fb31ba790d2c7aec898f89fe62 for pr-99880 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatumn%2Frust_app_demo" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/natumn/rust_app_demo on toolchain ea6ab1bd845790fb31ba790d2c7aec898f89fe62 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "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-6/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" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "fetch" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e03bbf6bf07c46d292d31189fbae21540666b7a40412654df204b5d67bfbd388 [INFO] running `Command { std: "docker" "start" "-a" "e03bbf6bf07c46d292d31189fbae21540666b7a40412654df204b5d67bfbd388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e03bbf6bf07c46d292d31189fbae21540666b7a40412654df204b5d67bfbd388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e03bbf6bf07c46d292d31189fbae21540666b7a40412654df204b5d67bfbd388", kill_on_drop: false }` [INFO] [stdout] e03bbf6bf07c46d292d31189fbae21540666b7a40412654df204b5d67bfbd388 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fac2f74b4c98c7324c4b58bd16f27efe4f5fc11d0515424edf30b61e0854e880 [INFO] running `Command { std: "docker" "start" "-a" "fac2f74b4c98c7324c4b58bd16f27efe4f5fc11d0515424edf30b61e0854e880", 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 pq-sys v0.4.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking bitflags v1.0.1 [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] 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/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[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 schema::posts::published; [INFO] [stdout] | [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 schema::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 struct [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] note: the following traits must be implemented [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.1.1/src/query_source/mod.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Table: QuerySource + AsQuery + Sized { [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 struct [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] note: the following traits must be implemented [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.1.1/src/query_source/mod.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Table: QuerySource + AsQuery + Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [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` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_app_demo` due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "fac2f74b4c98c7324c4b58bd16f27efe4f5fc11d0515424edf30b61e0854e880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac2f74b4c98c7324c4b58bd16f27efe4f5fc11d0515424edf30b61e0854e880", kill_on_drop: false }` [INFO] [stdout] fac2f74b4c98c7324c4b58bd16f27efe4f5fc11d0515424edf30b61e0854e880