[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-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonwolski%2Fdiesel_demo" "/workspace/builds/worker-30/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-30/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonwolski/diesel_demo on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-30/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-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55cf2cced31e0a7d524e31c08323b181d4a7a5573925dd0c162859137edfd0e3 [INFO] running `Command { std: "docker" "start" "-a" "55cf2cced31e0a7d524e31c08323b181d4a7a5573925dd0c162859137edfd0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55cf2cced31e0a7d524e31c08323b181d4a7a5573925dd0c162859137edfd0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55cf2cced31e0a7d524e31c08323b181d4a7a5573925dd0c162859137edfd0e3", kill_on_drop: false }` [INFO] [stdout] 55cf2cced31e0a7d524e31c08323b181d4a7a5573925dd0c162859137edfd0e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fec66ea716ec2a2c099de3643c7e30e6934badc6a9f28c3c5b0a3f3d6ec5866c [INFO] running `Command { std: "docker" "start" "-a" "fec66ea716ec2a2c099de3643c7e30e6934badc6a9f28c3c5b0a3f3d6ec5866c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling pq-sys v0.4.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling clap v2.30.0 [INFO] [stderr] Compiling diesel v0.16.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 v1.1.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" "fec66ea716ec2a2c099de3643c7e30e6934badc6a9f28c3c5b0a3f3d6ec5866c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec66ea716ec2a2c099de3643c7e30e6934badc6a9f28c3c5b0a3f3d6ec5866c", kill_on_drop: false }` [INFO] [stdout] fec66ea716ec2a2c099de3643c7e30e6934badc6a9f28c3c5b0a3f3d6ec5866c