[INFO] updating cached repository https://github.com/broadcom-codebois/backend [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e3395eb92d392d26318b61e3781cf4663f3d48c0 [INFO] testing broadcom-codebois/backend against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbroadcom-codebois%2Fbackend" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/broadcom-codebois/backend on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/broadcom-codebois/backend [INFO] finished tweaking git repo https://github.com/broadcom-codebois/backend [INFO] tweaked toml for git repo https://github.com/broadcom-codebois/backend written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/broadcom-codebois/backend already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d3a8763c9043e13e37e48e66af3e0697e3175c0241608a11b4e223c92de7b8ec [INFO] running `"docker" "start" "-a" "d3a8763c9043e13e37e48e66af3e0697e3175c0241608a11b4e223c92de7b8ec"` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rocket_codegen v0.4.2 [INFO] [stderr] Compiling rocket v0.4.2 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.2 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling libsqlite3-sys v0.16.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling filetime v0.2.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling inotify v0.6.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.3 [INFO] [stderr] Compiling r2d2 v0.8.7 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling notify v4.0.14 [INFO] [stderr] Compiling cookie v0.11.1 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Compiling rocket_http v0.4.2 [INFO] [stderr] Compiling diesel v1.4.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.42 [INFO] [stderr] Compiling unicase_serde v0.1.0 [INFO] [stderr] Compiling rocket_cors v0.5.1 [INFO] [stderr] Compiling rocket_contrib v0.4.2 [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/lib.rs:55:51 [INFO] [stderr] | [INFO] [stderr] 55 | use rocket_cors::{AllowedHeaders, AllowedOrigins, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/lib.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::marker::PhantomData` [INFO] [stderr] --> src/auth.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use std::marker::PhantomData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Noob` [INFO] [stderr] --> src/rgi/booking/mod.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::auth::roles::{Noob, Approver, Role}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reservation` [INFO] [stderr] --> src/rgi/booking/mod.rs:121:7 [INFO] [stderr] | [INFO] [stderr] 121 | let reservation = booking.filter(id.eq(r_id)).first::(&con).ok()?; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reservation` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 49s [INFO] running `"docker" "inspect" "d3a8763c9043e13e37e48e66af3e0697e3175c0241608a11b4e223c92de7b8ec"` [INFO] running `"docker" "rm" "-f" "d3a8763c9043e13e37e48e66af3e0697e3175c0241608a11b4e223c92de7b8ec"` [INFO] [stdout] d3a8763c9043e13e37e48e66af3e0697e3175c0241608a11b4e223c92de7b8ec [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f2575dadc6b0b15407bfc7723aacf503608dd522fb5c67e1e2c06668201c8741 [INFO] running `"docker" "start" "-a" "f2575dadc6b0b15407bfc7723aacf503608dd522fb5c67e1e2c06668201c8741"` [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/lib.rs:55:51 [INFO] [stderr] | [INFO] [stderr] 55 | use rocket_cors::{AllowedHeaders, AllowedOrigins, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/lib.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::marker::PhantomData` [INFO] [stderr] --> src/auth.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use std::marker::PhantomData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Noob` [INFO] [stderr] --> src/rgi/booking/mod.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::auth::roles::{Noob, Approver, Role}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reservation` [INFO] [stderr] --> src/rgi/booking/mod.rs:121:7 [INFO] [stderr] | [INFO] [stderr] 121 | let reservation = booking.filter(id.eq(r_id)).first::(&con).ok()?; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reservation` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/lib.rs:55:51 [INFO] [stderr] | [INFO] [stderr] 55 | use rocket_cors::{AllowedHeaders, AllowedOrigins, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/lib.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::marker::PhantomData` [INFO] [stderr] --> src/auth.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use std::marker::PhantomData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Noob` [INFO] [stderr] --> src/rgi/booking/mod.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::auth::roles::{Noob, Approver, Role}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reservation` [INFO] [stderr] --> src/rgi/booking/mod.rs:121:7 [INFO] [stderr] | [INFO] [stderr] 121 | let reservation = booking.filter(id.eq(r_id)).first::(&con).ok()?; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reservation` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.13s [INFO] running `"docker" "inspect" "f2575dadc6b0b15407bfc7723aacf503608dd522fb5c67e1e2c06668201c8741"` [INFO] running `"docker" "rm" "-f" "f2575dadc6b0b15407bfc7723aacf503608dd522fb5c67e1e2c06668201c8741"` [INFO] [stdout] f2575dadc6b0b15407bfc7723aacf503608dd522fb5c67e1e2c06668201c8741 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0f515a63b5572913dfef1baef89011385bd81468df99b37a95a09c0e62ff7d2f [INFO] running `"docker" "start" "-a" "0f515a63b5572913dfef1baef89011385bd81468df99b37a95a09c0e62ff7d2f"` [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/lib.rs:55:51 [INFO] [stderr] | [INFO] [stderr] 55 | use rocket_cors::{AllowedHeaders, AllowedOrigins, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/lib.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::marker::PhantomData` [INFO] [stderr] --> src/auth.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use std::marker::PhantomData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Noob` [INFO] [stderr] --> src/rgi/booking/mod.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::auth::roles::{Noob, Approver, Role}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reservation` [INFO] [stderr] --> src/rgi/booking/mod.rs:121:7 [INFO] [stderr] | [INFO] [stderr] 121 | let reservation = booking.filter(id.eq(r_id)).first::(&con).ok()?; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reservation` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/lib.rs:55:51 [INFO] [stderr] | [INFO] [stderr] 55 | use rocket_cors::{AllowedHeaders, AllowedOrigins, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/lib.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::marker::PhantomData` [INFO] [stderr] --> src/auth.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use std::marker::PhantomData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Noob` [INFO] [stderr] --> src/rgi/booking/mod.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::auth::roles::{Noob, Approver, Role}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reservation` [INFO] [stderr] --> src/rgi/booking/mod.rs:121:7 [INFO] [stderr] | [INFO] [stderr] 121 | let reservation = booking.filter(id.eq(r_id)).first::(&con).ok()?; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reservation` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.69s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/backend-e2bf194bddc9f21d [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/backend-6085ea34c4e9c527 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/booking-3e297aed00e9992c [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] Error: Unable to open the database file [INFO] [stdout] test test_booking ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_booking stdout ---- [INFO] [stdout] Configured for development. [INFO] [stdout] => address: localhost [INFO] [stdout] => port: 8000 [INFO] [stdout] => log: normal [INFO] [stdout] => workers: 16 [INFO] [stdout] => secret key: generated [INFO] [stdout] => limits: forms = 32KiB [INFO] [stdout] => keep-alive: 5s [INFO] [stdout] => tls: disabled [INFO] [stdout] => [extra] databases: { postgres_db = { url = "auditorium_booking.sqlite3" } } [INFO] [stdout] Catchers: [INFO] [stdout] => 404 [INFO] [stdout] Mounting /: [INFO] [stdout] => GET / (index) [INFO] [stdout] => GET /static/ (frontend) [INFO] [stdout] => GET /favicon.ico (favicon) [INFO] [stdout] => GET /me (me) [INFO] [stdout] Mounting /rgi/: [INFO] [stdout] => GET /rgi/events/filter/// (date_filter) [INFO] [stdout] => GET /rgi/events (list) [INFO] [stdout] => POST /rgi/events//approve (approve) [INFO] [stdout] => GET /rgi/events/ (get) [INFO] [stdout] => POST /rgi/events (post) [INFO] [stdout] => PATCH /rgi/events/ (patch) [INFO] [stdout] => DELETE /rgi/events/ (delete) [INFO] [stdout] Mounting /cors: [INFO] [stdout] => GET /cors/ [INFO] [stdout] Error: Failed to initialize pool for 'postgres_db' [INFO] [stdout] => Error: Error(Some("Unable to open the database file")) [INFO] [stdout] thread 'test_booking' panicked at 'wtf? the virtual client failed: FailedFairings(["\'postgres_db\' Database Pool"])', tests/booking.rs:9:15 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5577e3810d24 - backtrace::backtrace::libunwind::trace::h61666fa4b9834a45 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5577e3810d24 - backtrace::backtrace::trace_unsynchronized::h01d3725fb5da8653 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5577e3810d24 - std::sys_common::backtrace::_print_fmt::h5c7c4751bc296f90 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5577e3810d24 - ::fmt::h7729313ad2d729c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5577e383c4dc - core::fmt::write::hb0049f6c12bdaffc [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x5577e3287a25 - std::io::Write::write_fmt::h5d052af13df32ea6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x5577e38091c1 - std::io::impls::>::write_fmt::h8fe8a9bdc421b4b6 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x5577e3813615 - std::sys_common::backtrace::_print::ha087cac92e84a414 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5577e3813615 - std::sys_common::backtrace::print::h6b013d3bfe6cbcb8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5577e3813615 - std::panicking::default_hook::{{closure}}::h016d7de02def2736 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5577e38132fb - std::panicking::default_hook::h9386f7e484840463 [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x5577e3813c72 - std::panicking::rust_panic_with_hook::h3846eb1b2e5a9312 [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 12: 0x5577e381385b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x5577e383af01 - core::panicking::panic_fmt::hc5953a7331f9805c [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x5577e383ad23 - core::option::expect_none_failed::hf2c575a7b931ce1f [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x5577e32855ad - core::result::Result::expect::h3d5b1255c56c0ddc [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/result.rs:963 [INFO] [stdout] 16: 0x5577e327b7a0 - booking::test_booking::h033873b12481811d [INFO] [stdout] at tests/booking.rs:9 [INFO] [stdout] 17: 0x5577e327b6ca - booking::test_booking::{{closure}}::h332294d20476c9dd [INFO] [stdout] at tests/booking.rs:8 [INFO] [stdout] 18: 0x5577e32862ce - core::ops::function::FnOnce::call_once::h515fed04ce540a78 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 19: 0x5577e329391f - as core::ops::function::FnOnce>::call_once::h1f6ee40732e80908 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 20: 0x5577e32aef1e - as core::ops::function::FnOnce<()>>::call_once::h85dff111be9c2dc6 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x5577e32aef1e - std::panicking::try::do_call::hee6f5a4bef67c840 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 22: 0x5577e32aef1e - std::panicking::try::h3384d3b948e84dbc [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 23: 0x5577e32aef1e - std::panic::catch_unwind::h5ae91218e578066d [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x5577e32aef1e - test::run_test_in_process::he37a49587889b910 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x5577e32aef1e - test::run_test::run_test_inner::{{closure}}::h4f0d25136ca480c2 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x5577e3286ed6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h969eceda34247af3 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x5577e328c265 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h912007997cb04e92 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x5577e328c265 - as core::ops::function::FnOnce<()>>::call_once::h8795d8b7bd223988 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x5577e328c265 - std::panicking::try::do_call::hb29b86f86d4d722e [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:331 [INFO] [stdout] 30: 0x5577e328c265 - std::panicking::try::h4bfefb3eddc0d900 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panicking.rs:274 [INFO] [stdout] 31: 0x5577e328c265 - std::panic::catch_unwind::h774c24d4b38d5828 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x5577e328c265 - std::thread::Builder::spawn_unchecked::{{closure}}::ha50a32fa99413dde [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x5577e328c265 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9dacb8f28d699f86 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/ops/function.rs:232 [INFO] [stdout] 34: 0x5577e380477f - as core::ops::function::FnOnce>::call_once::h7deaeeba480c6ce2 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 35: 0x5577e381ac13 - as core::ops::function::FnOnce>::call_once::h968b1dfb87756523 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x5577e381ac13 - std::sys::unix::thread::Thread::new::thread_start::h2399addeb6370595 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7f4e77cf06db - start_thread [INFO] [stdout] 38: 0x7f4e7780188f - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_booking [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test booking' [INFO] running `"docker" "inspect" "0f515a63b5572913dfef1baef89011385bd81468df99b37a95a09c0e62ff7d2f"` [INFO] running `"docker" "rm" "-f" "0f515a63b5572913dfef1baef89011385bd81468df99b37a95a09c0e62ff7d2f"` [INFO] [stdout] 0f515a63b5572913dfef1baef89011385bd81468df99b37a95a09c0e62ff7d2f