[INFO] fetching crate async-consul 0.1.0-alpha.3... [INFO] checking async-consul-0.1.0-alpha.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate async-consul 0.1.0-alpha.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate async-consul 0.1.0-alpha.3 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate async-consul 0.1.0-alpha.3 [INFO] finished tweaking crates.io crate async-consul 0.1.0-alpha.3 [INFO] tweaked toml for crates.io crate async-consul 0.1.0-alpha.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 115 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bytes v0.5.6 (available: v1.7.2) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding h2 v0.2.7 (available: v0.4.6) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.3.1 (available: v1.0.1) [INFO] [stderr] Adding httpdate v0.3.2 (available: v1.0.3) [INFO] [stderr] Adding hyper v0.13.10 (available: v1.4.1) [INFO] [stderr] Adding hyper-tls v0.4.3 (available: v0.6.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itoa v0.4.8 (available: v1.0.11) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.2) [INFO] [stderr] Adding miow v0.2.2 (available: v0.6.0) [INFO] [stderr] Adding pin-project-lite v0.1.12 (available: v0.2.14) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding socket2 v0.3.19 (available: v0.5.7) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.40.0) [INFO] [stderr] Adding tokio-util v0.3.1 (available: v0.7.12) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8a9961507c7fd074c249b911afc4a6efc2abee467d213e1cafe40c1e7be046f [INFO] running `Command { std: "docker" "start" "-a" "e8a9961507c7fd074c249b911afc4a6efc2abee467d213e1cafe40c1e7be046f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8a9961507c7fd074c249b911afc4a6efc2abee467d213e1cafe40c1e7be046f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8a9961507c7fd074c249b911afc4a6efc2abee467d213e1cafe40c1e7be046f", kill_on_drop: false }` [INFO] [stdout] e8a9961507c7fd074c249b911afc4a6efc2abee467d213e1cafe40c1e7be046f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b7fa3a0eb62dc9a2e3741099f1a70d0bd5e6aaba6fb6e834b6c6ac81c9fd445 [INFO] running `Command { std: "docker" "start" "-a" "4b7fa3a0eb62dc9a2e3741099f1a70d0bd5e6aaba6fb6e834b6c6ac81c9fd445", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking openssl-sys v0.9.103 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking openssl v0.10.66 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking native-tls v0.2.12 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking async-consul v0.1.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result, errors::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/catalog.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 146 | / try_stream! { [INFO] [stdout] 147 | | loop { [INFO] [stdout] 148 | | // Override the blocking settings before every request. [INFO] [stdout] 149 | | let options = options.as_mut().map(|opts| { opts.blocking = blocking.take(); &*opts }); [INFO] [stdout] 150 | | [INFO] [stdout] 151 | | let request = http_client.build_request("GET", &["v1", "catalog", "service", &service], options, ())?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result, errors::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/catalog.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 146 | / try_stream! { [INFO] [stdout] 147 | | loop { [INFO] [stdout] 148 | | // Override the blocking settings before every request. [INFO] [stdout] 149 | | let options = options.as_mut().map(|opts| { opts.blocking = blocking.take(); &*opts }); [INFO] [stdout] 150 | | [INFO] [stdout] 151 | | let request = http_client.build_request("GET", &["v1", "catalog", "service", &service], options, ())?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `passing` and `warning` are never read [INFO] [stdout] --> src/agent.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AgentWeights { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 23 | #[serde(rename = "Passing")] [INFO] [stdout] 24 | pub passing: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | #[serde(rename = "Warning")] [INFO] [stdout] 26 | pub warning: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentWeights` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/agent.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct AgentCheck { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | #[serde(rename = "Node")] [INFO] [stdout] 32 | pub node: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | #[serde(rename = "CheckID")] [INFO] [stdout] 34 | pub check_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | #[serde(rename = "Name")] [INFO] [stdout] 36 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | #[serde(rename = "Status")] [INFO] [stdout] 38 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | #[serde(rename = "Notes")] [INFO] [stdout] 40 | pub notes: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | #[serde(rename = "Output")] [INFO] [stdout] 42 | pub output: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | #[serde(rename = "ServiceID")] [INFO] [stdout] 44 | pub service_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 45 | #[serde(rename = "ServiceName")] [INFO] [stdout] 46 | pub service_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | #[serde(rename = "Type")] [INFO] [stdout] 48 | pub check_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | #[serde(rename = "Namespace")] [INFO] [stdout] 50 | pub namespace: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | #[serde(rename = "Definition")] [INFO] [stdout] 52 | pub definition: HealthCheckDefinition, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentCheck` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/agent.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct AgentService { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 57 | #[serde(rename = "Kind")] [INFO] [stdout] 58 | pub kind: AgentServiceKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | #[serde(rename = "ID")] [INFO] [stdout] 60 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | #[serde(rename = "Service")] [INFO] [stdout] 62 | pub service: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 63 | #[serde(rename = "Tags")] [INFO] [stdout] 64 | pub tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | #[serde(rename = "Meta")] [INFO] [stdout] 66 | pub meta: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | #[serde(rename = "Port")] [INFO] [stdout] 68 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | #[serde(rename = "Address")] [INFO] [stdout] 70 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | #[serde(rename = "TaggedAddresses")] [INFO] [stdout] 72 | pub tagged_addresses: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | #[serde(rename = "Weights")] [INFO] [stdout] 74 | pub weights: AgentWeights, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | #[serde(rename = "EnableTagOverride")] [INFO] [stdout] 76 | pub enable_tag_override: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | #[serde(rename = "CreateIndex")] [INFO] [stdout] 78 | pub create_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 79 | #[serde(rename = "ModifyIndex")] [INFO] [stdout] 80 | pub modify_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 81 | #[serde(rename = "ContentHash")] [INFO] [stdout] 82 | pub content_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub namespace: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/catalog.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CatalogNode { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 23 | #[serde(rename = "ID")] [INFO] [stdout] 24 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | #[serde(rename = "Node")] [INFO] [stdout] 26 | pub node: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | #[serde(rename = "Address")] [INFO] [stdout] 28 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | #[serde(rename = "Datacenter")] [INFO] [stdout] 30 | pub datacenter: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | #[serde(rename = "TaggedAddresses")] [INFO] [stdout] 32 | pub tagged_addresses: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | #[serde(rename = "Meta")] [INFO] [stdout] 34 | pub meta: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | #[serde(rename = "CreateIndex")] [INFO] [stdout] 36 | pub create_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | #[serde(rename = "ModifyIndex")] [INFO] [stdout] 38 | pub modify_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CatalogNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `passing` and `warning` are never read [INFO] [stdout] --> src/agent.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AgentWeights { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 23 | #[serde(rename = "Passing")] [INFO] [stdout] 24 | pub passing: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | #[serde(rename = "Warning")] [INFO] [stdout] 26 | pub warning: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentWeights` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/agent.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct AgentCheck { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | #[serde(rename = "Node")] [INFO] [stdout] 32 | pub node: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | #[serde(rename = "CheckID")] [INFO] [stdout] 34 | pub check_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | #[serde(rename = "Name")] [INFO] [stdout] 36 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | #[serde(rename = "Status")] [INFO] [stdout] 38 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | #[serde(rename = "Notes")] [INFO] [stdout] 40 | pub notes: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | #[serde(rename = "Output")] [INFO] [stdout] 42 | pub output: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | #[serde(rename = "ServiceID")] [INFO] [stdout] 44 | pub service_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 45 | #[serde(rename = "ServiceName")] [INFO] [stdout] 46 | pub service_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | #[serde(rename = "Type")] [INFO] [stdout] 48 | pub check_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | #[serde(rename = "Namespace")] [INFO] [stdout] 50 | pub namespace: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | #[serde(rename = "Definition")] [INFO] [stdout] 52 | pub definition: HealthCheckDefinition, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentCheck` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/agent.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct AgentService { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 57 | #[serde(rename = "Kind")] [INFO] [stdout] 58 | pub kind: AgentServiceKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | #[serde(rename = "ID")] [INFO] [stdout] 60 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | #[serde(rename = "Service")] [INFO] [stdout] 62 | pub service: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 63 | #[serde(rename = "Tags")] [INFO] [stdout] 64 | pub tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | #[serde(rename = "Meta")] [INFO] [stdout] 66 | pub meta: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | #[serde(rename = "Port")] [INFO] [stdout] 68 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | #[serde(rename = "Address")] [INFO] [stdout] 70 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | #[serde(rename = "TaggedAddresses")] [INFO] [stdout] 72 | pub tagged_addresses: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | #[serde(rename = "Weights")] [INFO] [stdout] 74 | pub weights: AgentWeights, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | #[serde(rename = "EnableTagOverride")] [INFO] [stdout] 76 | pub enable_tag_override: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | #[serde(rename = "CreateIndex")] [INFO] [stdout] 78 | pub create_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 79 | #[serde(rename = "ModifyIndex")] [INFO] [stdout] 80 | pub modify_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 81 | #[serde(rename = "ContentHash")] [INFO] [stdout] 82 | pub content_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub namespace: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/catalog.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CatalogNode { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 23 | #[serde(rename = "ID")] [INFO] [stdout] 24 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | #[serde(rename = "Node")] [INFO] [stdout] 26 | pub node: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | #[serde(rename = "Address")] [INFO] [stdout] 28 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | #[serde(rename = "Datacenter")] [INFO] [stdout] 30 | pub datacenter: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | #[serde(rename = "TaggedAddresses")] [INFO] [stdout] 32 | pub tagged_addresses: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | #[serde(rename = "Meta")] [INFO] [stdout] 34 | pub meta: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | #[serde(rename = "CreateIndex")] [INFO] [stdout] 36 | pub create_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | #[serde(rename = "ModifyIndex")] [INFO] [stdout] 38 | pub modify_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CatalogNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-consul` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `async-consul` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4b7fa3a0eb62dc9a2e3741099f1a70d0bd5e6aaba6fb6e834b6c6ac81c9fd445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b7fa3a0eb62dc9a2e3741099f1a70d0bd5e6aaba6fb6e834b6c6ac81c9fd445", kill_on_drop: false }` [INFO] [stdout] 4b7fa3a0eb62dc9a2e3741099f1a70d0bd5e6aaba6fb6e834b6c6ac81c9fd445