[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 beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonwolski%2Fdiesel_demo" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonwolski/diesel_demo on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-12/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel_infer_schema v1.1.0 [INFO] [stderr] Downloaded infer_schema_macros v1.1.0 [INFO] [stderr] Downloaded infer_schema_internals v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e69e32307b30ec2d052e42514df80379bd8cd81f553eadb40fcab5452b95b9c4 [INFO] running `Command { std: "docker" "start" "-a" "e69e32307b30ec2d052e42514df80379bd8cd81f553eadb40fcab5452b95b9c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e69e32307b30ec2d052e42514df80379bd8cd81f553eadb40fcab5452b95b9c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e69e32307b30ec2d052e42514df80379bd8cd81f553eadb40fcab5452b95b9c4", kill_on_drop: false }` [INFO] [stdout] e69e32307b30ec2d052e42514df80379bd8cd81f553eadb40fcab5452b95b9c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7324ba6fc7a40907effeecbd8a842ee2f7402f10b0e20c577f4d2fb2276b6e40 [INFO] running `Command { std: "docker" "start" "-a" "7324ba6fc7a40907effeecbd8a842ee2f7402f10b0e20c577f4d2fb2276b6e40", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling pq-sys v0.4.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling clap v2.30.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling regex v0.2.6 [INFO] [stderr] Compiling diesel_derives v1.1.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling diesel_infer_schema v0.16.0 [INFO] [stderr] Compiling diesel v1.1.1 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling diesel_codegen v0.16.0 [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" "7324ba6fc7a40907effeecbd8a842ee2f7402f10b0e20c577f4d2fb2276b6e40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7324ba6fc7a40907effeecbd8a842ee2f7402f10b0e20c577f4d2fb2276b6e40", kill_on_drop: false }` [INFO] [stdout] 7324ba6fc7a40907effeecbd8a842ee2f7402f10b0e20c577f4d2fb2276b6e40