[INFO] cloning repository https://github.com/vmasdani/openlaundry-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vmasdani/openlaundry-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvmasdani%2Fopenlaundry-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvmasdani%2Fopenlaundry-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d8914fe2e0de4eebc460bf179dc2e3c2c4fc5e0 [INFO] testing vmasdani/openlaundry-backend against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvmasdani%2Fopenlaundry-backend" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vmasdani/openlaundry-backend on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vmasdani/openlaundry-backend [INFO] finished tweaking git repo https://github.com/vmasdani/openlaundry-backend [INFO] tweaked toml for git repo https://github.com/vmasdani/openlaundry-backend written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/vmasdani/openlaundry-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66c104629ce71d084fdbf78b9c35082dd3cbf7147580c0db143f323a9b579606 [INFO] running `Command { std: "docker" "start" "-a" "66c104629ce71d084fdbf78b9c35082dd3cbf7147580c0db143f323a9b579606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66c104629ce71d084fdbf78b9c35082dd3cbf7147580c0db143f323a9b579606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66c104629ce71d084fdbf78b9c35082dd3cbf7147580c0db143f323a9b579606", kill_on_drop: false }` [INFO] [stdout] 66c104629ce71d084fdbf78b9c35082dd3cbf7147580c0db143f323a9b579606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdd58bba78a8e0c741d53f865e503aefcbb24ff415de7baf635fce72fe144a7f [INFO] running `Command { std: "docker" "start" "-a" "fdd58bba78a8e0c741d53f865e503aefcbb24ff415de7baf635fce72fe144a7f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling dotenv_codegen v0.15.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling diesel v1.4.7 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling openlaundry-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0259]: the name `dotenv` is defined multiple times [INFO] [stdout] --> src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate dotenv; [INFO] [stdout] | -------------------- previous import of the extern crate `dotenv` here [INFO] [stdout] ... [INFO] [stdout] 31 | extern crate dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `dotenv` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `dotenv` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/main.rs:514:36 [INFO] [stdout] | [INFO] [stdout] 514 | println!("Running on port {}", dotenv!("SERVER_PORT")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Error loading .env file: path not found [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/main.rs:541:33 [INFO] [stdout] | [INFO] [stdout] 541 | .bind(format!("0.0.0.0:{}", dotenv!("SERVER_PORT")))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Error loading .env file: path not found [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/main.rs:514:36 [INFO] [stdout] | [INFO] [stdout] 514 | println!("Running on port {}", dotenv!("SERVER_PORT")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/main.rs:541:33 [INFO] [stdout] | [INFO] [stdout] 541 | .bind(format!("0.0.0.0:{}", dotenv!("SERVER_PORT")))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel_migrations::run_migrations` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use diesel_migrations::run_migrations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `empty` [INFO] [stdout] --> src/main.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | use std::io::{empty, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref` [INFO] [stdout] --> src/main.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/main.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | use std::{env, io}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | let mut backup_record = web::block(move || match pool.get() { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0259`. [INFO] [stdout] [INFO] [stderr] error: could not compile `openlaundry-backend` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "fdd58bba78a8e0c741d53f865e503aefcbb24ff415de7baf635fce72fe144a7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdd58bba78a8e0c741d53f865e503aefcbb24ff415de7baf635fce72fe144a7f", kill_on_drop: false }` [INFO] [stdout] fdd58bba78a8e0c741d53f865e503aefcbb24ff415de7baf635fce72fe144a7f