[INFO] cloning repository https://github.com/YeuMarin/API_REst_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YeuMarin/API_REst_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYeuMarin%2FAPI_REst_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYeuMarin%2FAPI_REst_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6a3d32f2d2bd58144a236b7a0bb11104ced0c34 [INFO] testing YeuMarin/API_REst_Rust against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYeuMarin%2FAPI_REst_Rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/YeuMarin/API_REst_Rust [INFO] finished tweaking git repo https://github.com/YeuMarin/API_REst_Rust [INFO] tweaked toml for git repo https://github.com/YeuMarin/API_REst_Rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/YeuMarin/API_REst_Rust on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/YeuMarin/API_REst_Rust 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres v0.19.7 [INFO] [stderr] Downloaded postgres-protocol v0.6.6 [INFO] [stderr] Downloaded postgres-types v0.2.6 [INFO] [stderr] Downloaded tokio-postgres v0.7.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54b54153c1016bad2b58b1a47b9ea5b237880390b19b50f1b0045c80fafd6f9a [INFO] running `Command { std: "docker" "start" "-a" "54b54153c1016bad2b58b1a47b9ea5b237880390b19b50f1b0045c80fafd6f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54b54153c1016bad2b58b1a47b9ea5b237880390b19b50f1b0045c80fafd6f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54b54153c1016bad2b58b1a47b9ea5b237880390b19b50f1b0045c80fafd6f9a", kill_on_drop: false }` [INFO] [stdout] 54b54153c1016bad2b58b1a47b9ea5b237880390b19b50f1b0045c80fafd6f9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0d51bbd90ac3a6803ba367f5e06a0f08e5ba55f63b1d50d64074a9fbe26864f [INFO] running `Command { std: "docker" "start" "-a" "d0d51bbd90ac3a6803ba367f5e06a0f08e5ba55f63b1d50d64074a9fbe26864f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling postgres-protocol v0.6.6 [INFO] [stderr] Compiling postgres-types v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling tokio-postgres v0.7.10 [INFO] [stderr] Compiling postgres v0.19.7 [INFO] [stderr] Compiling Helados v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `DATABASE_URL` not defined at compile time [INFO] [stdout] --> src/main.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | 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:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | 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 `Helados` (bin "Helados") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d0d51bbd90ac3a6803ba367f5e06a0f08e5ba55f63b1d50d64074a9fbe26864f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0d51bbd90ac3a6803ba367f5e06a0f08e5ba55f63b1d50d64074a9fbe26864f", kill_on_drop: false }` [INFO] [stdout] d0d51bbd90ac3a6803ba367f5e06a0f08e5ba55f63b1d50d64074a9fbe26864f