[INFO] cloning repository https://github.com/FrankyKyaw/Rust-Rest-API [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrankyKyaw/Rust-Rest-API" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankyKyaw%2FRust-Rest-API", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankyKyaw%2FRust-Rest-API'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d34f80d421e1f42ba4b52d58757c4db605f4c57d [INFO] testing FrankyKyaw/Rust-Rest-API against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankyKyaw%2FRust-Rest-API" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FrankyKyaw/Rust-Rest-API on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FrankyKyaw/Rust-Rest-API [INFO] finished tweaking git repo https://github.com/FrankyKyaw/Rust-Rest-API [INFO] tweaked toml for git repo https://github.com/FrankyKyaw/Rust-Rest-API written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/FrankyKyaw/Rust-Rest-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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-wasm-bindgen v0.4.5 [INFO] [stderr] Downloaded gloo-utils v0.1.6 [INFO] [stderr] Downloaded gloo-history v0.1.3 [INFO] [stderr] Downloaded diesel v2.0.4 [INFO] [stderr] Downloaded gloo v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fc9fe4ddeb75fe9e0e07b81272d2d40daa7795fd186f51a78e9d13f40ac2430 [INFO] running `Command { std: "docker" "start" "-a" "5fc9fe4ddeb75fe9e0e07b81272d2d40daa7795fd186f51a78e9d13f40ac2430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fc9fe4ddeb75fe9e0e07b81272d2d40daa7795fd186f51a78e9d13f40ac2430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fc9fe4ddeb75fe9e0e07b81272d2d40daa7795fd186f51a78e9d13f40ac2430", kill_on_drop: false }` [INFO] [stdout] 5fc9fe4ddeb75fe9e0e07b81272d2d40daa7795fd186f51a78e9d13f40ac2430 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e6b9a2354305dc95266a8e0860ed4fc5019ed25c22003f42e23d5b3a812252a [INFO] running `Command { std: "docker" "start" "-a" "2e6b9a2354305dc95266a8e0860ed4fc5019ed25c22003f42e23d5b3a812252a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling quote v1.0.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.162 [INFO] [stderr] Compiling serde v1.0.162 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.84 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling bumpalo v3.12.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.84 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.0 [INFO] [stderr] Compiling tokio v1.28.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling ref-cast v1.0.16 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling bitflags v2.2.1 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Compiling time v0.3.21 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling linux-raw-sys v0.3.7 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling figment v0.10.8 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.84 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.84 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling rocket v0.5.0-rc.3 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling tracing-attributes v0.1.24 [INFO] [stderr] Compiling pear_codegen v0.2.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.84 [INFO] [stderr] Compiling pear v0.2.4 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling js-sys v0.3.61 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling ref-cast-impl v1.0.16 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.3 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling yew-macro v0.20.0 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling diesel_derives v2.0.2 [INFO] [stderr] Compiling tempfile v3.5.0 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling web-sys v0.3.61 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.34 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.3 [INFO] [stderr] Compiling prokio v0.1.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling serde-wasm-bindgen v0.4.5 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling ubyte v0.10.3 [INFO] [stderr] Compiling h2 v0.3.18 [INFO] [stderr] Compiling implicit-clone v0.3.5 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling csv v1.2.1 [INFO] [stderr] Compiling diesel v2.0.4 [INFO] [stderr] Compiling gloo-utils v0.1.6 [INFO] [stderr] Compiling gloo-events v0.1.2 [INFO] [stderr] Compiling gloo-render v0.1.1 [INFO] [stderr] Compiling gloo-file v0.2.3 [INFO] [stderr] Compiling gloo-console v0.2.3 [INFO] [stderr] Compiling gloo-storage v0.2.2 [INFO] [stderr] Compiling gloo-worker v0.2.1 [INFO] [stderr] Compiling gloo-history v0.1.3 [INFO] [stderr] Compiling gloo-net v0.2.6 [INFO] [stderr] Compiling gloo-dialogs v0.1.1 [INFO] [stderr] Compiling gloo v0.8.0 [INFO] [stderr] Compiling yew v0.20.0 [INFO] [stderr] Compiling final_proj v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = laptops)]` instead [INFO] [stderr] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct SearchParams { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.84 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2e6b9a2354305dc95266a8e0860ed4fc5019ed25c22003f42e23d5b3a812252a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e6b9a2354305dc95266a8e0860ed4fc5019ed25c22003f42e23d5b3a812252a", kill_on_drop: false }` [INFO] [stdout] 2e6b9a2354305dc95266a8e0860ed4fc5019ed25c22003f42e23d5b3a812252a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad7a3baf25e05a94d51d36f2c947004695b8d4e43f35ed9971d52cc46c180215 [INFO] running `Command { std: "docker" "start" "-a" "ad7a3baf25e05a94d51d36f2c947004695b8d4e43f35ed9971d52cc46c180215", kill_on_drop: false }` [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = laptops)]` instead [INFO] [stderr] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct SearchParams { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling final_proj v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = laptops)]` instead [INFO] [stderr] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/models.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct SearchParams { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.84 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ad7a3baf25e05a94d51d36f2c947004695b8d4e43f35ed9971d52cc46c180215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad7a3baf25e05a94d51d36f2c947004695b8d4e43f35ed9971d52cc46c180215", kill_on_drop: false }` [INFO] [stdout] ad7a3baf25e05a94d51d36f2c947004695b8d4e43f35ed9971d52cc46c180215 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 498526647bdab272e208f915f32dfa98a311f02e6b81f1e2dfdb603a98c68b60 [INFO] running `Command { std: "docker" "start" "-a" "498526647bdab272e208f915f32dfa98a311f02e6b81f1e2dfdb603a98c68b60", kill_on_drop: false }` [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = laptops)]` instead [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/models.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct SearchParams { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = laptops)]` instead [INFO] [stderr] [INFO] [stderr] warning: `final_proj` (lib) generated 1 warning [INFO] [stderr] warning: `final_proj` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.84 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/final_proj-0e64d6be15a53055) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/add_data.rs (/opt/rustwide/target/debug/deps/add_data-12062e30005ab231) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/bin/add_laptop.rs (/opt/rustwide/target/debug/deps/add_laptop-ad7efd616199a7e7) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/final_proj-f628cae5daac73d2) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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; finished in 0.00s [INFO] [stdout] [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; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test::hello_world ... ok [INFO] [stdout] test test::test_search ... FAILED [INFO] [stdout] test test::test_count ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::test_search stdout ---- [INFO] [stdout] Configured for debug. [INFO] [stdout] >> address: 127.0.0.1 [INFO] [stdout] >> port: 8000 [INFO] [stdout] >> workers: 8 [INFO] [stdout] >> max blocking threads: 512 [INFO] [stdout] >> ident: Rocket [INFO] [stdout] >> IP header: X-Real-IP [INFO] [stdout] >> limits: bytes = 8KiB, data-form = 2MiB, file = 1MiB, form = 32KiB, json = 1MiB, msgpack = 1MiB, string = 8KiB [INFO] [stdout] >> temp dir: /tmp [INFO] [stdout] >> http/2: true [INFO] [stdout] >> keep-alive: 5s [INFO] [stdout] >> tls: disabled [INFO] [stdout] >> shutdown: ctrlc = true, force = true, signals = [SIGTERM], grace = 2s, mercy = 3s [INFO] [stdout] >> log level: normal [INFO] [stdout] >> cli colors: true [INFO] [stdout] Routes: [INFO] [stdout] >> (hello) GET / [INFO] [stdout] >> (get_count) GET /count [INFO] [stdout] >> (create) POST /laptop [INFO] [stdout] >> (get_laptop_by_id) GET /laptop/ [INFO] [stdout] >> (update) PATCH /update/ [INFO] [stdout] >> (delete_laptop_by_id) DELETE /laptop/ [INFO] [stdout] >> (search) GET /laptops/search? [INFO] [stdout] Fairings: [INFO] [stdout] >> Shield (liftoff, response, singleton) [INFO] [stdout] Shield: [INFO] [stdout] >> X-Content-Type-Options: nosniff [INFO] [stdout] >> X-Frame-Options: SAMEORIGIN [INFO] [stdout] >> Permissions-Policy: interest-cohort=() [INFO] [stdout] Rocket has launched into local orbit [INFO] [stdout] GET /laptops/search?brand=Apple&min_price=1000&max_price=2000: [INFO] [stdout] >> Matched: (search) GET /laptops/search? [INFO] [stdout] thread 'test::test_search' panicked at src/lib.rs:18:29: [INFO] [stdout] Error connecting to postgres://franky:passwerd@localhost/final_proj [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5639145a5fd5 - std::backtrace_rs::backtrace::libunwind::trace::h1a07e5dba0da0cd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stdout] 1: 0x5639145a5fd5 - std::backtrace_rs::backtrace::trace_unsynchronized::h61b9b8394328c0bc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5639145a5fd5 - std::sys_common::backtrace::_print_fmt::h1c5e18b460934cff [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x5639145a5fd5 - ::fmt::h1e1a1972118942ad [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x5639145d1c7b - core::fmt::rt::Argument::fmt::h07af2b4071d536cd [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/rt.rs:165:63 [INFO] [stdout] 5: 0x5639145d1c7b - core::fmt::write::hc090a2ffd6b28c4a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/mod.rs:1157:21 [INFO] [stdout] 6: 0x5639145a355f - std::io::Write::write_fmt::h9443d787e8277bd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/io/mod.rs:1832:15 [INFO] [stdout] 7: 0x5639145a5dae - std::sys_common::backtrace::_print::h4e80c5803d4ee35b [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x5639145a5dae - std::sys_common::backtrace::print::ha96650907276675e [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x5639145a7729 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0 [INFO] [stdout] 10: 0x5639145a73ee - std::panicking::default_hook::h207342be97478370 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:295:9 [INFO] [stdout] 11: 0x5639140c3d5a - as core::ops::function::Fn>::call::haebd875eeb75949f [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 12: 0x5639140c3d5a - test::test_main::{{closure}}::h9108cb0ebacdb458 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x5639145a7cf6 - as core::ops::function::Fn>::call::ha9c3bc81d312fd83 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 14: 0x5639145a7cf6 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:799:13 [INFO] [stdout] 15: 0x5639145a7aa4 - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:664:13 [INFO] [stdout] 16: 0x5639145a6499 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x5639145a77d7 - rust_begin_unwind [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:652:5 [INFO] [stdout] 18: 0x56391406df23 - core::panicking::panic_fmt::hdc63834ffaaefae5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x5639140d5318 - final_proj::establish_connection::{{closure}}::hb72b828250286afe [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:18:29 [INFO] [stdout] 20: 0x5639140e6388 - core::result::Result::unwrap_or_else::hc70b2cedd091371c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/result.rs:1431:23 [INFO] [stdout] 21: 0x5639140d5223 - final_proj::establish_connection::h6d47cd4ffabb951c [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:17:5 [INFO] [stdout] 22: 0x563914075894 - final_proj::search::hb4d499750b397696 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:46:27 [INFO] [stdout] 23: 0x5639140772bf - final_proj::search::into_info::monomorphized_function::{{closure}}::h50579831d46f1b69 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:45:4 [INFO] [stdout] 24: 0x563914236ca4 - as core::future::future::Future>::poll::hc08ae26e3252c950 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/future/future.rs:123:9 [INFO] [stdout] 25: 0x5639142c852f - as core::future::future::Future>::poll::hbdd07b6de7827406 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:297:9 [INFO] [stdout] 26: 0x56391420cef8 - as core::future::future::Future>::poll::{{closure}}::h513a592d8f90d282 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.28/src/future/future/catch_unwind.rs:36:42 [INFO] [stdout] 27: 0x5639142cd6ac - as core::ops::function::FnOnce<()>>::call_once::h93b1e2d05fe5fa9c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5639141900e0 - std::panicking::try::do_call::h3b8d8b7e1c99a992 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 29: 0x5639141a863b - __rust_try [INFO] [stdout] 30: 0x56391418ff60 - std::panicking::try::h3cfb253ce4f7ae73 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 31: 0x5639141e5bab - std::panic::catch_unwind::h92e2bbf89acdecfb [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 32: 0x56391420ce3c - as core::future::future::Future>::poll::h826280cb1f215690 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.28/src/future/future/catch_unwind.rs:36:9 [INFO] [stdout] 33: 0x5639142eb740 - rocket::server::handle::{{closure}}::h730ead0bab621762 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/server.rs:55:10 [INFO] [stdout] 34: 0x5639142f1b67 - rocket::server::>::route::{{closure}}::hc6c487f89a50faf2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/server.rs:280:80 [INFO] [stdout] 35: 0x5639142f0214 - rocket::server::>::route_and_process::{{closure}}::h9d1535f94fdcd4b2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/server.rs:235:60 [INFO] [stdout] 36: 0x5639142ef5c3 - rocket::server::>::dispatch::{{closure}}::h7177ee4484e05945 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/server.rs:209:66 [INFO] [stdout] 37: 0x5639142e9301 - rocket::local::asynchronous::response::LocalResponse::new::{{closure}}::h72328b3c6ddb6268 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/local/asynchronous/response.rs:90:53 [INFO] [stdout] 38: 0x563914187a34 - rocket::local::asynchronous::request::LocalRequest::_dispatch::{{closure}}::heabcb5dce23301e4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/local/asynchronous/request.rs:99:12 [INFO] [stdout] 39: 0x56391418d2ac - rocket::local::asynchronous::request::LocalRequest::dispatch::{{closure}}::h5b1b19cebd7f1bd8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/local/asynchronous/request.rs:123:63 [INFO] [stdout] 40: 0x5639142be3d5 - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::h58237f48a83fb769 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/park.rs:283:63 [INFO] [stdout] 41: 0x5639142bd1ee - tokio::runtime::coop::with_budget::h77e02f49d9e81c83 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 42: 0x5639142bd1ee - tokio::runtime::coop::budget::ha19e4b3d2aa050f1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 43: 0x5639142bd1ee - tokio::runtime::park::CachedParkThread::block_on::h807ab0cf972d7259 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/park.rs:283:31 [INFO] [stdout] 44: 0x5639141d3527 - tokio::runtime::context::BlockingRegionGuard::block_on::hde81dbf22b10eaed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/context.rs:315:13 [INFO] [stdout] 45: 0x5639141acfe1 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h25fa4c673311e8fb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/scheduler/multi_thread/mod.rs:66:9 [INFO] [stdout] 46: 0x563914262d9e - tokio::runtime::runtime::Runtime::block_on::hbc7c3b8d0251dc43 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/runtime.rs:304:45 [INFO] [stdout] 47: 0x5639142e9be4 - rocket::local::blocking::client::Client::block_on::h3ab5acb8d14ddee8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/local/blocking/client.rs:66:9 [INFO] [stdout] 48: 0x5639142e9be4 - rocket::local::blocking::request::LocalRequest::_dispatch::h18610ed9b4c496b2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/local/blocking/request.rs:60:21 [INFO] [stdout] 49: 0x5639140904cc - rocket::local::blocking::request::LocalRequest::dispatch::h3e9b49d0f06d61b4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/local/request.rs:326:9 [INFO] [stdout] 50: 0x5639140904cc - final_proj::test::test_search::h63311ee92ee1bb8c [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:116:24 [INFO] [stdout] 51: 0x563914090367 - final_proj::test::test_search::{{closure}}::h49d29d8bf108db18 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:114:21 [INFO] [stdout] 52: 0x563914070196 - core::ops::function::FnOnce::call_once::h7a2c5629d1419057 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 53: 0x5639140c873b - core::ops::function::FnOnce::call_once::hb194ee8411fb46c7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 54: 0x5639140c873b - test::__rust_begin_short_backtrace::h871a93aaa56c76c5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:623:18 [INFO] [stdout] 55: 0x5639140c7e41 - test::run_test_in_process::{{closure}}::h6d9e6b0161cb50c6 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:60 [INFO] [stdout] 56: 0x5639140c7e41 - as core::ops::function::FnOnce<()>>::call_once::hb9f3c63b5d0e0baa [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 57: 0x5639140c7e41 - std::panicking::try::do_call::h83eb4c9b7c70ebcc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 58: 0x5639140c7e41 - std::panicking::try::h5ffd56bf671a89b3 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 59: 0x5639140c7e41 - std::panic::catch_unwind::h044e758d6cbf65b7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 60: 0x5639140c7e41 - test::run_test_in_process::hf7ca2db08c9223b8 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:27 [INFO] [stdout] 61: 0x5639140c7e41 - test::run_test::{{closure}}::h9657c20462181b87 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:569:43 [INFO] [stdout] 62: 0x5639140908c4 - test::run_test::{{closure}}::h80c3aef427ce62cc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:597:41 [INFO] [stdout] 63: 0x5639140908c4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h43274eec75e29097 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 64: 0x563914095332 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hea1335728d2a7953 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:542:17 [INFO] [stdout] 65: 0x563914095332 - as core::ops::function::FnOnce<()>>::call_once::hb16d5d5fd985753c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 66: 0x563914095332 - std::panicking::try::do_call::h65de05e16c44e167 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 67: 0x563914095332 - std::panicking::try::h187f01afe14eb3bf [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 68: 0x563914095332 - std::panic::catch_unwind::h1b55347b2c8efb63 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 69: 0x563914095332 - std::thread::Builder::spawn_unchecked_::{{closure}}::hea39e0adaff5b52d [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:541:30 [INFO] [stdout] 70: 0x563914095332 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9b61aba01c3c1f32 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 71: 0x5639145ac36b - as core::ops::function::FnOnce>::call_once::h09e5a4c541afa800 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 72: 0x5639145ac36b - as core::ops::function::FnOnce>::call_once::h9c8b03c22f4e7026 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 73: 0x5639145ac36b - std::sys::pal::unix::thread::Thread::new::thread_start::h522bc89a54da820a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 74: 0x7f50cd568ac3 - [INFO] [stdout] 75: 0x7f50cd5f9a04 - __clone [INFO] [stdout] 76: 0x0 - [INFO] [stdout] >> Handler search panicked. [INFO] [stdout] >> This is an application bug. [INFO] [stdout] >> A panic in Rust must be treated as an exceptional event. [INFO] [stdout] >> Panicking is not a suitable error handling mechanism. [INFO] [stdout] >> Unwinding, the result of a panic, is an expensive operation. [INFO] [stdout] >> Panics will degrade application performance. [INFO] [stdout] >> Instead of panicking, return `Option` and/or `Result`. [INFO] [stdout] >> Values of either type can be returned directly from handlers. [INFO] [stdout] >> A panic is treated as an internal server error. [INFO] [stdout] >> Outcome: Failure [INFO] [stdout] >> No 500 catcher registered. Using Rocket default. [INFO] [stdout] thread 'test::test_search' panicked at src/main.rs:117:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Status { code: 500 } [INFO] [stdout] right: Status { code: 200 } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5639145a5fd5 - std::backtrace_rs::backtrace::libunwind::trace::h1a07e5dba0da0cd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stdout] 1: 0x5639145a5fd5 - std::backtrace_rs::backtrace::trace_unsynchronized::h61b9b8394328c0bc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5639145a5fd5 - std::sys_common::backtrace::_print_fmt::h1c5e18b460934cff [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x5639145a5fd5 - ::fmt::h1e1a1972118942ad [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x5639145d1c7b - core::fmt::rt::Argument::fmt::h07af2b4071d536cd [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/rt.rs:165:63 [INFO] [stdout] 5: 0x5639145d1c7b - core::fmt::write::hc090a2ffd6b28c4a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/mod.rs:1157:21 [INFO] [stdout] 6: 0x5639145a355f - std::io::Write::write_fmt::h9443d787e8277bd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/io/mod.rs:1832:15 [INFO] [stdout] 7: 0x5639145a5dae - std::sys_common::backtrace::_print::h4e80c5803d4ee35b [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x5639145a5dae - std::sys_common::backtrace::print::ha96650907276675e [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x5639145a7729 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0 [INFO] [stdout] 10: 0x5639145a73ee - std::panicking::default_hook::h207342be97478370 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:295:9 [INFO] [stdout] 11: 0x5639140c3d5a - as core::ops::function::Fn>::call::haebd875eeb75949f [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 12: 0x5639140c3d5a - test::test_main::{{closure}}::h9108cb0ebacdb458 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x5639145a7cf6 - as core::ops::function::Fn>::call::ha9c3bc81d312fd83 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 14: 0x5639145a7cf6 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:799:13 [INFO] [stdout] 15: 0x5639145a7aa4 - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:664:13 [INFO] [stdout] 16: 0x5639145a6499 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x5639145a77d7 - rust_begin_unwind [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:652:5 [INFO] [stdout] 18: 0x56391406df23 - core::panicking::panic_fmt::hdc63834ffaaefae5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x56391406e34e - core::panicking::assert_failed_inner::hda4754f94c1c1cb1 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:409:17 [INFO] [stdout] 20: 0x56391408c1be - core::panicking::assert_failed::h211b48870adc90e9 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:364:5 [INFO] [stdout] 21: 0x5639140905ee - final_proj::test::test_search::h63311ee92ee1bb8c [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:117:9 [INFO] [stdout] 22: 0x563914090367 - final_proj::test::test_search::{{closure}}::h49d29d8bf108db18 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:114:21 [INFO] [stdout] 23: 0x563914070196 - core::ops::function::FnOnce::call_once::h7a2c5629d1419057 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5639140c873b - core::ops::function::FnOnce::call_once::hb194ee8411fb46c7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5639140c873b - test::__rust_begin_short_backtrace::h871a93aaa56c76c5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:623:18 [INFO] [stdout] 26: 0x5639140c7e41 - test::run_test_in_process::{{closure}}::h6d9e6b0161cb50c6 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:60 [INFO] [stdout] 27: 0x5639140c7e41 - as core::ops::function::FnOnce<()>>::call_once::hb9f3c63b5d0e0baa [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5639140c7e41 - std::panicking::try::do_call::h83eb4c9b7c70ebcc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 29: 0x5639140c7e41 - std::panicking::try::h5ffd56bf671a89b3 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 30: 0x5639140c7e41 - std::panic::catch_unwind::h044e758d6cbf65b7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 31: 0x5639140c7e41 - test::run_test_in_process::hf7ca2db08c9223b8 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:27 [INFO] [stdout] 32: 0x5639140c7e41 - test::run_test::{{closure}}::h9657c20462181b87 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:569:43 [INFO] [stdout] 33: 0x5639140908c4 - test::run_test::{{closure}}::h80c3aef427ce62cc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:597:41 [INFO] [stdout] 34: 0x5639140908c4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h43274eec75e29097 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 35: 0x563914095332 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hea1335728d2a7953 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:542:17 [INFO] [stdout] 36: 0x563914095332 - as core::ops::function::FnOnce<()>>::call_once::hb16d5d5fd985753c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x563914095332 - std::panicking::try::do_call::h65de05e16c44e167 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 38: 0x563914095332 - std::panicking::try::h187f01afe14eb3bf [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 39: 0x563914095332 - std::panic::catch_unwind::h1b55347b2c8efb63 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 40: 0x563914095332 - std::thread::Builder::spawn_unchecked_::{{closure}}::hea39e0adaff5b52d [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:541:30 [INFO] [stdout] 41: 0x563914095332 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9b61aba01c3c1f32 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5639145ac36b - as core::ops::function::FnOnce>::call_once::h09e5a4c541afa800 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 43: 0x5639145ac36b - as core::ops::function::FnOnce>::call_once::h9c8b03c22f4e7026 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 44: 0x5639145ac36b - std::sys::pal::unix::thread::Thread::new::thread_start::h522bc89a54da820a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f50cd568ac3 - [INFO] [stdout] 46: 0x7f50cd5f9a04 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::test_count stdout ---- [INFO] [stdout] Configured for debug. [INFO] [stdout] >> address: 127.0.0.1 [INFO] [stdout] >> port: 8000 [INFO] [stdout] >> workers: 8 [INFO] [stdout] >> max blocking threads: 512 [INFO] [stdout] >> ident: Rocket [INFO] [stdout] >> IP header: X-Real-IP [INFO] [stdout] >> limits: bytes = 8KiB, data-form = 2MiB, file = 1MiB, form = 32KiB, json = 1MiB, msgpack = 1MiB, string = 8KiB [INFO] [stdout] >> temp dir: /tmp [INFO] [stdout] >> http/2: true [INFO] [stdout] >> keep-alive: 5s [INFO] [stdout] >> tls: disabled [INFO] [stdout] >> shutdown: ctrlc = true, force = true, signals = [SIGTERM], grace = 2s, mercy = 3s [INFO] [stdout] >> log level: normal [INFO] [stdout] >> cli colors: true [INFO] [stdout] Routes: [INFO] [stdout] >> (hello) GET / [INFO] [stdout] >> (get_count) GET /count [INFO] [stdout] >> (create) POST /laptop [INFO] [stdout] >> (get_laptop_by_id) GET /laptop/ [INFO] [stdout] >> (update) PATCH /update/ [INFO] [stdout] >> (delete_laptop_by_id) DELETE /laptop/ [INFO] [stdout] >> (search) GET /laptops/search? [INFO] [stdout] Fairings: [INFO] [stdout] >> Shield (liftoff, response, singleton) [INFO] [stdout] Shield: [INFO] [stdout] >> X-Content-Type-Options: nosniff [INFO] [stdout] >> Permissions-Policy: interest-cohort=() [INFO] [stdout] >> X-Frame-Options: SAMEORIGIN [INFO] [stdout] Rocket has launched into local orbit [INFO] [stdout] GET /count: [INFO] [stdout] >> Matched: (get_count) GET /count [INFO] [stdout] thread 'test::test_count' panicked at src/lib.rs:18:29: [INFO] [stdout] Error connecting to postgres://franky:passwerd@localhost/final_proj [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5639145a5fd5 - std::backtrace_rs::backtrace::libunwind::trace::h1a07e5dba0da0cd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stdout] 1: 0x5639145a5fd5 - std::backtrace_rs::backtrace::trace_unsynchronized::h61b9b8394328c0bc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5639145a5fd5 - std::sys_common::backtrace::_print_fmt::h1c5e18b460934cff [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x5639145a5fd5 - ::fmt::h1e1a1972118942ad [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x5639145d1c7b - core::fmt::rt::Argument::fmt::h07af2b4071d536cd [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/rt.rs:165:63 [INFO] [stdout] 5: 0x5639145d1c7b - core::fmt::write::hc090a2ffd6b28c4a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/mod.rs:1157:21 [INFO] [stdout] 6: 0x5639145a355f - std::io::Write::write_fmt::h9443d787e8277bd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/io/mod.rs:1832:15 [INFO] [stdout] 7: 0x5639145a5dae - std::sys_common::backtrace::_print::h4e80c5803d4ee35b [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x5639145a5dae - std::sys_common::backtrace::print::ha96650907276675e [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x5639145a7729 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0 [INFO] [stdout] 10: 0x5639145a73ee - std::panicking::default_hook::h207342be97478370 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:295:9 [INFO] [stdout] 11: 0x5639140c3d5a - as core::ops::function::Fn>::call::haebd875eeb75949f [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 12: 0x5639140c3d5a - test::test_main::{{closure}}::h9108cb0ebacdb458 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x5639145a7cf6 - as core::ops::function::Fn>::call::ha9c3bc81d312fd83 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 14: 0x5639145a7cf6 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:799:13 [INFO] [stdout] 15: 0x5639145a7aa4 - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:664:13 [INFO] [stdout] 16: 0x5639145a6499 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x5639145a77d7 - rust_begin_unwind [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:652:5 [INFO] [stdout] 18: 0x56391406df23 - core::panicking::panic_fmt::hdc63834ffaaefae5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x5639140d5318 - final_proj::establish_connection::{{closure}}::hb72b828250286afe [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:18:29 [INFO] [stdout] 20: 0x5639140e6388 - core::result::Result::unwrap_or_else::hc70b2cedd091371c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/result.rs:1431:23 [INFO] [stdout] 21: 0x5639140d5223 - final_proj::establish_connection::h6d47cd4ffabb951c [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:17:5 [INFO] [stdout] 22: 0x563914074c54 - final_proj::get_count::hd2767889bd00f905 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:36:27 [INFO] [stdout] 23: 0x563914075789 - final_proj::get_count::into_info::monomorphized_function::{{closure}}::h19e9a12e9ffb9400 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:35:4 [INFO] [stdout] 24: 0x563914236ca4 - as core::future::future::Future>::poll::hc08ae26e3252c950 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/future/future.rs:123:9 [INFO] [stdout] 25: 0x5639142c852f - as core::future::future::Future>::poll::hbdd07b6de7827406 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:297:9 [INFO] [stdout] 26: 0x56391420cef8 - as core::future::future::Future>::poll::{{closure}}::h513a592d8f90d282 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.28/src/future/future/catch_unwind.rs:36:42 [INFO] [stdout] 27: 0x5639142cd6ac - as core::ops::function::FnOnce<()>>::call_once::h93b1e2d05fe5fa9c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5639141900e0 - std::panicking::try::do_call::h3b8d8b7e1c99a992 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 29: 0x5639141a863b - __rust_try [INFO] [stdout] 30: 0x56391418ff60 - std::panicking::try::h3cfb253ce4f7ae73 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 31: 0x5639141e5bab - std::panic::catch_unwind::h92e2bbf89acdecfb [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 32: 0x56391420ce3c - as core::future::future::Future>::poll::h826280cb1f215690 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.28/src/future/future/catch_unwind.rs:36:9 [INFO] [stdout] 33: 0x5639142eb740 - rocket::server::handle::{{closure}}::h730ead0bab621762 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/server.rs:55:10 [INFO] [stdout] 34: 0x5639142f1b67 - rocket::server::>::route::{{closure}}::hc6c487f89a50faf2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/server.rs:280:80 [INFO] [stdout] 35: 0x5639142f0214 - rocket::server::>::route_and_process::{{closure}}::h9d1535f94fdcd4b2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/server.rs:235:60 [INFO] [stdout] 36: 0x5639142ef5c3 - rocket::server::>::dispatch::{{closure}}::h7177ee4484e05945 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/server.rs:209:66 [INFO] [stdout] 37: 0x5639142e9301 - rocket::local::asynchronous::response::LocalResponse::new::{{closure}}::h72328b3c6ddb6268 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/local/asynchronous/response.rs:90:53 [INFO] [stdout] 38: 0x563914187a34 - rocket::local::asynchronous::request::LocalRequest::_dispatch::{{closure}}::heabcb5dce23301e4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/local/asynchronous/request.rs:99:12 [INFO] [stdout] 39: 0x56391418d2ac - rocket::local::asynchronous::request::LocalRequest::dispatch::{{closure}}::h5b1b19cebd7f1bd8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/local/asynchronous/request.rs:123:63 [INFO] [stdout] 40: 0x5639142be3d5 - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::h58237f48a83fb769 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/park.rs:283:63 [INFO] [stdout] 41: 0x5639142bd1ee - tokio::runtime::coop::with_budget::h77e02f49d9e81c83 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 42: 0x5639142bd1ee - tokio::runtime::coop::budget::ha19e4b3d2aa050f1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 43: 0x5639142bd1ee - tokio::runtime::park::CachedParkThread::block_on::h807ab0cf972d7259 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/park.rs:283:31 [INFO] [stdout] 44: 0x5639141d3527 - tokio::runtime::context::BlockingRegionGuard::block_on::hde81dbf22b10eaed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/context.rs:315:13 [INFO] [stdout] 45: 0x5639141acfe1 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h25fa4c673311e8fb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/scheduler/multi_thread/mod.rs:66:9 [INFO] [stdout] 46: 0x563914262d9e - tokio::runtime::runtime::Runtime::block_on::hbc7c3b8d0251dc43 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/runtime.rs:304:45 [INFO] [stdout] 47: 0x5639142e9be4 - rocket::local::blocking::client::Client::block_on::h3ab5acb8d14ddee8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/local/blocking/client.rs:66:9 [INFO] [stdout] 48: 0x5639142e9be4 - rocket::local::blocking::request::LocalRequest::_dispatch::h18610ed9b4c496b2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/local/blocking/request.rs:60:21 [INFO] [stdout] 49: 0x5639140901ec - rocket::local::blocking::request::LocalRequest::dispatch::h3e9b49d0f06d61b4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/local/request.rs:326:9 [INFO] [stdout] 50: 0x5639140901ec - final_proj::test::test_count::h8f78d9f17851da4d [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:110:24 [INFO] [stdout] 51: 0x563914090087 - final_proj::test::test_count::{{closure}}::hdb654f58ca47439e [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:108:20 [INFO] [stdout] 52: 0x563914070156 - core::ops::function::FnOnce::call_once::h6a14097e3bffe2cb [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 53: 0x5639140c873b - core::ops::function::FnOnce::call_once::hb194ee8411fb46c7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 54: 0x5639140c873b - test::__rust_begin_short_backtrace::h871a93aaa56c76c5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:623:18 [INFO] [stdout] 55: 0x5639140c7e41 - test::run_test_in_process::{{closure}}::h6d9e6b0161cb50c6 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:60 [INFO] [stdout] 56: 0x5639140c7e41 - as core::ops::function::FnOnce<()>>::call_once::hb9f3c63b5d0e0baa [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 57: 0x5639140c7e41 - std::panicking::try::do_call::h83eb4c9b7c70ebcc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 58: 0x5639140c7e41 - std::panicking::try::h5ffd56bf671a89b3 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 59: 0x5639140c7e41 - std::panic::catch_unwind::h044e758d6cbf65b7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 60: 0x5639140c7e41 - test::run_test_in_process::hf7ca2db08c9223b8 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:27 [INFO] [stdout] 61: 0x5639140c7e41 - test::run_test::{{closure}}::h9657c20462181b87 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:569:43 [INFO] [stdout] 62: 0x5639140908c4 - test::run_test::{{closure}}::h80c3aef427ce62cc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:597:41 [INFO] [stdout] 63: 0x5639140908c4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h43274eec75e29097 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 64: 0x563914095332 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hea1335728d2a7953 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:542:17 [INFO] [stdout] 65: 0x563914095332 - as core::ops::function::FnOnce<()>>::call_once::hb16d5d5fd985753c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 66: 0x563914095332 - std::panicking::try::do_call::h65de05e16c44e167 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 67: 0x563914095332 - std::panicking::try::h187f01afe14eb3bf [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 68: 0x563914095332 - std::panic::catch_unwind::h1b55347b2c8efb63 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 69: 0x563914095332 - std::thread::Builder::spawn_unchecked_::{{closure}}::hea39e0adaff5b52d [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:541:30 [INFO] [stdout] 70: 0x563914095332 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9b61aba01c3c1f32 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 71: 0x5639145ac36b - as core::ops::function::FnOnce>::call_once::h09e5a4c541afa800 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 72: 0x5639145ac36b - as core::ops::function::FnOnce>::call_once::h9c8b03c22f4e7026 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 73: 0x5639145ac36b - std::sys::pal::unix::thread::Thread::new::thread_start::h522bc89a54da820a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 74: 0x7f50cd568ac3 - [INFO] [stdout] 75: 0x7f50cd5f9a04 - __clone [INFO] [stdout] 76: 0x0 - [INFO] [stdout] >> Handler get_count panicked. [INFO] [stdout] >> This is an application bug. [INFO] [stdout] >> A panic in Rust must be treated as an exceptional event. [INFO] [stdout] >> Panicking is not a suitable error handling mechanism. [INFO] [stdout] >> Unwinding, the result of a panic, is an expensive operation. [INFO] [stdout] >> Panics will degrade application performance. [INFO] [stdout] >> Instead of panicking, return `Option` and/or `Result`. [INFO] [stdout] >> Values of either type can be returned directly from handlers. [INFO] [stdout] >> A panic is treated as an internal server error. [INFO] [stdout] >> Outcome: Failure [INFO] [stdout] >> No 500 catcher registered. Using Rocket default. [INFO] [stdout] thread 'test::test_count' panicked at src/main.rs:111:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Status { code: 500 } [INFO] [stdout] right: Status { code: 200 } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5639145a5fd5 - std::backtrace_rs::backtrace::libunwind::trace::h1a07e5dba0da0cd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stdout] 1: 0x5639145a5fd5 - std::backtrace_rs::backtrace::trace_unsynchronized::h61b9b8394328c0bc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5639145a5fd5 - std::sys_common::backtrace::_print_fmt::h1c5e18b460934cff [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x5639145a5fd5 - ::fmt::h1e1a1972118942ad [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x5639145d1c7b - core::fmt::rt::Argument::fmt::h07af2b4071d536cd [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/rt.rs:165:63 [INFO] [stdout] 5: 0x5639145d1c7b - core::fmt::write::hc090a2ffd6b28c4a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/mod.rs:1157:21 [INFO] [stdout] 6: 0x5639145a355f - std::io::Write::write_fmt::h9443d787e8277bd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/io/mod.rs:1832:15 [INFO] [stdout] 7: 0x5639145a5dae - std::sys_common::backtrace::_print::h4e80c5803d4ee35b [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x5639145a5dae - std::sys_common::backtrace::print::ha96650907276675e [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x5639145a7729 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0 [INFO] [stdout] 10: 0x5639145a73ee - std::panicking::default_hook::h207342be97478370 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:295:9 [INFO] [stdout] 11: 0x5639140c3d5a - as core::ops::function::Fn>::call::haebd875eeb75949f [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 12: 0x5639140c3d5a - test::test_main::{{closure}}::h9108cb0ebacdb458 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x5639145a7cf6 - as core::ops::function::Fn>::call::ha9c3bc81d312fd83 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 14: 0x5639145a7cf6 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:799:13 [INFO] [stdout] 15: 0x5639145a7aa4 - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:664:13 [INFO] [stdout] 16: 0x5639145a6499 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x5639145a77d7 - rust_begin_unwind [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:652:5 [INFO] [stdout] 18: 0x56391406df23 - core::panicking::panic_fmt::hdc63834ffaaefae5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x56391406e34e - core::panicking::assert_failed_inner::hda4754f94c1c1cb1 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:409:17 [INFO] [stdout] 20: 0x56391408c1be - core::panicking::assert_failed::h211b48870adc90e9 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:364:5 [INFO] [stdout] 21: 0x56391409030e - final_proj::test::test_count::h8f78d9f17851da4d [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:111:9 [INFO] [stdout] 22: 0x563914090087 - final_proj::test::test_count::{{closure}}::hdb654f58ca47439e [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:108:20 [INFO] [stdout] 23: 0x563914070156 - core::ops::function::FnOnce::call_once::h6a14097e3bffe2cb [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5639140c873b - core::ops::function::FnOnce::call_once::hb194ee8411fb46c7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5639140c873b - test::__rust_begin_short_backtrace::h871a93aaa56c76c5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:623:18 [INFO] [stdout] 26: 0x5639140c7e41 - test::run_test_in_process::{{closure}}::h6d9e6b0161cb50c6 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:60 [INFO] [stdout] 27: 0x5639140c7e41 - as core::ops::function::FnOnce<()>>::call_once::hb9f3c63b5d0e0baa [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5639140c7e41 - std::panicking::try::do_call::h83eb4c9b7c70ebcc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 29: 0x5639140c7e41 - std::panicking::try::h5ffd56bf671a89b3 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 30: 0x5639140c7e41 - std::panic::catch_unwind::h044e758d6cbf65b7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 31: 0x5639140c7e41 - test::run_test_in_process::hf7ca2db08c9223b8 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:27 [INFO] [stdout] 32: 0x5639140c7e41 - test::run_test::{{closure}}::h9657c20462181b87 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:569:43 [INFO] [stdout] 33: 0x5639140908c4 - test::run_test::{{closure}}::h80c3aef427ce62cc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:597:41 [INFO] [stdout] 34: 0x5639140908c4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h43274eec75e29097 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 35: 0x563914095332 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hea1335728d2a7953 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:542:17 [INFO] [stdout] 36: 0x563914095332 - as core::ops::function::FnOnce<()>>::call_once::hb16d5d5fd985753c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x563914095332 - std::panicking::try::do_call::h65de05e16c44e167 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 38: 0x563914095332 - std::panicking::try::h187f01afe14eb3bf [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 39: 0x563914095332 - std::panic::catch_unwind::h1b55347b2c8efb63 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 40: 0x563914095332 - std::thread::Builder::spawn_unchecked_::{{closure}}::hea39e0adaff5b52d [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:541:30 [INFO] [stdout] 41: 0x563914095332 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9b61aba01c3c1f32 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5639145ac36b - as core::ops::function::FnOnce>::call_once::h09e5a4c541afa800 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 43: 0x5639145ac36b - as core::ops::function::FnOnce>::call_once::h9c8b03c22f4e7026 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 44: 0x5639145ac36b - std::sys::pal::unix::thread::Thread::new::thread_start::h522bc89a54da820a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f50cd568ac3 - [INFO] [stdout] 46: 0x7f50cd5f9a04 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::test_count [INFO] [stdout] test::test_search [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin final_proj` [INFO] running `Command { std: "docker" "inspect" "498526647bdab272e208f915f32dfa98a311f02e6b81f1e2dfdb603a98c68b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "498526647bdab272e208f915f32dfa98a311f02e6b81f1e2dfdb603a98c68b60", kill_on_drop: false }` [INFO] [stdout] 498526647bdab272e208f915f32dfa98a311f02e6b81f1e2dfdb603a98c68b60