[INFO] cloning repository https://github.com/c0utin/rust-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/c0utin/rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0utin%2Frust-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0utin%2Frust-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88c714f773af2c36912eebf3b1c1271468c1c9bc [INFO] checking c0utin/rust-api against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0utin%2Frust-api" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/c0utin/rust-api [INFO] finished tweaking git repo https://github.com/c0utin/rust-api [INFO] tweaked toml for git repo https://github.com/c0utin/rust-api written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/c0utin/rust-api on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/c0utin/rust-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-protocol v0.6.6 [INFO] [stderr] Downloaded async-trait v0.1.80 [INFO] [stderr] Downloaded postgres-types v0.2.6 [INFO] [stderr] Downloaded tinyvec v1.6.1 [INFO] [stderr] Downloaded postgres v0.19.7 [INFO] [stderr] Downloaded tokio-postgres v0.7.10 [INFO] [stderr] Downloaded cc v1.0.104 [INFO] [stderr] Downloaded syn v2.0.68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7ab83e677d064ed17eeceeed1074a859b23a0d46750e8c5e2aebd20e44d7822 [INFO] running `Command { std: "docker" "start" "-a" "a7ab83e677d064ed17eeceeed1074a859b23a0d46750e8c5e2aebd20e44d7822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7ab83e677d064ed17eeceeed1074a859b23a0d46750e8c5e2aebd20e44d7822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ab83e677d064ed17eeceeed1074a859b23a0d46750e8c5e2aebd20e44d7822", kill_on_drop: false }` [INFO] [stdout] a7ab83e677d064ed17eeceeed1074a859b23a0d46750e8c5e2aebd20e44d7822 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b82193e417a95728d98f3510d657f7d4d7a260822516e16c489b54473325bab0 [INFO] running `Command { std: "docker" "start" "-a" "b82193e417a95728d98f3510d657f7d4d7a260822516e16c489b54473325bab0", kill_on_drop: false }` [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking postgres v0.19.7 [INFO] [stderr] Checking rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `DATABASE_URL` not defined at compile time [INFO] [stdout] --> src/main.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | const DB_URL: &str = env!("DATABASE_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("DATABASE_URL")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `DATABASE_URL` not defined at compile time [INFO] [stdout] --> src/main.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | const DB_URL: &str = env!("DATABASE_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("DATABASE_URL")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:118:27 [INFO] [stdout] | [INFO] [stdout] 118 | fn handle_get_all_request(request: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-api` (bin "rust-api" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:118:27 [INFO] [stdout] | [INFO] [stdout] 118 | fn handle_get_all_request(request: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-api` (bin "rust-api") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b82193e417a95728d98f3510d657f7d4d7a260822516e16c489b54473325bab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b82193e417a95728d98f3510d657f7d4d7a260822516e16c489b54473325bab0", kill_on_drop: false }` [INFO] [stdout] b82193e417a95728d98f3510d657f7d4d7a260822516e16c489b54473325bab0