[INFO] cloning repository https://github.com/U007D/chat-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/U007D/chat-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FU007D%2Fchat-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FU007D%2Fchat-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5fcb797a534e6a74dd07f52d655b9c64223f827 [INFO] checking U007D/chat-app/c5fcb797a534e6a74dd07f52d655b9c64223f827 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%2FU007D%2Fchat-app" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/U007D/chat-app 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/U007D/chat-app [INFO] finished tweaking git repo https://github.com/U007D/chat-app [INFO] tweaked toml for git repo https://github.com/U007D/chat-app written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/U007D/chat-app 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a5828975d92cf885e5f0bead5f7f3aaf3248a7ec4d3c742cbb15e649bcbcea63 [INFO] running `Command { std: "docker" "start" "-a" "a5828975d92cf885e5f0bead5f7f3aaf3248a7ec4d3c742cbb15e649bcbcea63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5828975d92cf885e5f0bead5f7f3aaf3248a7ec4d3c742cbb15e649bcbcea63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5828975d92cf885e5f0bead5f7f3aaf3248a7ec4d3c742cbb15e649bcbcea63", kill_on_drop: false }` [INFO] [stdout] a5828975d92cf885e5f0bead5f7f3aaf3248a7ec4d3c742cbb15e649bcbcea63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3c9acf7d26844f671cf29bf9bfd5bd05f46bd4c5863cb46ec16e9a811fc34c78 [INFO] running `Command { std: "docker" "start" "-a" "3c9acf7d26844f671cf29bf9bfd5bd05f46bd4c5863cb46ec16e9a811fc34c78", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking relevant v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking hibitset v0.6.2 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.7 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking gfx-hal v0.4.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking ash v0.29.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking colorful v0.2.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking euclid v0.20.5 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking copyless v0.1.4 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking lyon_geom v0.14.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking glyph_brush_layout v0.1.8 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking glyph_brush v0.6.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking png v0.15.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking glam v0.8.3 [INFO] [stderr] Checking lyon_path v0.14.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking font-kit v0.4.0 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking rendy-memory v0.5.2 [INFO] [stderr] Checking gfx-backend-empty v0.4.0 [INFO] [stderr] Checking rendy-descriptor v0.5.1 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Checking ws v0.9.1 [INFO] [stderr] Checking zerocopy v0.2.8 [INFO] [stderr] Checking gfx-backend-vulkan v0.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking wgpu-native v0.4.1 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking wgpu v0.4.0 [INFO] [stderr] Checking wgpu_glyph v0.6.0 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking iced_core v0.1.0 [INFO] [stderr] Checking iced_native v0.1.0 [INFO] [stderr] Checking iced_wgpu v0.1.0 [INFO] [stderr] Checking smithay-client-toolkit v0.6.4 [INFO] [stderr] Checking winit v0.20.0-alpha4 [INFO] [stderr] Checking iced_winit v0.1.0-alpha [INFO] [stderr] Checking iced v0.1.0-beta [INFO] [stderr] Checking learning_chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/app/unit_tests.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/app/unit_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/app/unit_tests.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr` and `TcpListener` [INFO] [stdout] --> src/app/unit_tests.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::{Ipv4Addr, TcpListener}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/app/unit_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/app/unit_tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/app/unit_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Handler` [INFO] [stdout] --> src/app/unit_tests.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use ws::{connect, CloseCode, Handler}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/app/unit_tests.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/app/unit_tests.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listener_socket` [INFO] [stdout] --> src/app/unit_tests.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let listener_socket = app.local_socket; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener_socket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sut` [INFO] [stdout] --> src/app/unit_tests.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let sut = connect(stringly_socket, |out| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `listener_thread` is never read [INFO] [stdout] --> src/app.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 17 | local_socket: SocketAddr, [INFO] [stdout] 18 | listener_thread: JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/app/unit_tests.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | IoError(IoError), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | IoError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | WebSocket(WsError), [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | WebSocket(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MissingNameArg` and `NonTextMessageReceived` are never constructed [INFO] [stdout] --> src/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | MissingNameArg, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | NonTextMessageReceived, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, 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/app.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 37 | let listener_thread = thread_builder.spawn(move || { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | local_socket, [INFO] [stdout] 53 | | listener_thread, [INFO] [stdout] 54 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/app.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | || Err(Error::NoIpAddrFound), [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: function `start__app_starts` should have a snake case name [INFO] [stdout] --> src/app/unit_tests.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn start__app_starts() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_app_starts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ping__live_socket_replies_with_pong` should have a snake case name [INFO] [stdout] --> src/app/unit_tests.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn ping__live_socket_replies_with_pong() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ping_live_socket_replies_with_pong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/app.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct App { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `start` is never used [INFO] [stdout] --> src/app.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 22 | pub fn start() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | IoError(IoError), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | IoError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | WebSocket(WsError), [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | WebSocket(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `learning_chat` (bin "learning_chat" test) due to 3 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variants `MissingNameArg`, `NoIpAddrFound`, `IpTypeMismatch`, and `NonTextMessageReceived` are never constructed [INFO] [stdout] --> src/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | MissingNameArg, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | NoIpAddrFound, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | IpTypeMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | IoError(IoError), [INFO] [stdout] 9 | NonTextMessageReceived, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, 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/app.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 37 | let listener_thread = thread_builder.spawn(move || { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | local_socket, [INFO] [stdout] 53 | | listener_thread, [INFO] [stdout] 54 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/app.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | || Err(Error::NoIpAddrFound), [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 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `learning_chat` (bin "learning_chat") due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3c9acf7d26844f671cf29bf9bfd5bd05f46bd4c5863cb46ec16e9a811fc34c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c9acf7d26844f671cf29bf9bfd5bd05f46bd4c5863cb46ec16e9a811fc34c78", kill_on_drop: false }` [INFO] [stdout] 3c9acf7d26844f671cf29bf9bfd5bd05f46bd4c5863cb46ec16e9a811fc34c78