[INFO] cloning repository https://github.com/jonwolski/diesel_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonwolski/diesel_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonwolski%2Fdiesel_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonwolski%2Fdiesel_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3efb25f2ea076a37105e8f1dab20d1a6c1456dc9 [INFO] testing jonwolski/diesel_demo against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonwolski%2Fdiesel_demo" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonwolski/diesel_demo on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonwolski/diesel_demo [INFO] finished tweaking git repo https://github.com/jonwolski/diesel_demo [INFO] tweaked toml for git repo https://github.com/jonwolski/diesel_demo written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/jonwolski/diesel_demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive-error-chain v0.10.1 [INFO] [stderr] Downloaded dotenv v0.10.1 [INFO] [stderr] Downloaded infer_schema_macros v1.1.0 [INFO] [stderr] Downloaded diesel_codegen v0.16.0 [INFO] [stderr] Downloaded diesel_infer_schema v1.1.0 [INFO] [stderr] Downloaded infer_schema_internals v1.1.0 [INFO] [stderr] Downloaded diesel v0.16.0 [INFO] [stderr] Downloaded diesel_infer_schema v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 57dd3c24a9c29590e4913648b27674612a5b1613c19d003982efe86770c4cb07 [INFO] running `Command { std: "docker" "start" "-a" "57dd3c24a9c29590e4913648b27674612a5b1613c19d003982efe86770c4cb07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57dd3c24a9c29590e4913648b27674612a5b1613c19d003982efe86770c4cb07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57dd3c24a9c29590e4913648b27674612a5b1613c19d003982efe86770c4cb07", kill_on_drop: false }` [INFO] [stdout] 57dd3c24a9c29590e4913648b27674612a5b1613c19d003982efe86770c4cb07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 13808cc598a410d4dea2f1bc577c4ef2a0ec3111860bf6e3db9bb8f48ef5a14c [INFO] running `Command { std: "docker" "start" "-a" "13808cc598a410d4dea2f1bc577c4ef2a0ec3111860bf6e3db9bb8f48ef5a14c", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling pq-sys v0.4.4 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Compiling clap v2.30.0 [INFO] [stderr] Compiling regex v0.2.6 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling diesel_derives v1.1.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling diesel_infer_schema v0.16.0 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling diesel_codegen v0.16.0 [INFO] [stderr] Compiling diesel v1.1.1 [INFO] [stderr] Compiling infer_schema_internals v1.1.0 [INFO] [stderr] Compiling infer_schema_macros v1.1.0 [INFO] [stderr] Compiling diesel_infer_schema v1.1.0 [INFO] [stderr] Compiling posts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | infer_schema!("dotenv:DATABASE_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: "Failed to load environment variable DATABASE_URL: environment variable not found" [INFO] [stdout] = note: this error originates in the macro `infer_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schema::posts` [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schema::posts; [INFO] [stdout] | ^^^^^^^^^^^^^ no `posts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `posts` in `schema` [INFO] [stdout] --> src/lib.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | use schema::posts::dsl::*; [INFO] [stdout] | ^^^^^ could not find `posts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `posts` in `schema` [INFO] [stdout] --> src/lib.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | use schema::posts::dsl::*; [INFO] [stdout] | ^^^^^ could not find `posts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schema::posts` [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use schema::posts; [INFO] [stdout] | ^^^^^^^^^^^^^ no `posts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `posts` in this scope [INFO] [stdout] --> src/lib.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let query = posts.limit(5).order(id); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/lib.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | let query = posts.limit(5).order(id); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 8 | use std::process::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `published` in this scope [INFO] [stdout] --> src/lib.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | false => query.filter(published.eq(true)).load::(conn) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `posts` in this scope [INFO] [stdout] --> src/lib.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | diesel::update(posts.find(post_id)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `published` in this scope [INFO] [stdout] --> src/lib.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | .set(published.eq(true)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `posts` due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "13808cc598a410d4dea2f1bc577c4ef2a0ec3111860bf6e3db9bb8f48ef5a14c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13808cc598a410d4dea2f1bc577c4ef2a0ec3111860bf6e3db9bb8f48ef5a14c", kill_on_drop: false }` [INFO] [stdout] 13808cc598a410d4dea2f1bc577c4ef2a0ec3111860bf6e3db9bb8f48ef5a14c