[INFO] cloning repository https://github.com/tom-code/y-diam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tom-code/y-diam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftom-code%2Fy-diam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftom-code%2Fy-diam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b24ed3f551b89fc6ddc273b18fd5043d5f06b140 [INFO] checking tom-code/y-diam against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftom-code%2Fy-diam" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tom-code/y-diam on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tom-code/y-diam [INFO] finished tweaking git repo https://github.com/tom-code/y-diam [INFO] tweaked toml for git repo https://github.com/tom-code/y-diam written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tom-code/y-diam 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.11.1 [INFO] [stderr] Downloaded env_filter v0.1.0 [INFO] [stderr] Downloaded hermit-abi v0.3.5 [INFO] [stderr] Downloaded anstream v0.6.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53e5e62579fb8046351f7867ef8dbfe0836116e127154e5d05f0b90f9358736c [INFO] running `Command { std: "docker" "start" "-a" "53e5e62579fb8046351f7867ef8dbfe0836116e127154e5d05f0b90f9358736c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53e5e62579fb8046351f7867ef8dbfe0836116e127154e5d05f0b90f9358736c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53e5e62579fb8046351f7867ef8dbfe0836116e127154e5d05f0b90f9358736c", kill_on_drop: false }` [INFO] [stdout] 53e5e62579fb8046351f7867ef8dbfe0836116e127154e5d05f0b90f9358736c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51b4a6b9d4d5c6c34a460933f1e8b54da366144d1c0ba8002754921d1d3e5302 [INFO] running `Command { std: "docker" "start" "-a" "51b4a6b9d4d5c6c34a460933f1e8b54da366144d1c0ba8002754921d1d3e5302", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.1 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking y-diameter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `vendor_id` and `supported_vendor_id` are never used [INFO] [stdout] --> src/main.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'a, MH> ClientConfigBuilder<'a, MH> { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn vendor_id(mut self, vendor_id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn supported_vendor_id(mut self, vendor_id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoopHandler` is never constructed [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct NoopHandler{} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/main.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl Client where MH: MessageHandler+Send+Sync+'static { [INFO] [stdout] | -------------------------------------------------------------- method in this implementation [INFO] [stdout] 165 | fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 332 | struct H1 { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 333 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/codec.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn encode(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `avp_write_string`, `avp_write_u32`, and `avp_write_raw` are never used [INFO] [stdout] --> src/codec.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub trait DiamUtilAvp { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 155 | fn avp_write_string(&mut self, code: u32, vendor: u32, flags: u8, value: &str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 156 | fn avp_write_u32(&mut self, code: u32, vendor: u32, flags: u8, value: u32); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 157 | fn avp_write_raw(&mut self, code: u32, vendor: u32, flags: u8, value: &[u8]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `avp_write_raw` and `append_raw_data` are never used [INFO] [stdout] --> src/codec.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl <'a>AvpInnerGroupBuilder<'a> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn avp_write_raw(&mut self, code: u32, vendor: u32, flags: u8, value: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn append_raw_data(&mut self, value: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `vendor`, and `raw_data` are never read [INFO] [stdout] --> src/codec.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct Avp<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 289 | code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 290 | vendor: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 291 | raw_data: &'a [u8], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Avp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_str`, `as_bytes`, `as_u32`, and `as_group` are never used [INFO] [stdout] --> src/codec.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 299 | impl Avp<'_> { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 300 | pub fn as_str(&self) -> Result<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn as_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn as_u32(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn as_group(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_grp`, `get_u32`, `get_string`, `get_str`, `get_raw`, and `as_slice` are never used [INFO] [stdout] --> src/codec.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 324 | impl AvpList<'_> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 325 | pub fn get_grp(&self, code: u32, vendor: u32) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn get_u32(&self, code: u32, vendor: u32) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn get_string(&self, code: u32, vendor: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn get_str(&self, code: u32, vendor: u32) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn get_raw(&self, code: u32, vendor: u32) -> Option<&[u8]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn as_slice(&self) -> &[Avp] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_avp_group` is never used [INFO] [stdout] --> src/codec.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn parse_avp_group(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_STR` is never used [INFO] [stdout] --> src/dconst.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const CMD_STR: u32 = 275; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CCR` is never used [INFO] [stdout] --> src/dconst.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CMD_CCR: u32 = 272; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SESSION_ID` is never used [INFO] [stdout] --> src/dconst.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const AVP_SESSION_ID: u32 = 263; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_DESTINATION_REALM` is never used [INFO] [stdout] --> src/dconst.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const AVP_DESTINATION_REALM: u32 = 283; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_ORIGIN_STATE_ID` is never used [INFO] [stdout] --> src/dconst.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const AVP_ORIGIN_STATE_ID: u32 = 278; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_REDIRECT_HOST` is never used [INFO] [stdout] --> src/dconst.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const AVP_REDIRECT_HOST: u32 = 292; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_PROXY_INFO` is never used [INFO] [stdout] --> src/dconst.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const AVP_PROXY_INFO: u32 = 284; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SUBSCRIPTION_ID` is never used [INFO] [stdout] --> src/dconst.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const AVP_SUBSCRIPTION_ID: u32 = 443; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SUBSCRIPTION_ID_DATA` is never used [INFO] [stdout] --> src/dconst.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const AVP_SUBSCRIPTION_ID_DATA: u32 = 444; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SUBSCRIPTION_ID_TYPE` is never used [INFO] [stdout] --> src/dconst.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const AVP_SUBSCRIPTION_ID_TYPE: u32 = 450; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `vendor_id` and `supported_vendor_id` are never used [INFO] [stdout] --> src/main.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'a, MH> ClientConfigBuilder<'a, MH> { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn vendor_id(mut self, vendor_id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn supported_vendor_id(mut self, vendor_id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoopHandler` is never constructed [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct NoopHandler{} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/main.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl Client where MH: MessageHandler+Send+Sync+'static { [INFO] [stdout] | -------------------------------------------------------------- method in this implementation [INFO] [stdout] 165 | fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 332 | struct H1 { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 333 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `avp_write_raw` and `append_raw_data` are never used [INFO] [stdout] --> src/codec.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl <'a>AvpInnerGroupBuilder<'a> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn avp_write_raw(&mut self, code: u32, vendor: u32, flags: u8, value: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn append_raw_data(&mut self, value: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/codec.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 299 | impl Avp<'_> { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn as_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_string` is never used [INFO] [stdout] --> src/codec.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 324 | impl AvpList<'_> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn get_string(&self, code: u32, vendor: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_STR` is never used [INFO] [stdout] --> src/dconst.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const CMD_STR: u32 = 275; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CCR` is never used [INFO] [stdout] --> src/dconst.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CMD_CCR: u32 = 272; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SESSION_ID` is never used [INFO] [stdout] --> src/dconst.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const AVP_SESSION_ID: u32 = 263; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_DESTINATION_REALM` is never used [INFO] [stdout] --> src/dconst.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const AVP_DESTINATION_REALM: u32 = 283; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_ORIGIN_STATE_ID` is never used [INFO] [stdout] --> src/dconst.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const AVP_ORIGIN_STATE_ID: u32 = 278; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_REDIRECT_HOST` is never used [INFO] [stdout] --> src/dconst.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const AVP_REDIRECT_HOST: u32 = 292; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_PROXY_INFO` is never used [INFO] [stdout] --> src/dconst.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const AVP_PROXY_INFO: u32 = 284; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SUBSCRIPTION_ID` is never used [INFO] [stdout] --> src/dconst.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const AVP_SUBSCRIPTION_ID: u32 = 443; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SUBSCRIPTION_ID_DATA` is never used [INFO] [stdout] --> src/dconst.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const AVP_SUBSCRIPTION_ID_DATA: u32 = 444; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SUBSCRIPTION_ID_TYPE` is never used [INFO] [stdout] --> src/dconst.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const AVP_SUBSCRIPTION_ID_TYPE: u32 = 450; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.22s [INFO] running `Command { std: "docker" "inspect" "51b4a6b9d4d5c6c34a460933f1e8b54da366144d1c0ba8002754921d1d3e5302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51b4a6b9d4d5c6c34a460933f1e8b54da366144d1c0ba8002754921d1d3e5302", kill_on_drop: false }` [INFO] [stdout] 51b4a6b9d4d5c6c34a460933f1e8b54da366144d1c0ba8002754921d1d3e5302 [INFO] checking tom-code/y-diam against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftom-code%2Fy-diam" "/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/tom-code/y-diam on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tom-code/y-diam [INFO] finished tweaking git repo https://github.com/tom-code/y-diam [INFO] tweaked toml for git repo https://github.com/tom-code/y-diam written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tom-code/y-diam 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1253c6c4938bb2f0ccf0bfc4c7f327b1a8c3592880ebb06c061016fd337edc70 [INFO] running `Command { std: "docker" "start" "-a" "1253c6c4938bb2f0ccf0bfc4c7f327b1a8c3592880ebb06c061016fd337edc70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1253c6c4938bb2f0ccf0bfc4c7f327b1a8c3592880ebb06c061016fd337edc70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1253c6c4938bb2f0ccf0bfc4c7f327b1a8c3592880ebb06c061016fd337edc70", kill_on_drop: false }` [INFO] [stdout] 1253c6c4938bb2f0ccf0bfc4c7f327b1a8c3592880ebb06c061016fd337edc70 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e9fc3e637082902882496b688f656f33ce8b096de2ed7396c666bae8ace2a6a [INFO] running `Command { std: "docker" "start" "-a" "5e9fc3e637082902882496b688f656f33ce8b096de2ed7396c666bae8ace2a6a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking y-diameter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `vendor_id` and `supported_vendor_id` are never used [INFO] [stdout] --> src/main.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'a, MH> ClientConfigBuilder<'a, MH> { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn vendor_id(mut self, vendor_id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn supported_vendor_id(mut self, vendor_id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoopHandler` is never constructed [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct NoopHandler{} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/main.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl Client where MH: MessageHandler+Send+Sync+'static { [INFO] [stdout] | -------------------------------------------------------------- method in this implementation [INFO] [stdout] 165 | fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 332 | struct H1 { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 333 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode` is never used [INFO] [stdout] --> src/codec.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn encode(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `avp_write_string`, `avp_write_u32`, and `avp_write_raw` are never used [INFO] [stdout] --> src/codec.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub trait DiamUtilAvp { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 155 | fn avp_write_string(&mut self, code: u32, vendor: u32, flags: u8, value: &str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 156 | fn avp_write_u32(&mut self, code: u32, vendor: u32, flags: u8, value: u32); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 157 | fn avp_write_raw(&mut self, code: u32, vendor: u32, flags: u8, value: &[u8]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `avp_write_raw` and `append_raw_data` are never used [INFO] [stdout] --> src/codec.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl <'a>AvpInnerGroupBuilder<'a> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn avp_write_raw(&mut self, code: u32, vendor: u32, flags: u8, value: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn append_raw_data(&mut self, value: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `vendor`, and `raw_data` are never read [INFO] [stdout] --> src/codec.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct Avp<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 289 | code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 290 | vendor: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 291 | raw_data: &'a [u8], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Avp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_str`, `as_bytes`, `as_u32`, and `as_group` are never used [INFO] [stdout] --> src/codec.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 299 | impl Avp<'_> { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 300 | pub fn as_str(&self) -> Result<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn as_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn as_u32(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn as_group(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_grp`, `get_u32`, `get_string`, `get_str`, `get_raw`, and `as_slice` are never used [INFO] [stdout] --> src/codec.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 324 | impl AvpList<'_> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 325 | pub fn get_grp(&self, code: u32, vendor: u32) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn get_u32(&self, code: u32, vendor: u32) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn get_string(&self, code: u32, vendor: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn get_str(&self, code: u32, vendor: u32) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn get_raw(&self, code: u32, vendor: u32) -> Option<&[u8]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn as_slice(&self) -> &[Avp] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_avp_group` is never used [INFO] [stdout] --> src/codec.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn parse_avp_group(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_STR` is never used [INFO] [stdout] --> src/dconst.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const CMD_STR: u32 = 275; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CCR` is never used [INFO] [stdout] --> src/dconst.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CMD_CCR: u32 = 272; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SESSION_ID` is never used [INFO] [stdout] --> src/dconst.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const AVP_SESSION_ID: u32 = 263; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_DESTINATION_REALM` is never used [INFO] [stdout] --> src/dconst.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const AVP_DESTINATION_REALM: u32 = 283; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_ORIGIN_STATE_ID` is never used [INFO] [stdout] --> src/dconst.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const AVP_ORIGIN_STATE_ID: u32 = 278; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_REDIRECT_HOST` is never used [INFO] [stdout] --> src/dconst.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const AVP_REDIRECT_HOST: u32 = 292; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_PROXY_INFO` is never used [INFO] [stdout] --> src/dconst.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const AVP_PROXY_INFO: u32 = 284; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SUBSCRIPTION_ID` is never used [INFO] [stdout] --> src/dconst.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const AVP_SUBSCRIPTION_ID: u32 = 443; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SUBSCRIPTION_ID_DATA` is never used [INFO] [stdout] --> src/dconst.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const AVP_SUBSCRIPTION_ID_DATA: u32 = 444; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SUBSCRIPTION_ID_TYPE` is never used [INFO] [stdout] --> src/dconst.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const AVP_SUBSCRIPTION_ID_TYPE: u32 = 450; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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/main.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 84 | fn build(self) -> Arc> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | Arc::new(Client { [INFO] [stdout] | __________________^ [INFO] [stdout] 86 | | remote_address: self.remote_address.to_owned(), [INFO] [stdout] 87 | | local_identity: self.local_identity.to_owned(), [INFO] [stdout] 88 | | local_realm: self.local_realm.to_owned(), [INFO] [stdout] ... | [INFO] [stdout] 97 | | connected: std::sync::atomic::AtomicBool::new(false) [INFO] [stdout] 98 | | }) [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: aborting due to 1 previous error; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `y-diameter` (bin "y-diameter") due to 2 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `vendor_id` and `supported_vendor_id` are never used [INFO] [stdout] --> src/main.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'a, MH> ClientConfigBuilder<'a, MH> { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn vendor_id(mut self, vendor_id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn supported_vendor_id(mut self, vendor_id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoopHandler` is never constructed [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct NoopHandler{} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/main.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl Client where MH: MessageHandler+Send+Sync+'static { [INFO] [stdout] | -------------------------------------------------------------- method in this implementation [INFO] [stdout] 165 | fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 332 | struct H1 { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 333 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `avp_write_raw` and `append_raw_data` are never used [INFO] [stdout] --> src/codec.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl <'a>AvpInnerGroupBuilder<'a> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn avp_write_raw(&mut self, code: u32, vendor: u32, flags: u8, value: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn append_raw_data(&mut self, value: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/codec.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 299 | impl Avp<'_> { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn as_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_string` is never used [INFO] [stdout] --> src/codec.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 324 | impl AvpList<'_> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn get_string(&self, code: u32, vendor: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_STR` is never used [INFO] [stdout] --> src/dconst.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const CMD_STR: u32 = 275; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CCR` is never used [INFO] [stdout] --> src/dconst.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CMD_CCR: u32 = 272; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SESSION_ID` is never used [INFO] [stdout] --> src/dconst.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const AVP_SESSION_ID: u32 = 263; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_DESTINATION_REALM` is never used [INFO] [stdout] --> src/dconst.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const AVP_DESTINATION_REALM: u32 = 283; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_ORIGIN_STATE_ID` is never used [INFO] [stdout] --> src/dconst.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const AVP_ORIGIN_STATE_ID: u32 = 278; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_REDIRECT_HOST` is never used [INFO] [stdout] --> src/dconst.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const AVP_REDIRECT_HOST: u32 = 292; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_PROXY_INFO` is never used [INFO] [stdout] --> src/dconst.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const AVP_PROXY_INFO: u32 = 284; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SUBSCRIPTION_ID` is never used [INFO] [stdout] --> src/dconst.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const AVP_SUBSCRIPTION_ID: u32 = 443; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SUBSCRIPTION_ID_DATA` is never used [INFO] [stdout] --> src/dconst.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const AVP_SUBSCRIPTION_ID_DATA: u32 = 444; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AVP_SUBSCRIPTION_ID_TYPE` is never used [INFO] [stdout] --> src/dconst.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const AVP_SUBSCRIPTION_ID_TYPE: u32 = 450; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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/main.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 84 | fn build(self) -> Arc> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | Arc::new(Client { [INFO] [stdout] | __________________^ [INFO] [stdout] 86 | | remote_address: self.remote_address.to_owned(), [INFO] [stdout] 87 | | local_identity: self.local_identity.to_owned(), [INFO] [stdout] 88 | | local_realm: self.local_realm.to_owned(), [INFO] [stdout] ... | [INFO] [stdout] 97 | | connected: std::sync::atomic::AtomicBool::new(false) [INFO] [stdout] 98 | | }) [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: aborting due to 1 previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `y-diameter` (bin "y-diameter" test) due to 2 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e9fc3e637082902882496b688f656f33ce8b096de2ed7396c666bae8ace2a6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e9fc3e637082902882496b688f656f33ce8b096de2ed7396c666bae8ace2a6a", kill_on_drop: false }` [INFO] [stdout] 5e9fc3e637082902882496b688f656f33ce8b096de2ed7396c666bae8ace2a6a