[INFO] cloning repository https://github.com/RGafiyatullin/tabaqui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RGafiyatullin/tabaqui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRGafiyatullin%2Ftabaqui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRGafiyatullin%2Ftabaqui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0360c02a6377c8aed8783759533ceb9169d5b3f [INFO] checking RGafiyatullin/tabaqui/d0360c02a6377c8aed8783759533ceb9169d5b3f against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRGafiyatullin%2Ftabaqui" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RGafiyatullin/tabaqui on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RGafiyatullin/tabaqui [INFO] finished tweaking git repo https://github.com/RGafiyatullin/tabaqui [INFO] tweaked toml for git repo https://github.com/RGafiyatullin/tabaqui written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RGafiyatullin/tabaqui 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 332fa962abde0fb547bb8d7f509a0a0ee6cc4ccc50c409cd3905d309a803a780 [INFO] running `Command { std: "docker" "start" "-a" "332fa962abde0fb547bb8d7f509a0a0ee6cc4ccc50c409cd3905d309a803a780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "332fa962abde0fb547bb8d7f509a0a0ee6cc4ccc50c409cd3905d309a803a780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332fa962abde0fb547bb8d7f509a0a0ee6cc4ccc50c409cd3905d309a803a780", kill_on_drop: false }` [INFO] [stdout] 332fa962abde0fb547bb8d7f509a0a0ee6cc4ccc50c409cd3905d309a803a780 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6eb3f4b67743825de88df3b188c2f9a241966a90e7b3d556c4e01d78b975dd2f [INFO] running `Command { std: "docker" "start" "-a" "6eb3f4b67743825de88df3b188c2f9a241966a90e7b3d556c4e01d78b975dd2f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking block-padding v0.1.4 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-sync v0.1.7 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling valico v3.1.0 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking sha-1 v0.8.1 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking indexmap v1.2.0 [INFO] [stderr] Checking backtrace v0.3.38 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking mime v0.3.14 [INFO] [stderr] Checking safemem v0.3.2 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking headers-core v0.1.1 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking headers v0.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking urlencoding v1.0.0 [INFO] [stderr] Checking tungstenite v0.9.1 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking publicsuffix v1.5.3 [INFO] [stderr] Checking env_logger v0.7.0 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking dotenv v0.14.1 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking jsonway v2.0.0 [INFO] [stderr] Checking warp v0.1.20 [INFO] [stderr] Checking json-utils v0.3.4 [INFO] [stderr] Checking tabaqui v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/tabaqui_query/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json_utils::json::JsValue` [INFO] [stdout] --> src/tabaqui_query/cmd_get.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use json_utils::json::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/http_server/mgmt_api.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | let reply = warp::reply::json({ &storage_api.ids() }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 14 - let reply = warp::reply::json({ &storage_api.ids() }); [INFO] [stdout] 14 + let reply = warp::reply::json(&storage_api.ids()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::http::StatusCode` [INFO] [stdout] --> src/http_server/proxy.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use warp::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json_utils::json::JsValue` [INFO] [stdout] --> src/storage/storage_api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use json_utils::json::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `warp::reject`: this will be changed to return a NotFound rejection, use warp::reject::custom for custom bad requests [INFO] [stdout] --> src/http_server/proxy.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | warp::reject() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/tabaqui_query/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json_utils::json::JsValue` [INFO] [stdout] --> src/tabaqui_query/cmd_get.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use json_utils::json::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/http_server/mgmt_api.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | let reply = warp::reply::json({ &storage_api.ids() }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 14 - let reply = warp::reply::json({ &storage_api.ids() }); [INFO] [stdout] 14 + let reply = warp::reply::json(&storage_api.ids()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warp::http::StatusCode` [INFO] [stdout] --> src/http_server/proxy.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use warp::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json_utils::json::JsValue` [INFO] [stdout] --> src/storage/storage_api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use json_utils::json::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `warp::reject`: this will be changed to return a NotFound rejection, use warp::reject::custom for custom bad requests [INFO] [stdout] --> src/http_server/proxy.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | warp::reject() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `hyper::Uri::scheme`: use scheme_part or scheme_str instead [INFO] [stdout] --> src/http_server/proxy.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | let scheme = base_uri.scheme().unwrap_or("http"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `hyper::Uri::authority`: use authority_part instead [INFO] [stdout] --> src/http_server/proxy.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | let authority = base_uri.authority().unwrap_or("localhost"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `hyper::Uri::scheme`: use scheme_part or scheme_str instead [INFO] [stdout] --> src/http_server/proxy.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | let scheme = base_uri.scheme().unwrap_or("http"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `hyper::Uri::authority`: use authority_part instead [INFO] [stdout] --> src/http_server/proxy.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | let authority = base_uri.authority().unwrap_or("localhost"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/tabaqui_query/cmd_get.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | fn fmt_systemtime(t: SystemTime) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reject` is never used [INFO] [stdout] --> src/http_server/proxy.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn reject(_e: E) -> warp::Rejection { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unimplemented` is never constructed [INFO] [stdout] --> src/http_server/proxy.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 165 | enum ProxyError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 173 | Unimplemented, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_items` is never read [INFO] [stdout] --> src/storage/storage_api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct StorageApi { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | max_items: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageApi` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tabaqui_query/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | fn run_future, I, E>(f: F) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | / tokio::runtime::current_thread::Runtime::new() [INFO] [stdout] 46 | | .expect("Failed to create Tokio-runtime") [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tabaqui_query/http_get.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn http_get(uri: Uri) -> impl Future { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let http_client = hyper::Client::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | [INFO] [stdout] 26 | / http_client [INFO] [stdout] 27 | | .get(uri) [INFO] [stdout] 28 | | .map_err(HttpGetFailure::HttpClientError) [INFO] [stdout] 29 | | .map(|response| (response.status(), response)) [INFO] [stdout] ... | [INFO] [stdout] 41 | | .map_err(|err| HttpGetFailure::HttpClientError(err)) [INFO] [stdout] 42 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tabaqui_query/http_get.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 37 | .and_then(|response| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | / response [INFO] [stdout] 39 | | .into_body() [INFO] [stdout] 40 | | .concat2() [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tabaqui_query/http_get.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 43 | .and_then(|response_body| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | serde_json::from_slice::(&response_body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tabaqui_query/cmd_get.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | uri_fut.and_then(|uri| http_get::(uri).map_err(CmdGetFailure::HttpGetFailure)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tabaqui_query/cmd_ids.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | uri_fut.and_then(|uri| http_get::>(uri).map_err(CmdIdsFailure::HttpGetFailure)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/mgmt_api.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 9 | storage_api: Arc, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | ) -> impl warp::Filter + Clone { [INFO] [stdout] 11 | let index = warp::path::end().and(warp::get2()).map({ [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let storage_api = Arc::clone(&storage_api); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let get_by_id = path!(u64).and(warp::get2()).map({ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let storage_api = Arc::clone(&storage_api); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let all = path!("dump-state").and(warp::get2()).map({ [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let storage_api = Arc::clone(&storage_api); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | all.or(index).or(get_by_id) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | storage_api: Arc, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | backend_base_uri: Uri, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | ) -> impl warp::Filter + Clone { [INFO] [stdout] 24 | / warp::method() [INFO] [stdout] 25 | | .and(warp::path::full()) [INFO] [stdout] 26 | | .and( [INFO] [stdout] 27 | | warp::query::raw() [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 22 | backend_base_uri: Uri, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | / query_backend(backend_base_uri.clone(), rq) [INFO] [stdout] 57 | | .map(move |rs| (id, rs)) [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | fn collect_headers(header_map: HeaderMap) -> HashMap { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | / header_map [INFO] [stdout] 84 | | .into_iter() [INFO] [stdout] 85 | | .filter_map(|(name_opt, value)| name_opt.map(move |name| (name.as_str().to_owned(), value))) [INFO] [stdout] 86 | | .filter_map(|(name_str, value)| { [INFO] [stdout] ... | [INFO] [stdout] 90 | | .map(move |value_str| (name_str, value_str.to_owned())) [INFO] [stdout] 91 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:85:54 [INFO] [stdout] | [INFO] [stdout] 85 | .filter_map(|(name_opt, value)| name_opt.map(move |name| (name.as_str().to_owned(), value))) [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 99 | fn query_backend(base_uri: Uri, rq: Rq) -> impl Future { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let uri_fut = { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let method = hyper::Method::from_str(rq.method()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let body = hyper::Body::from(rq.body().clone()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | [INFO] [stdout] 119 | let client = hyper::Client::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | [INFO] [stdout] 121 | let mut request_builder = hyper::Request::builder(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | let request_fut = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | uri_fut.map(move |uri| request_builder.uri(uri).method(method).body(body).unwrap()); [INFO] [stdout] 132 | let response_fut = request_fut [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | / response_fut [INFO] [stdout] 136 | | .map(|response| { [INFO] [stdout] 137 | | let status = response.status().as_u16(); [INFO] [stdout] 138 | | let headers = response [INFO] [stdout] ... | [INFO] [stdout] 155 | | (rs, body) [INFO] [stdout] 156 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 116 | let method = hyper::Method::from_str(rq.method()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let body = hyper::Body::from(rq.body().clone()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | let mut request_builder = hyper::Request::builder(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | uri_fut.map(move |uri| request_builder.uri(uri).method(method).body(body).unwrap()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:133:34 [INFO] [stdout] | [INFO] [stdout] 119 | let client = hyper::Client::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | .and_then(move |request| client.request(request).map_err(ProxyError::HyperError)); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 157 | .and_then(|(rs, body)| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | / body.concat2() [INFO] [stdout] 159 | | .map_err(ProxyError::HyperError) [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:160:47 [INFO] [stdout] | [INFO] [stdout] 160 | .map(move |body| rs.with_body(body.into_bytes().into_iter().collect())) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/storage_api.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | let inner = self.inner.read().expect("Failed to r-lock the state"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | serde_json::to_value(&*inner).expect("Failed to serialize the state") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/tabaqui_query/cmd_get.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | fn fmt_systemtime(t: SystemTime) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tabaqui` (lib) due to 18 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `reject` is never used [INFO] [stdout] --> src/http_server/proxy.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn reject(_e: E) -> warp::Rejection { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unimplemented` is never constructed [INFO] [stdout] --> src/http_server/proxy.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 165 | enum ProxyError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 173 | Unimplemented, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_items` is never read [INFO] [stdout] --> src/storage/storage_api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct StorageApi { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | max_items: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageApi` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tabaqui_query/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | fn run_future, I, E>(f: F) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | / tokio::runtime::current_thread::Runtime::new() [INFO] [stdout] 46 | | .expect("Failed to create Tokio-runtime") [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tabaqui_query/http_get.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn http_get(uri: Uri) -> impl Future { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let http_client = hyper::Client::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | [INFO] [stdout] 26 | / http_client [INFO] [stdout] 27 | | .get(uri) [INFO] [stdout] 28 | | .map_err(HttpGetFailure::HttpClientError) [INFO] [stdout] 29 | | .map(|response| (response.status(), response)) [INFO] [stdout] ... | [INFO] [stdout] 41 | | .map_err(|err| HttpGetFailure::HttpClientError(err)) [INFO] [stdout] 42 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tabaqui_query/http_get.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 37 | .and_then(|response| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | / response [INFO] [stdout] 39 | | .into_body() [INFO] [stdout] 40 | | .concat2() [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tabaqui_query/http_get.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 43 | .and_then(|response_body| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | serde_json::from_slice::(&response_body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tabaqui_query/cmd_get.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | uri_fut.and_then(|uri| http_get::(uri).map_err(CmdGetFailure::HttpGetFailure)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tabaqui_query/cmd_ids.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | uri_fut.and_then(|uri| http_get::>(uri).map_err(CmdIdsFailure::HttpGetFailure)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/mgmt_api.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 9 | storage_api: Arc, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | ) -> impl warp::Filter + Clone { [INFO] [stdout] 11 | let index = warp::path::end().and(warp::get2()).map({ [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let storage_api = Arc::clone(&storage_api); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let get_by_id = path!(u64).and(warp::get2()).map({ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let storage_api = Arc::clone(&storage_api); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let all = path!("dump-state").and(warp::get2()).map({ [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let storage_api = Arc::clone(&storage_api); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | all.or(index).or(get_by_id) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | storage_api: Arc, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | backend_base_uri: Uri, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | ) -> impl warp::Filter + Clone { [INFO] [stdout] 24 | / warp::method() [INFO] [stdout] 25 | | .and(warp::path::full()) [INFO] [stdout] 26 | | .and( [INFO] [stdout] 27 | | warp::query::raw() [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 22 | backend_base_uri: Uri, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | / query_backend(backend_base_uri.clone(), rq) [INFO] [stdout] 57 | | .map(move |rs| (id, rs)) [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | fn collect_headers(header_map: HeaderMap) -> HashMap { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | / header_map [INFO] [stdout] 84 | | .into_iter() [INFO] [stdout] 85 | | .filter_map(|(name_opt, value)| name_opt.map(move |name| (name.as_str().to_owned(), value))) [INFO] [stdout] 86 | | .filter_map(|(name_str, value)| { [INFO] [stdout] ... | [INFO] [stdout] 90 | | .map(move |value_str| (name_str, value_str.to_owned())) [INFO] [stdout] 91 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:85:54 [INFO] [stdout] | [INFO] [stdout] 85 | .filter_map(|(name_opt, value)| name_opt.map(move |name| (name.as_str().to_owned(), value))) [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 99 | fn query_backend(base_uri: Uri, rq: Rq) -> impl Future { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let uri_fut = { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let method = hyper::Method::from_str(rq.method()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let body = hyper::Body::from(rq.body().clone()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | [INFO] [stdout] 119 | let client = hyper::Client::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | [INFO] [stdout] 121 | let mut request_builder = hyper::Request::builder(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | let request_fut = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | uri_fut.map(move |uri| request_builder.uri(uri).method(method).body(body).unwrap()); [INFO] [stdout] 132 | let response_fut = request_fut [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | / response_fut [INFO] [stdout] 136 | | .map(|response| { [INFO] [stdout] 137 | | let status = response.status().as_u16(); [INFO] [stdout] 138 | | let headers = response [INFO] [stdout] ... | [INFO] [stdout] 155 | | (rs, body) [INFO] [stdout] 156 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 116 | let method = hyper::Method::from_str(rq.method()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let body = hyper::Body::from(rq.body().clone()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | let mut request_builder = hyper::Request::builder(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | uri_fut.map(move |uri| request_builder.uri(uri).method(method).body(body).unwrap()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:133:34 [INFO] [stdout] | [INFO] [stdout] 119 | let client = hyper::Client::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | .and_then(move |request| client.request(request).map_err(ProxyError::HyperError)); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 157 | .and_then(|(rs, body)| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | / body.concat2() [INFO] [stdout] 159 | | .map_err(ProxyError::HyperError) [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http_server/proxy.rs:160:47 [INFO] [stdout] | [INFO] [stdout] 160 | .map(move |body| rs.with_body(body.into_bytes().into_iter().collect())) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/storage_api.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | let inner = self.inner.read().expect("Failed to r-lock the state"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | serde_json::to_value(&*inner).expect("Failed to serialize the state") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tabaqui` (lib test) due to 18 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6eb3f4b67743825de88df3b188c2f9a241966a90e7b3d556c4e01d78b975dd2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eb3f4b67743825de88df3b188c2f9a241966a90e7b3d556c4e01d78b975dd2f", kill_on_drop: false }` [INFO] [stdout] 6eb3f4b67743825de88df3b188c2f9a241966a90e7b3d556c4e01d78b975dd2f