[INFO] fetching crate evebox 0.13.0...
[INFO] checking evebox-0.13.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate evebox 0.13.0 into /workspace/builds/worker-2-tc2/source
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config
[INFO] started tweaking crates.io crate evebox 0.13.0
[INFO] finished tweaking crates.io crate evebox 0.13.0
[INFO] tweaked toml for crates.io crate evebox 0.13.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate evebox 0.13.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate evebox 0.13.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 445e5bcef7c51860c92440faaf94eb2722dc58b90b409f10a45dd62f5fdf71c8
[INFO] running `Command { std: "docker" "start" "-a" "445e5bcef7c51860c92440faaf94eb2722dc58b90b409f10a45dd62f5fdf71c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "445e5bcef7c51860c92440faaf94eb2722dc58b90b409f10a45dd62f5fdf71c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "445e5bcef7c51860c92440faaf94eb2722dc58b90b409f10a45dd62f5fdf71c8", kill_on_drop: false }`
[INFO] [stdout] 445e5bcef7c51860c92440faaf94eb2722dc58b90b409f10a45dd62f5fdf71c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 312fd6355e04160f708e45e032f81b10ecd1190a3ee45cf095b69aed95dd2e52
[INFO] running `Command { std: "docker" "start" "-a" "312fd6355e04160f708e45e032f81b10ecd1190a3ee45cf095b69aed95dd2e52", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.89
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.124
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling serde v1.0.124
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]     Checking futures-core v0.3.13
[INFO] [stderr]     Checking pin-project-lite v0.2.6
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]     Checking futures-sink v0.3.13
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking tracing-core v0.1.17
[INFO] [stderr]     Checking http v0.2.3
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking futures-channel v0.3.13
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]     Checking futures-task v0.3.13
[INFO] [stderr]    Compiling httparse v1.3.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking futures-io v0.3.13
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]     Checking signal-hook-registry v1.3.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking tinyvec v1.1.1
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking regex-syntax v0.6.23
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling lexical-core v0.7.5
[INFO] [stderr]     Checking unicode-normalization v0.1.17
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling rle-decode-fast v1.0.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]    Compiling libflate v0.1.27
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking sha-1 v0.9.4
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking idna v0.2.2
[INFO] [stderr]     Checking input_buffer v0.3.1
[INFO] [stderr]    Compiling libsqlite3-sys v0.18.0
[INFO] [stderr]     Checking utf-8 v0.7.5
[INFO] [stderr]     Checking dtoa v0.4.7
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]    Compiling anyhow v1.0.38
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]    Compiling rust-embed-utils v5.1.0
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking cipher v0.2.5
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking url v2.2.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking inotify v0.7.1
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]     Checking regex v1.4.5
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking blowfish v0.7.0
[INFO] [stderr]     Checking tungstenite v0.11.1
[INFO] [stderr]     Checking headers v0.3.4
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking filetime v0.2.14
[INFO] [stderr]     Checking multipart v0.17.1
[INFO] [stderr]     Checking tracing-log v0.1.2
[INFO] [stderr]     Checking thread_local v1.1.3
[INFO] [stderr]     Checking sharded-slab v0.1.1
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking ipnet v2.3.0
[INFO] [stderr]     Checking urlencoding v1.1.1
[INFO] [stderr]    Compiling evebox v0.13.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]     Checking notify v4.0.15
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking bcrypt v0.9.0
[INFO] [stderr]     Checking ulid v0.3.3
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking rpassword v4.0.5
[INFO] [stderr]     Checking webbrowser v0.5.5
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]     Checking serde-hjson v0.9.1
[INFO] [stderr]     Checking evebox-suricata-rule-parser v0.1.0
[INFO] [stderr]    Compiling include-flate-codegen v0.1.3
[INFO] [stderr]     Checking webpki v0.21.4
[INFO] [stderr]     Checking sct v0.6.0
[INFO] [stderr]     Checking include-flate-codegen-exports v0.1.3
[INFO] [stderr]     Checking include-flate v0.1.3
[INFO] [stderr]     Checking rustls v0.18.1
[INFO] [stderr]     Checking webpki-roots v0.20.0
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling futures-macro v0.3.13
[INFO] [stderr]    Compiling tracing-attributes v0.1.15
[INFO] [stderr]    Compiling pin-project-internal v1.0.5
[INFO] [stderr]    Compiling rust-embed-impl v5.9.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking futures-util v0.3.13
[INFO] [stderr]     Checking rust-embed v5.9.0
[INFO] [stderr]     Checking thiserror v1.0.24
[INFO] [stderr]     Checking pin-project v1.0.5
[INFO] [stderr]     Checking tracing v0.1.25
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking pin-project v0.4.27
[INFO] [stderr]     Checking futures-executor v0.3.13
[INFO] [stderr]     Checking futures v0.3.13
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking tokio-rustls v0.14.1
[INFO] [stderr]     Checking tokio-tungstenite v0.11.0
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking serde_urlencoded v0.7.0
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]     Checking tracing-serde v0.1.2
[INFO] [stderr]     Checking maxminddb v0.13.0
[INFO] [stderr]     Checking serde_yaml v0.8.17
[INFO] [stderr]     Checking tracing-subscriber v0.2.17
[INFO] [stderr]     Checking rusqlite v0.23.1
[INFO] [stderr]     Checking config v0.10.1
[INFO] [stderr]     Checking hyper v0.13.10
[INFO] [stderr]     Checking hyper-rustls v0.21.0
[INFO] [stderr]     Checking warp v0.2.5
[INFO] [stderr]     Checking reqwest v0.10.10
[INFO] [stdout] warning: unused import: `importer::Importer`
[INFO] [stdout]   --> src/elastic/mod.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub use importer::Importer;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `importer::Importer`
[INFO] [stdout]   --> src/elastic/mod.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub use importer::Importer;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::WithHeader<warp::http::Response<warp::hyper::Body>>, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:48:43
[INFO] [stdout]    |
[INFO] [stdout] 48 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 49 | |     let config = json!({
[INFO] [stdout] 50 | |        "ElasticSearchIndex": context.config.elastic_index,
[INFO] [stdout] 51 | |        "event-services": context.event_services,
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |     ))
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::WithHeader<warp::http::Response<warp::hyper::Body>>, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:48:43
[INFO] [stdout]    |
[INFO] [stdout] 48 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 49 | |     let config = json!({
[INFO] [stdout] 50 | |        "ElasticSearchIndex": context.config.elastic_index,
[INFO] [stdout] 51 | |        "event-services": context.event_services,
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |     ))
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::WithHeader<warp::http::Response<warp::hyper::Body>>, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | /     Ok(warp::reply::with_header(
[INFO] [stdout] 58 | |         Response::Json(config).into_response(),
[INFO] [stdout] 59 | |         "x-evebox-session-id",
[INFO] [stdout] 60 | |         &session.session_id,
[INFO] [stdout] 61 | |     ))
[INFO] [stdout]    | |______^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:75:43
[INFO] [stdout]    |
[INFO] [stdout] 75 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 76 | |     let mut params = EventQueryParams::default();
[INFO] [stdout] 77 | |     if let Some(time_range) = request.time_range {
[INFO] [stdout] 78 | |         let now = chrono::Utc::now();
[INFO] [stdout] ...  |
[INFO] [stdout] 99 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:75:43
[INFO] [stdout]    |
[INFO] [stdout] 75 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 76 | |     let mut params = EventQueryParams::default();
[INFO] [stdout] 77 | |     if let Some(time_range) = request.time_range {
[INFO] [stdout] 78 | |         let now = chrono::Utc::now();
[INFO] [stdout] ...  |
[INFO] [stdout] 99 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 95 | /     match context.datastore.report_dhcp(&what, &params).await {
[INFO] [stdout] 96 | |         Ok(response) => Ok(Response::Json(response)),
[INFO] [stdout] 97 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 98 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:96:25
[INFO] [stdout]    |
[INFO] [stdout] 96 |         Ok(response) => Ok(Response::Json(response)),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:105:43
[INFO] [stdout]     |
[INFO] [stdout] 105 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 106 | |     log::info!("Escalated alert group: {:?}", request);
[INFO] [stdout] 107 | |     context
[INFO] [stdout] 108 | |         .datastore
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | |     Ok(Response::Ok)
[INFO] [stdout] 113 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:105:43
[INFO] [stdout]     |
[INFO] [stdout] 105 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 106 | |     log::info!("Escalated alert group: {:?}", request);
[INFO] [stdout] 107 | |     context
[INFO] [stdout] 108 | |         .datastore
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | |     Ok(Response::Ok)
[INFO] [stdout] 113 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 |     Ok(Response::Ok)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:119:43
[INFO] [stdout]     |
[INFO] [stdout] 119 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 120 | |     log::info!("De-escalating alert group: {:?}", request);
[INFO] [stdout] 121 | |     context
[INFO] [stdout] 122 | |         .datastore
[INFO] [stdout] ...   |
[INFO] [stdout] 126 | |     Ok(Response::Ok)
[INFO] [stdout] 127 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:119:43
[INFO] [stdout]     |
[INFO] [stdout] 119 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 120 | |     log::info!("De-escalating alert group: {:?}", request);
[INFO] [stdout] 121 | |     context
[INFO] [stdout] 122 | |         .datastore
[INFO] [stdout] ...   |
[INFO] [stdout] 126 | |     Ok(Response::Ok)
[INFO] [stdout] 127 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout] 126 |     Ok(Response::Ok)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:133:43
[INFO] [stdout]     |
[INFO] [stdout] 133 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 134 | |     match context.datastore.archive_by_alert_group(request).await {
[INFO] [stdout] 135 | |         Ok(_) => Ok(Response::Ok),
[INFO] [stdout] 136 | |         Err(err) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 141 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:133:43
[INFO] [stdout]     |
[INFO] [stdout] 133 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 134 | |     match context.datastore.archive_by_alert_group(request).await {
[INFO] [stdout] 135 | |         Ok(_) => Ok(Response::Ok),
[INFO] [stdout] 136 | |         Err(err) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 141 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 134 | /     match context.datastore.archive_by_alert_group(request).await {
[INFO] [stdout] 135 | |         Ok(_) => Ok(Response::Ok),
[INFO] [stdout] 136 | |         Err(err) => {
[INFO] [stdout] 137 | |             log::error!("Failed to archive by alert group: {}", err);
[INFO] [stdout] ...   |
[INFO] [stdout] 140 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:135:18
[INFO] [stdout]     |
[INFO] [stdout] 135 |         Ok(_) => Ok(Response::Ok),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |           Err(err) => {
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 137 | |             log::error!("Failed to archive by alert group: {}", err);
[INFO] [stdout] 138 | |             Ok(Response::InternalError(err.to_string()))
[INFO] [stdout] 139 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |             Ok(Response::InternalError(err.to_string()))
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:197:43
[INFO] [stdout]     |
[INFO] [stdout] 197 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 198 | |     let mut options = elastic::AlertQueryOptions::default();
[INFO] [stdout] 199 | |     options.query_string = query.query_string;
[INFO] [stdout] ...   |
[INFO] [stdout] 237 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:197:43
[INFO] [stdout]     |
[INFO] [stdout] 197 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 198 | |     let mut options = elastic::AlertQueryOptions::default();
[INFO] [stdout] 199 | |     options.query_string = query.query_string;
[INFO] [stdout] ...   |
[INFO] [stdout] 237 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:230:5
[INFO] [stdout]     |
[INFO] [stdout] 230 | /     match context.datastore.alert_query(options).await {
[INFO] [stdout] 231 | |         Ok(v) => Ok(Response::Json(v).with_session(session)),
[INFO] [stdout] 232 | |         Err(err) => {
[INFO] [stdout] 233 | |             log::error!("alert query failed: {}", err);
[INFO] [stdout] ...   |
[INFO] [stdout] 236 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:231:18
[INFO] [stdout]     |
[INFO] [stdout] 231 |         Ok(v) => Ok(Response::Json(v).with_session(session)),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:232:21
[INFO] [stdout]     |
[INFO] [stdout] 232 |           Err(err) => {
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 233 | |             log::error!("alert query failed: {}", err);
[INFO] [stdout] 234 | |             Ok(Response::InternalError(err.to_string()).with_session(session))
[INFO] [stdout] 235 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:234:13
[INFO] [stdout]     |
[INFO] [stdout] 234 |             Ok(Response::InternalError(err.to_string()).with_session(session))
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:243:43
[INFO] [stdout]     |
[INFO] [stdout] 243 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 244 | |     match context.datastore.get_event_by_id(event_id.clone()).await {
[INFO] [stdout] 245 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 246 | |         Ok(Some(event)) => Ok(Response::Json(event)),
[INFO] [stdout] ...   |
[INFO] [stdout] 249 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:243:43
[INFO] [stdout]     |
[INFO] [stdout] 243 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 244 | |     match context.datastore.get_event_by_id(event_id.clone()).await {
[INFO] [stdout] 245 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 246 | |         Ok(Some(event)) => Ok(Response::Json(event)),
[INFO] [stdout] ...   |
[INFO] [stdout] 249 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:244:5
[INFO] [stdout]     |
[INFO] [stdout] 244 | /     match context.datastore.get_event_by_id(event_id.clone()).await {
[INFO] [stdout] 245 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 246 | |         Ok(Some(event)) => Ok(Response::Json(event)),
[INFO] [stdout] 247 | |         Ok(None) => Ok(Response::NotFound),
[INFO] [stdout] 248 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:245:21
[INFO] [stdout]     |
[INFO] [stdout] 245 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:246:28
[INFO] [stdout]     |
[INFO] [stdout] 246 |         Ok(Some(event)) => Ok(Response::Json(event)),
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:247:21
[INFO] [stdout]     |
[INFO] [stdout] 247 |         Ok(None) => Ok(Response::NotFound),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:255:43
[INFO] [stdout]     |
[INFO] [stdout] 255 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 256 | |     match context.datastore.archive_event_by_id(event_id).await {
[INFO] [stdout] 257 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 258 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 259 | |     }
[INFO] [stdout] 260 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:255:43
[INFO] [stdout]     |
[INFO] [stdout] 255 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 256 | |     match context.datastore.archive_event_by_id(event_id).await {
[INFO] [stdout] 257 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 258 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 259 | |     }
[INFO] [stdout] 260 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:256:5
[INFO] [stdout]     |
[INFO] [stdout] 256 | /     match context.datastore.archive_event_by_id(event_id).await {
[INFO] [stdout] 257 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 258 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 259 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:257:19
[INFO] [stdout]     |
[INFO] [stdout] 257 |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:258:21
[INFO] [stdout]     |
[INFO] [stdout] 258 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:266:43
[INFO] [stdout]     |
[INFO] [stdout] 266 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 267 | |     match context.datastore.escalate_event_by_id(event_id).await {
[INFO] [stdout] 268 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 269 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 270 | |     }
[INFO] [stdout] 271 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:266:43
[INFO] [stdout]     |
[INFO] [stdout] 266 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 267 | |     match context.datastore.escalate_event_by_id(event_id).await {
[INFO] [stdout] 268 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 269 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 270 | |     }
[INFO] [stdout] 271 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:267:5
[INFO] [stdout]     |
[INFO] [stdout] 267 | /     match context.datastore.escalate_event_by_id(event_id).await {
[INFO] [stdout] 268 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 269 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 270 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:268:19
[INFO] [stdout]     |
[INFO] [stdout] 268 |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:269:21
[INFO] [stdout]     |
[INFO] [stdout] 269 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:277:43
[INFO] [stdout]     |
[INFO] [stdout] 277 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 278 | |     match context.datastore.deescalate_event_by_id(event_id).await {
[INFO] [stdout] 279 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 280 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 281 | |     }
[INFO] [stdout] 282 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:277:43
[INFO] [stdout]     |
[INFO] [stdout] 277 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 278 | |     match context.datastore.deescalate_event_by_id(event_id).await {
[INFO] [stdout] 279 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 280 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 281 | |     }
[INFO] [stdout] 282 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:278:5
[INFO] [stdout]     |
[INFO] [stdout] 278 | /     match context.datastore.deescalate_event_by_id(event_id).await {
[INFO] [stdout] 279 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 280 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 281 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:279:19
[INFO] [stdout]     |
[INFO] [stdout] 279 |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:280:21
[INFO] [stdout]     |
[INFO] [stdout] 280 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:289:43
[INFO] [stdout]     |
[INFO] [stdout] 289 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 290 | |     match context
[INFO] [stdout] 291 | |         .datastore
[INFO] [stdout] 292 | |         .comment_event_by_id(event_id, body.comment)
[INFO] [stdout] ...   |
[INFO] [stdout] 298 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:289:43
[INFO] [stdout]     |
[INFO] [stdout] 289 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 290 | |     match context
[INFO] [stdout] 291 | |         .datastore
[INFO] [stdout] 292 | |         .comment_event_by_id(event_id, body.comment)
[INFO] [stdout] ...   |
[INFO] [stdout] 298 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:290:5
[INFO] [stdout]     |
[INFO] [stdout] 290 | /     match context
[INFO] [stdout] 291 | |         .datastore
[INFO] [stdout] 292 | |         .comment_event_by_id(event_id, body.comment)
[INFO] [stdout] 293 | |         .await
[INFO] [stdout] ...   |
[INFO] [stdout] 296 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 297 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:295:19
[INFO] [stdout]     |
[INFO] [stdout] 295 |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:296:21
[INFO] [stdout]     |
[INFO] [stdout] 296 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:399:43
[INFO] [stdout]     |
[INFO] [stdout] 399 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 400 | |     match context
[INFO] [stdout] 401 | |         .datastore
[INFO] [stdout] 402 | |         .comment_by_alert_group(request.alert_group, request.comment)
[INFO] [stdout] ...   |
[INFO] [stdout] 408 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:399:43
[INFO] [stdout]     |
[INFO] [stdout] 399 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 400 | |     match context
[INFO] [stdout] 401 | |         .datastore
[INFO] [stdout] 402 | |         .comment_by_alert_group(request.alert_group, request.comment)
[INFO] [stdout] ...   |
[INFO] [stdout] 408 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:400:5
[INFO] [stdout]     |
[INFO] [stdout] 400 | /     match context
[INFO] [stdout] 401 | |         .datastore
[INFO] [stdout] 402 | |         .comment_by_alert_group(request.alert_group, request.comment)
[INFO] [stdout] 403 | |         .await
[INFO] [stdout] ...   |
[INFO] [stdout] 406 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 407 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:405:19
[INFO] [stdout]     |
[INFO] [stdout] 405 |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:406:21
[INFO] [stdout]     |
[INFO] [stdout] 406 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:33:91
[INFO] [stdout]    |
[INFO] [stdout] 33 |   pub async fn options(context: Arc<ServerContext>) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 34 | |     let response = json!({
[INFO] [stdout] 35 | |         "authentication": {
[INFO] [stdout] 36 | |             "required": context.config.authentication_required,
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     Ok(Response::Json(response))
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:33:91
[INFO] [stdout]    |
[INFO] [stdout] 33 |   pub async fn options(context: Arc<ServerContext>) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 34 | |     let response = json!({
[INFO] [stdout] 35 | |         "authentication": {
[INFO] [stdout] 36 | |             "required": context.config.authentication_required,
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     Ok(Response::Json(response))
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     Ok(Response::Json(response))
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:46:43
[INFO] [stdout]    |
[INFO] [stdout] 46 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 47 | |     let session = match (
[INFO] [stdout] 48 | |         &context.config.authentication_type,
[INFO] [stdout] 49 | |         &form.username,
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |     return Ok(Response::Unauthorized);
[INFO] [stdout] 93 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 |             return Ok(Response::InternalError(err.to_string()));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:89:16
[INFO] [stdout]    |
[INFO] [stdout] 89 |         return Ok(Response::Json(response));
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 |     return Ok(Response::Unauthorized);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/login.rs:98:43
[INFO] [stdout]     |
[INFO] [stdout]  98 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout]  99 | |     if !context.session_store.delete(&session.session_id) {
[INFO] [stdout] 100 | |         log::warn!("Logout request for unknown session ID");
[INFO] [stdout] 101 | |     } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 104 | |     Ok(Response::Ok)
[INFO] [stdout] 105 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/login.rs:98:43
[INFO] [stdout]     |
[INFO] [stdout]  98 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout]  99 | |     if !context.session_store.delete(&session.session_id) {
[INFO] [stdout] 100 | |         log::warn!("Logout request for unknown session ID");
[INFO] [stdout] 101 | |     } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 104 | |     Ok(Response::Ok)
[INFO] [stdout] 105 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/login.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     Ok(Response::Ok)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:26:94
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub async fn rejection_handler(err: warp::Rejection) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ______________________________________________________________________________________________^
[INFO] [stdout] 27 | |     // Look for API errors.
[INFO] [stdout] 28 | |     if let Some(err) = err.find::<api::ApiError>() {
[INFO] [stdout] 29 | |         return Ok(response::Response::build_error_response(
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |     Ok(warp::http::StatusCode::INTERNAL_SERVER_ERROR.into_response())
[INFO] [stdout] 81 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:26:94
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub async fn rejection_handler(err: warp::Rejection) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ______________________________________________________________________________________________^
[INFO] [stdout] 27 | |     // Look for API errors.
[INFO] [stdout] 28 | |     if let Some(err) = err.find::<api::ApiError>() {
[INFO] [stdout] 29 | |         return Ok(response::Response::build_error_response(
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |     Ok(warp::http::StatusCode::INTERNAL_SERVER_ERROR.into_response())
[INFO] [stdout] 81 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |           return Ok(response::Response::build_error_response(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 30 | |             warp::http::StatusCode::BAD_REQUEST,
[INFO] [stdout] 31 | |             &err.to_string(),
[INFO] [stdout] 32 | |         ));
[INFO] [stdout]    | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 36 |           return Ok(response::Response::build_error_response(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 37 | |             warp::http::StatusCode::INTERNAL_SERVER_ERROR,
[INFO] [stdout] 38 | |             &format!("datastore error: {}", err),
[INFO] [stdout] 39 | |         ));
[INFO] [stdout]    | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |           return Ok(response::Response::build_error_response(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 45 | |             warp::http::StatusCode::BAD_REQUEST,
[INFO] [stdout] 46 | |             "payload too large",
[INFO] [stdout] 47 | |         ));
[INFO] [stdout]    | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:56:16
[INFO] [stdout]    |
[INFO] [stdout] 56 |         return Ok(warp::reply::with_status(warp::reply::json(&response), code).into_response());
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:62:16
[INFO] [stdout]    |
[INFO] [stdout] 62 |           return Ok(response::Response::build_error_response(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 63 | |             warp::http::StatusCode::NOT_FOUND,
[INFO] [stdout] 64 | |             "not found",
[INFO] [stdout] 65 | |         ));
[INFO] [stdout]    | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:69:16
[INFO] [stdout]    |
[INFO] [stdout] 69 |           return Ok(response::Response::build_error_response(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 70 | |             warp::http::StatusCode::NOT_FOUND,
[INFO] [stdout] 71 | |             "not found",
[INFO] [stdout] 72 | |         ));
[INFO] [stdout]    | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     Ok(warp::http::StatusCode::INTERNAL_SERVER_ERROR.into_response())
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `evebox` (lib test) due to 76 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::WithHeader<warp::http::Response<warp::hyper::Body>>, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:48:43
[INFO] [stdout]    |
[INFO] [stdout] 48 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 49 | |     let config = json!({
[INFO] [stdout] 50 | |        "ElasticSearchIndex": context.config.elastic_index,
[INFO] [stdout] 51 | |        "event-services": context.event_services,
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |     ))
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::WithHeader<warp::http::Response<warp::hyper::Body>>, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:48:43
[INFO] [stdout]    |
[INFO] [stdout] 48 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 49 | |     let config = json!({
[INFO] [stdout] 50 | |        "ElasticSearchIndex": context.config.elastic_index,
[INFO] [stdout] 51 | |        "event-services": context.event_services,
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |     ))
[INFO] [stdout] 62 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::WithHeader<warp::http::Response<warp::hyper::Body>>, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | /     Ok(warp::reply::with_header(
[INFO] [stdout] 58 | |         Response::Json(config).into_response(),
[INFO] [stdout] 59 | |         "x-evebox-session-id",
[INFO] [stdout] 60 | |         &session.session_id,
[INFO] [stdout] 61 | |     ))
[INFO] [stdout]    | |______^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:75:43
[INFO] [stdout]    |
[INFO] [stdout] 75 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 76 | |     let mut params = EventQueryParams::default();
[INFO] [stdout] 77 | |     if let Some(time_range) = request.time_range {
[INFO] [stdout] 78 | |         let now = chrono::Utc::now();
[INFO] [stdout] ...  |
[INFO] [stdout] 99 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:75:43
[INFO] [stdout]    |
[INFO] [stdout] 75 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 76 | |     let mut params = EventQueryParams::default();
[INFO] [stdout] 77 | |     if let Some(time_range) = request.time_range {
[INFO] [stdout] 78 | |         let now = chrono::Utc::now();
[INFO] [stdout] ...  |
[INFO] [stdout] 99 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 95 | /     match context.datastore.report_dhcp(&what, &params).await {
[INFO] [stdout] 96 | |         Ok(response) => Ok(Response::Json(response)),
[INFO] [stdout] 97 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 98 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:96:25
[INFO] [stdout]    |
[INFO] [stdout] 96 |         Ok(response) => Ok(Response::Json(response)),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/api.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:105:43
[INFO] [stdout]     |
[INFO] [stdout] 105 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 106 | |     log::info!("Escalated alert group: {:?}", request);
[INFO] [stdout] 107 | |     context
[INFO] [stdout] 108 | |         .datastore
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | |     Ok(Response::Ok)
[INFO] [stdout] 113 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:105:43
[INFO] [stdout]     |
[INFO] [stdout] 105 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 106 | |     log::info!("Escalated alert group: {:?}", request);
[INFO] [stdout] 107 | |     context
[INFO] [stdout] 108 | |         .datastore
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | |     Ok(Response::Ok)
[INFO] [stdout] 113 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 |     Ok(Response::Ok)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:119:43
[INFO] [stdout]     |
[INFO] [stdout] 119 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 120 | |     log::info!("De-escalating alert group: {:?}", request);
[INFO] [stdout] 121 | |     context
[INFO] [stdout] 122 | |         .datastore
[INFO] [stdout] ...   |
[INFO] [stdout] 126 | |     Ok(Response::Ok)
[INFO] [stdout] 127 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:119:43
[INFO] [stdout]     |
[INFO] [stdout] 119 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 120 | |     log::info!("De-escalating alert group: {:?}", request);
[INFO] [stdout] 121 | |     context
[INFO] [stdout] 122 | |         .datastore
[INFO] [stdout] ...   |
[INFO] [stdout] 126 | |     Ok(Response::Ok)
[INFO] [stdout] 127 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout] 126 |     Ok(Response::Ok)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:133:43
[INFO] [stdout]     |
[INFO] [stdout] 133 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 134 | |     match context.datastore.archive_by_alert_group(request).await {
[INFO] [stdout] 135 | |         Ok(_) => Ok(Response::Ok),
[INFO] [stdout] 136 | |         Err(err) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 141 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:133:43
[INFO] [stdout]     |
[INFO] [stdout] 133 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 134 | |     match context.datastore.archive_by_alert_group(request).await {
[INFO] [stdout] 135 | |         Ok(_) => Ok(Response::Ok),
[INFO] [stdout] 136 | |         Err(err) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 141 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 134 | /     match context.datastore.archive_by_alert_group(request).await {
[INFO] [stdout] 135 | |         Ok(_) => Ok(Response::Ok),
[INFO] [stdout] 136 | |         Err(err) => {
[INFO] [stdout] 137 | |             log::error!("Failed to archive by alert group: {}", err);
[INFO] [stdout] ...   |
[INFO] [stdout] 140 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:135:18
[INFO] [stdout]     |
[INFO] [stdout] 135 |         Ok(_) => Ok(Response::Ok),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |           Err(err) => {
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 137 | |             log::error!("Failed to archive by alert group: {}", err);
[INFO] [stdout] 138 | |             Ok(Response::InternalError(err.to_string()))
[INFO] [stdout] 139 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |             Ok(Response::InternalError(err.to_string()))
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:197:43
[INFO] [stdout]     |
[INFO] [stdout] 197 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 198 | |     let mut options = elastic::AlertQueryOptions::default();
[INFO] [stdout] 199 | |     options.query_string = query.query_string;
[INFO] [stdout] ...   |
[INFO] [stdout] 237 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:197:43
[INFO] [stdout]     |
[INFO] [stdout] 197 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 198 | |     let mut options = elastic::AlertQueryOptions::default();
[INFO] [stdout] 199 | |     options.query_string = query.query_string;
[INFO] [stdout] ...   |
[INFO] [stdout] 237 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:230:5
[INFO] [stdout]     |
[INFO] [stdout] 230 | /     match context.datastore.alert_query(options).await {
[INFO] [stdout] 231 | |         Ok(v) => Ok(Response::Json(v).with_session(session)),
[INFO] [stdout] 232 | |         Err(err) => {
[INFO] [stdout] 233 | |             log::error!("alert query failed: {}", err);
[INFO] [stdout] ...   |
[INFO] [stdout] 236 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:231:18
[INFO] [stdout]     |
[INFO] [stdout] 231 |         Ok(v) => Ok(Response::Json(v).with_session(session)),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:232:21
[INFO] [stdout]     |
[INFO] [stdout] 232 |           Err(err) => {
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 233 | |             log::error!("alert query failed: {}", err);
[INFO] [stdout] 234 | |             Ok(Response::InternalError(err.to_string()).with_session(session))
[INFO] [stdout] 235 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:234:13
[INFO] [stdout]     |
[INFO] [stdout] 234 |             Ok(Response::InternalError(err.to_string()).with_session(session))
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:243:43
[INFO] [stdout]     |
[INFO] [stdout] 243 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 244 | |     match context.datastore.get_event_by_id(event_id.clone()).await {
[INFO] [stdout] 245 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 246 | |         Ok(Some(event)) => Ok(Response::Json(event)),
[INFO] [stdout] ...   |
[INFO] [stdout] 249 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:243:43
[INFO] [stdout]     |
[INFO] [stdout] 243 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 244 | |     match context.datastore.get_event_by_id(event_id.clone()).await {
[INFO] [stdout] 245 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 246 | |         Ok(Some(event)) => Ok(Response::Json(event)),
[INFO] [stdout] ...   |
[INFO] [stdout] 249 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:244:5
[INFO] [stdout]     |
[INFO] [stdout] 244 | /     match context.datastore.get_event_by_id(event_id.clone()).await {
[INFO] [stdout] 245 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 246 | |         Ok(Some(event)) => Ok(Response::Json(event)),
[INFO] [stdout] 247 | |         Ok(None) => Ok(Response::NotFound),
[INFO] [stdout] 248 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:245:21
[INFO] [stdout]     |
[INFO] [stdout] 245 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:246:28
[INFO] [stdout]     |
[INFO] [stdout] 246 |         Ok(Some(event)) => Ok(Response::Json(event)),
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:247:21
[INFO] [stdout]     |
[INFO] [stdout] 247 |         Ok(None) => Ok(Response::NotFound),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:255:43
[INFO] [stdout]     |
[INFO] [stdout] 255 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 256 | |     match context.datastore.archive_event_by_id(event_id).await {
[INFO] [stdout] 257 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 258 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 259 | |     }
[INFO] [stdout] 260 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:255:43
[INFO] [stdout]     |
[INFO] [stdout] 255 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 256 | |     match context.datastore.archive_event_by_id(event_id).await {
[INFO] [stdout] 257 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 258 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 259 | |     }
[INFO] [stdout] 260 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:256:5
[INFO] [stdout]     |
[INFO] [stdout] 256 | /     match context.datastore.archive_event_by_id(event_id).await {
[INFO] [stdout] 257 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 258 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 259 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:257:19
[INFO] [stdout]     |
[INFO] [stdout] 257 |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:258:21
[INFO] [stdout]     |
[INFO] [stdout] 258 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:266:43
[INFO] [stdout]     |
[INFO] [stdout] 266 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 267 | |     match context.datastore.escalate_event_by_id(event_id).await {
[INFO] [stdout] 268 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 269 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 270 | |     }
[INFO] [stdout] 271 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:266:43
[INFO] [stdout]     |
[INFO] [stdout] 266 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 267 | |     match context.datastore.escalate_event_by_id(event_id).await {
[INFO] [stdout] 268 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 269 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 270 | |     }
[INFO] [stdout] 271 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:267:5
[INFO] [stdout]     |
[INFO] [stdout] 267 | /     match context.datastore.escalate_event_by_id(event_id).await {
[INFO] [stdout] 268 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 269 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 270 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:268:19
[INFO] [stdout]     |
[INFO] [stdout] 268 |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:269:21
[INFO] [stdout]     |
[INFO] [stdout] 269 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:277:43
[INFO] [stdout]     |
[INFO] [stdout] 277 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 278 | |     match context.datastore.deescalate_event_by_id(event_id).await {
[INFO] [stdout] 279 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 280 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 281 | |     }
[INFO] [stdout] 282 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:277:43
[INFO] [stdout]     |
[INFO] [stdout] 277 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 278 | |     match context.datastore.deescalate_event_by_id(event_id).await {
[INFO] [stdout] 279 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 280 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 281 | |     }
[INFO] [stdout] 282 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:278:5
[INFO] [stdout]     |
[INFO] [stdout] 278 | /     match context.datastore.deescalate_event_by_id(event_id).await {
[INFO] [stdout] 279 | |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout] 280 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 281 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:279:19
[INFO] [stdout]     |
[INFO] [stdout] 279 |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:280:21
[INFO] [stdout]     |
[INFO] [stdout] 280 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:289:43
[INFO] [stdout]     |
[INFO] [stdout] 289 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 290 | |     match context
[INFO] [stdout] 291 | |         .datastore
[INFO] [stdout] 292 | |         .comment_event_by_id(event_id, body.comment)
[INFO] [stdout] ...   |
[INFO] [stdout] 298 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:289:43
[INFO] [stdout]     |
[INFO] [stdout] 289 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 290 | |     match context
[INFO] [stdout] 291 | |         .datastore
[INFO] [stdout] 292 | |         .comment_event_by_id(event_id, body.comment)
[INFO] [stdout] ...   |
[INFO] [stdout] 298 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:290:5
[INFO] [stdout]     |
[INFO] [stdout] 290 | /     match context
[INFO] [stdout] 291 | |         .datastore
[INFO] [stdout] 292 | |         .comment_event_by_id(event_id, body.comment)
[INFO] [stdout] 293 | |         .await
[INFO] [stdout] ...   |
[INFO] [stdout] 296 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 297 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:295:19
[INFO] [stdout]     |
[INFO] [stdout] 295 |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:296:21
[INFO] [stdout]     |
[INFO] [stdout] 296 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:399:43
[INFO] [stdout]     |
[INFO] [stdout] 399 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 400 | |     match context
[INFO] [stdout] 401 | |         .datastore
[INFO] [stdout] 402 | |         .comment_by_alert_group(request.alert_group, request.comment)
[INFO] [stdout] ...   |
[INFO] [stdout] 408 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:399:43
[INFO] [stdout]     |
[INFO] [stdout] 399 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 400 | |     match context
[INFO] [stdout] 401 | |         .datastore
[INFO] [stdout] 402 | |         .comment_by_alert_group(request.alert_group, request.comment)
[INFO] [stdout] ...   |
[INFO] [stdout] 408 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:400:5
[INFO] [stdout]     |
[INFO] [stdout] 400 | /     match context
[INFO] [stdout] 401 | |         .datastore
[INFO] [stdout] 402 | |         .comment_by_alert_group(request.alert_group, request.comment)
[INFO] [stdout] 403 | |         .await
[INFO] [stdout] ...   |
[INFO] [stdout] 406 | |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout] 407 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:405:19
[INFO] [stdout]     |
[INFO] [stdout] 405 |         Ok(()) => Ok(Response::Ok),
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/api.rs:406:21
[INFO] [stdout]     |
[INFO] [stdout] 406 |         Err(err) => Ok(Response::InternalError(err.to_string())),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:33:91
[INFO] [stdout]    |
[INFO] [stdout] 33 |   pub async fn options(context: Arc<ServerContext>) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 34 | |     let response = json!({
[INFO] [stdout] 35 | |         "authentication": {
[INFO] [stdout] 36 | |             "required": context.config.authentication_required,
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     Ok(Response::Json(response))
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:33:91
[INFO] [stdout]    |
[INFO] [stdout] 33 |   pub async fn options(context: Arc<ServerContext>) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 34 | |     let response = json!({
[INFO] [stdout] 35 | |         "authentication": {
[INFO] [stdout] 36 | |             "required": context.config.authentication_required,
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |     Ok(Response::Json(response))
[INFO] [stdout] 41 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     Ok(Response::Json(response))
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:46:43
[INFO] [stdout]    |
[INFO] [stdout] 46 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 47 | |     let session = match (
[INFO] [stdout] 48 | |         &context.config.authentication_type,
[INFO] [stdout] 49 | |         &form.username,
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |     return Ok(Response::Unauthorized);
[INFO] [stdout] 93 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 |             return Ok(Response::InternalError(err.to_string()));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:89:16
[INFO] [stdout]    |
[INFO] [stdout] 89 |         return Ok(Response::Json(response));
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]   --> src/server/api/login.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 |     return Ok(Response::Unauthorized);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/login.rs:98:43
[INFO] [stdout]     |
[INFO] [stdout]  98 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout]  99 | |     if !context.session_store.delete(&session.session_id) {
[INFO] [stdout] 100 | |         log::warn!("Logout request for unknown session ID");
[INFO] [stdout] 101 | |     } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 104 | |     Ok(Response::Ok)
[INFO] [stdout] 105 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/login.rs:98:43
[INFO] [stdout]     |
[INFO] [stdout]  98 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout]  99 | |     if !context.session_store.delete(&session.session_id) {
[INFO] [stdout] 100 | |         log::warn!("Logout request for unknown session ID");
[INFO] [stdout] 101 | |     } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 104 | |     Ok(Response::Ok)
[INFO] [stdout] 105 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<server::response::Response, Infallible>
[INFO] [stdout]    --> src/server/api/login.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     Ok(Response::Ok)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:26:94
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub async fn rejection_handler(err: warp::Rejection) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ______________________________________________________________________________________________^
[INFO] [stdout] 27 | |     // Look for API errors.
[INFO] [stdout] 28 | |     if let Some(err) = err.find::<api::ApiError>() {
[INFO] [stdout] 29 | |         return Ok(response::Response::build_error_response(
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |     Ok(warp::http::StatusCode::INTERNAL_SERVER_ERROR.into_response())
[INFO] [stdout] 81 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:26:94
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub async fn rejection_handler(err: warp::Rejection) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ______________________________________________________________________________________________^
[INFO] [stdout] 27 | |     // Look for API errors.
[INFO] [stdout] 28 | |     if let Some(err) = err.find::<api::ApiError>() {
[INFO] [stdout] 29 | |         return Ok(response::Response::build_error_response(
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |     Ok(warp::http::StatusCode::INTERNAL_SERVER_ERROR.into_response())
[INFO] [stdout] 81 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |           return Ok(response::Response::build_error_response(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 30 | |             warp::http::StatusCode::BAD_REQUEST,
[INFO] [stdout] 31 | |             &err.to_string(),
[INFO] [stdout] 32 | |         ));
[INFO] [stdout]    | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 36 |           return Ok(response::Response::build_error_response(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 37 | |             warp::http::StatusCode::INTERNAL_SERVER_ERROR,
[INFO] [stdout] 38 | |             &format!("datastore error: {}", err),
[INFO] [stdout] 39 | |         ));
[INFO] [stdout]    | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |           return Ok(response::Response::build_error_response(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 45 | |             warp::http::StatusCode::BAD_REQUEST,
[INFO] [stdout] 46 | |             "payload too large",
[INFO] [stdout] 47 | |         ));
[INFO] [stdout]    | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:56:16
[INFO] [stdout]    |
[INFO] [stdout] 56 |         return Ok(warp::reply::with_status(warp::reply::json(&response), code).into_response());
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:62:16
[INFO] [stdout]    |
[INFO] [stdout] 62 |           return Ok(response::Response::build_error_response(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 63 | |             warp::http::StatusCode::NOT_FOUND,
[INFO] [stdout] 64 | |             "not found",
[INFO] [stdout] 65 | |         ));
[INFO] [stdout]    | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:69:16
[INFO] [stdout]    |
[INFO] [stdout] 69 |           return Ok(response::Response::build_error_response(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 70 | |             warp::http::StatusCode::NOT_FOUND,
[INFO] [stdout] 71 | |             "not found",
[INFO] [stdout] 72 | |         ));
[INFO] [stdout]    | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::http::Response<warp::hyper::Body>, Infallible>
[INFO] [stdout]   --> src/server/rejection.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     Ok(warp::http::StatusCode::INTERNAL_SERVER_ERROR.into_response())
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `evebox` (lib) due to 76 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "312fd6355e04160f708e45e032f81b10ecd1190a3ee45cf095b69aed95dd2e52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "312fd6355e04160f708e45e032f81b10ecd1190a3ee45cf095b69aed95dd2e52", kill_on_drop: false }`
[INFO] [stdout] 312fd6355e04160f708e45e032f81b10ecd1190a3ee45cf095b69aed95dd2e52
