[INFO] cloning repository https://github.com/hiproco/tui-prac [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hiproco/tui-prac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiproco%2Ftui-prac", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiproco%2Ftui-prac'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 979d637f1e344624ca8019e3e67dff2653958eff [INFO] checking hiproco/tui-prac against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiproco%2Ftui-prac" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hiproco/tui-prac 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/hiproco/tui-prac [INFO] finished tweaking git repo https://github.com/hiproco/tui-prac [INFO] tweaked toml for git repo https://github.com/hiproco/tui-prac written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hiproco/tui-prac 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 lru v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4ea9e5acac0c2ccaee49e28b4ca551c222b7e696cb12dbf98314ac9468fbc516 [INFO] running `Command { std: "docker" "start" "-a" "4ea9e5acac0c2ccaee49e28b4ca551c222b7e696cb12dbf98314ac9468fbc516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ea9e5acac0c2ccaee49e28b4ca551c222b7e696cb12dbf98314ac9468fbc516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea9e5acac0c2ccaee49e28b4ca551c222b7e696cb12dbf98314ac9468fbc516", kill_on_drop: false }` [INFO] [stdout] 4ea9e5acac0c2ccaee49e28b4ca551c222b7e696cb12dbf98314ac9468fbc516 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c401a3e9d170f2d54adf02d30188d31c8262b24d8d8cf4dcaa3c648e1835f08d [INFO] running `Command { std: "docker" "start" "-a" "c401a3e9d170f2d54adf02d30188d31c8262b24d8d8cf4dcaa3c648e1835f08d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking lru v0.12.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking ratatui v0.25.0 [INFO] [stderr] Checking tui-prac v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ToSocketAddrs`, `cell::OnceCell`, `ops::Not`, and `self` [INFO] [stdout] --> src/network.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::OnceCell, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{self, Error, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | net::{Ipv4Addr, SocketAddrV4, TcpListener, TcpStream, ToSocketAddrs, UdpSocket}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | ops::Not, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ToSocketAddrs`, `cell::OnceCell`, `ops::Not`, and `self` [INFO] [stdout] --> src/network.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::OnceCell, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{self, Error, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | net::{Ipv4Addr, SocketAddrV4, TcpListener, TcpStream, ToSocketAddrs, UdpSocket}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | ops::Not, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/network.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | if let Ok((recv, addr)) = seeker.recv_from(&mut buf) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/network.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | if let Ok((recv, addr)) = seeker.recv_from(&mut buf) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTIADDR` is never used [INFO] [stdout] --> src/network.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | const MULTIADDR: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(0b11101111, 255, 2, 134), 21340); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTIADDR` is never used [INFO] [stdout] --> src/network.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | const MULTIADDR: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(0b11101111, 255, 2, 134), 21340); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PORT` is never used [INFO] [stdout] --> src/network.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | const PORT: u16 = 21340; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PORT` is never used [INFO] [stdout] --> src/network.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | const PORT: u16 = 21340; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `local_server` is never used [INFO] [stdout] --> src/network.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn local_server(atleast: usize) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `local_server` is never used [INFO] [stdout] --> src/network.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn local_server(atleast: usize) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/network.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn check(mut stream: TcpStream) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pinger` is never used [INFO] [stdout] --> src/network.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn pinger(server_port: u16, finished: Arc) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connector` is never used [INFO] [stdout] --> src/network.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn connector() -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/network.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn check(mut stream: TcpStream) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pinger` is never used [INFO] [stdout] --> src/network.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn pinger(server_port: u16, finished: Arc) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connector` is never used [INFO] [stdout] --> src/network.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn connector() -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/network.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / peers [INFO] [stdout] 57 | | .iter() [INFO] [stdout] 58 | | // .into_iter() [INFO] [stdout] 59 | | .filter_map(|p| std::net::TcpStream::connect(p).ok()) [INFO] [stdout] 60 | | .collect::>(); [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = peers [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/network.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / peers [INFO] [stdout] 57 | | .iter() [INFO] [stdout] 58 | | // .into_iter() [INFO] [stdout] 59 | | .filter_map(|p| std::net::TcpStream::connect(p).ok()) [INFO] [stdout] 60 | | .collect::>(); [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = peers [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Socket` is never used [INFO] [stdout] --> examples/playground.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Socket: Sized { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConnectionSocket` is never used [INFO] [stdout] --> examples/playground.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | trait ConnectionSocket: Socket {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ListenerSocket` is never used [INFO] [stdout] --> examples/playground.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | trait ListenerSocket: Socket {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guard` is never constructed [INFO] [stdout] --> examples/playground.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | struct Guard {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Serializer` is never used [INFO] [stdout] --> examples/playground.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | trait Serializer {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Serialize` is never used [INFO] [stdout] --> examples/playground.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | trait Serialize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ToSocketAddrs`, `cell::OnceCell`, `ops::Not`, and `self` [INFO] [stdout] --> src/network.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::OnceCell, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{self, Error, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | net::{Ipv4Addr, SocketAddrV4, TcpListener, TcpStream, ToSocketAddrs, UdpSocket}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | ops::Not, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server` is never used [INFO] [stdout] --> examples/server.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn run_server() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_peer` is never used [INFO] [stdout] --> examples/server.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn find_peer(with: Option, port: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ToSocketAddrs`, `cell::OnceCell`, `ops::Not`, and `self` [INFO] [stdout] --> src/network.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::OnceCell, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{self, Error, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | net::{Ipv4Addr, SocketAddrV4, TcpListener, TcpStream, ToSocketAddrs, UdpSocket}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | ops::Not, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/network.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | if let Ok((recv, addr)) = seeker.recv_from(&mut buf) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/network.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | if let Ok((recv, addr)) = seeker.recv_from(&mut buf) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 420 | Tab(selected) => Some(*selected), [INFO] [stdout] | ------------- matches all the relevant values [INFO] [stdout] 421 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `set`, `en`, `image`, and `notes` are never read [INFO] [stdout] --> src/main.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 206 | struct CardAttribute { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 207 | id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 208 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 209 | set: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 210 | en: String, [INFO] [stdout] | ^^ [INFO] [stdout] 211 | image: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 212 | notes: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardAttribute` 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: field `attribute` is never read [INFO] [stdout] --> src/main.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 215 | struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 216 | attribute: CardAttribute, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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 `attribute` and `items` are never read [INFO] [stdout] --> src/main.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 219 | struct Event { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 220 | attribute: CardAttribute, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 221 | items: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` 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 `other` is never read [INFO] [stdout] --> src/main.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 224 | struct Schema { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 225 | item: Item, [INFO] [stdout] 226 | other: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Schema` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BORDERED` is never used [INFO] [stdout] --> src/main.rs:286:11 [INFO] [stdout] | [INFO] [stdout] 286 | const BORDERED: Block = Block::new().borders(Borders::ALL); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Apply` is never used [INFO] [stdout] --> src/main.rs:316:7 [INFO] [stdout] | [INFO] [stdout] 316 | trait Apply: FnMut(I) -> O + Sized { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `states` is never read [INFO] [stdout] --> src/main.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 408 | struct GameState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 409 | changed: bool, [INFO] [stdout] 410 | states: GameData, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayoutTree` is never constructed [INFO] [stdout] --> src/main.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | struct LayoutTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoInner` is never used [INFO] [stdout] --> src/main.rs:429:7 [INFO] [stdout] | [INFO] [stdout] 429 | trait IntoInner { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Log` is never constructed [INFO] [stdout] --> src/main.rs:433:8 [INFO] [stdout] | [INFO] [stdout] 433 | struct Log(T, RefCell); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/main.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 434 | impl Log { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] 435 | fn into_inner(mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Loggable` is never used [INFO] [stdout] --> src/main.rs:454:7 [INFO] [stdout] | [INFO] [stdout] 454 | trait Loggable: Debug + Sized { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTIADDR` is never used [INFO] [stdout] --> src/network.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | const MULTIADDR: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(0b11101111, 255, 2, 134), 21340); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PORT` is never used [INFO] [stdout] --> src/network.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | const PORT: u16 = 21340; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `local_server` is never used [INFO] [stdout] --> src/network.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn local_server(atleast: usize) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/network.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn check(mut stream: TcpStream) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pinger` is never used [INFO] [stdout] --> src/network.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn pinger(server_port: u16, finished: Arc) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connector` is never used [INFO] [stdout] --> src/network.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn connector() -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thegameloop` is never used [INFO] [stdout] --> src/main.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn thegameloop() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vote` is never used [INFO] [stdout] --> src/main.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn vote(players: &[Player]) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose` is never used [INFO] [stdout] --> src/main.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn choose(_player: &Player) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/main.rs:351:16 [INFO] [stdout] | [INFO] [stdout] 336 | impl Card { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn description>(self, description: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | writeln!(logger, "[written {} bytes]", amt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/network.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / peers [INFO] [stdout] 57 | | .iter() [INFO] [stdout] 58 | | // .into_iter() [INFO] [stdout] 59 | | .filter_map(|p| std::net::TcpStream::connect(p).ok()) [INFO] [stdout] 60 | | .collect::>(); [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = peers [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 420 | Tab(selected) => Some(*selected), [INFO] [stdout] | ------------- matches all the relevant values [INFO] [stdout] 421 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `set`, `en`, `image`, and `notes` are never read [INFO] [stdout] --> src/main.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 206 | struct CardAttribute { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 207 | id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 208 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 209 | set: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 210 | en: String, [INFO] [stdout] | ^^ [INFO] [stdout] 211 | image: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 212 | notes: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardAttribute` 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: field `attribute` is never read [INFO] [stdout] --> src/main.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 215 | struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 216 | attribute: CardAttribute, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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 `attribute` and `items` are never read [INFO] [stdout] --> src/main.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 219 | struct Event { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 220 | attribute: CardAttribute, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 221 | items: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` 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 `other` is never read [INFO] [stdout] --> src/main.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 224 | struct Schema { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 225 | item: Item, [INFO] [stdout] 226 | other: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Schema` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BORDERED` is never used [INFO] [stdout] --> src/main.rs:286:11 [INFO] [stdout] | [INFO] [stdout] 286 | const BORDERED: Block = Block::new().borders(Borders::ALL); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Apply` is never used [INFO] [stdout] --> src/main.rs:316:7 [INFO] [stdout] | [INFO] [stdout] 316 | trait Apply: FnMut(I) -> O + Sized { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `states` is never read [INFO] [stdout] --> src/main.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 408 | struct GameState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 409 | changed: bool, [INFO] [stdout] 410 | states: GameData, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayoutTree` is never constructed [INFO] [stdout] --> src/main.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | struct LayoutTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoInner` is never used [INFO] [stdout] --> src/main.rs:429:7 [INFO] [stdout] | [INFO] [stdout] 429 | trait IntoInner { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTIADDR` is never used [INFO] [stdout] --> src/network.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | const MULTIADDR: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(0b11101111, 255, 2, 134), 21340); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PORT` is never used [INFO] [stdout] --> src/network.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | const PORT: u16 = 21340; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `local_server` is never used [INFO] [stdout] --> src/network.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn local_server(atleast: usize) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/network.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn check(mut stream: TcpStream) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pinger` is never used [INFO] [stdout] --> src/network.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn pinger(server_port: u16, finished: Arc) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connector` is never used [INFO] [stdout] --> src/network.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn connector() -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thegameloop` is never used [INFO] [stdout] --> src/main.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn thegameloop() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vote` is never used [INFO] [stdout] --> src/main.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn vote(players: &[Player]) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose` is never used [INFO] [stdout] --> src/main.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn choose(_player: &Player) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/main.rs:351:16 [INFO] [stdout] | [INFO] [stdout] 336 | impl Card { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn description>(self, description: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | writeln!(logger, "[written {} bytes]", amt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/network.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / peers [INFO] [stdout] 57 | | .iter() [INFO] [stdout] 58 | | // .into_iter() [INFO] [stdout] 59 | | .filter_map(|p| std::net::TcpStream::connect(p).ok()) [INFO] [stdout] 60 | | .collect::>(); [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = peers [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | dbg!(r); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.90s [INFO] running `Command { std: "docker" "inspect" "c401a3e9d170f2d54adf02d30188d31c8262b24d8d8cf4dcaa3c648e1835f08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c401a3e9d170f2d54adf02d30188d31c8262b24d8d8cf4dcaa3c648e1835f08d", kill_on_drop: false }` [INFO] [stdout] c401a3e9d170f2d54adf02d30188d31c8262b24d8d8cf4dcaa3c648e1835f08d [INFO] checking hiproco/tui-prac 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%2Fhiproco%2Ftui-prac" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hiproco/tui-prac 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/hiproco/tui-prac [INFO] finished tweaking git repo https://github.com/hiproco/tui-prac [INFO] tweaked toml for git repo https://github.com/hiproco/tui-prac written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hiproco/tui-prac 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6c6e76ceeadd3c7f0c556559dad11b7228dc0287176369e76dd627e443a5f54 [INFO] running `Command { std: "docker" "start" "-a" "f6c6e76ceeadd3c7f0c556559dad11b7228dc0287176369e76dd627e443a5f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6c6e76ceeadd3c7f0c556559dad11b7228dc0287176369e76dd627e443a5f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6c6e76ceeadd3c7f0c556559dad11b7228dc0287176369e76dd627e443a5f54", kill_on_drop: false }` [INFO] [stdout] f6c6e76ceeadd3c7f0c556559dad11b7228dc0287176369e76dd627e443a5f54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 2f4d148298d737ca8495a02d6d9f5c574d93056ce15623edf1a0ae3fe2ec8520 [INFO] running `Command { std: "docker" "start" "-a" "2f4d148298d737ca8495a02d6d9f5c574d93056ce15623edf1a0ae3fe2ec8520", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking lru v0.12.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking ratatui v0.25.0 [INFO] [stderr] Checking tui-prac v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ToSocketAddrs`, `cell::OnceCell`, `ops::Not`, and `self` [INFO] [stdout] --> src/network.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::OnceCell, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{self, Error, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | net::{Ipv4Addr, SocketAddrV4, TcpListener, TcpStream, ToSocketAddrs, UdpSocket}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | ops::Not, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ToSocketAddrs`, `cell::OnceCell`, `ops::Not`, and `self` [INFO] [stdout] --> src/network.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::OnceCell, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{self, Error, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | net::{Ipv4Addr, SocketAddrV4, TcpListener, TcpStream, ToSocketAddrs, UdpSocket}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | ops::Not, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/network.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | if let Ok((recv, addr)) = seeker.recv_from(&mut buf) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/network.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | if let Ok((recv, addr)) = seeker.recv_from(&mut buf) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTIADDR` is never used [INFO] [stdout] --> src/network.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | const MULTIADDR: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(0b11101111, 255, 2, 134), 21340); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTIADDR` is never used [INFO] [stdout] --> src/network.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | const MULTIADDR: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(0b11101111, 255, 2, 134), 21340); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PORT` is never used [INFO] [stdout] --> src/network.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | const PORT: u16 = 21340; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PORT` is never used [INFO] [stdout] --> src/network.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | const PORT: u16 = 21340; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `local_server` is never used [INFO] [stdout] --> src/network.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn local_server(atleast: usize) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `local_server` is never used [INFO] [stdout] --> src/network.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn local_server(atleast: usize) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/network.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn check(mut stream: TcpStream) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pinger` is never used [INFO] [stdout] --> src/network.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn pinger(server_port: u16, finished: Arc) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connector` is never used [INFO] [stdout] --> src/network.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn connector() -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/network.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn check(mut stream: TcpStream) -> Option { [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/network.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | move |e: Error| Err(Error::new(e.kind(), with)) [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] = 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/network.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / socket [INFO] [stdout] 45 | | .recv_from(&mut buf) [INFO] [stdout] 46 | | .ok() [INFO] [stdout] 47 | | .filter(|(recv, _)| *recv == MSG.len() && buf == *MSG) [INFO] [stdout] 48 | | .map(|(_, addr)| Ok(addr)) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________________________________________| [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 `pinger` is never used [INFO] [stdout] --> src/network.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn pinger(server_port: u16, finished: Arc) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connector` is never used [INFO] [stdout] --> src/network.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn connector() -> Option { [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/network.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | move |e: Error| Err(Error::new(e.kind(), with)) [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] = 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/network.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / socket [INFO] [stdout] 45 | | .recv_from(&mut buf) [INFO] [stdout] 46 | | .ok() [INFO] [stdout] 47 | | .filter(|(recv, _)| *recv == MSG.len() && buf == *MSG) [INFO] [stdout] 48 | | .map(|(_, addr)| Ok(addr)) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________________________________________| [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 return value of `collect` that must be used [INFO] [stdout] --> src/network.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / peers [INFO] [stdout] 57 | | .iter() [INFO] [stdout] 58 | | // .into_iter() [INFO] [stdout] 59 | | .filter_map(|p| std::net::TcpStream::connect(p).ok()) [INFO] [stdout] 60 | | .collect::>(); [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = peers [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/network.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / peers [INFO] [stdout] 57 | | .iter() [INFO] [stdout] 58 | | // .into_iter() [INFO] [stdout] 59 | | .filter_map(|p| std::net::TcpStream::connect(p).ok()) [INFO] [stdout] 60 | | .collect::>(); [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = peers [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/network.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | .filter_map(|p| std::net::TcpStream::connect(p).ok()) [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/network.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | .filter_map(|p| std::net::TcpStream::connect(p).ok()) [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/network.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 76 | let listener = TcpListener::bind((Ipv4Addr::UNSPECIFIED, 0))?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let finished = Arc::new(AtomicBool::new(false)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let pingerside = Arc::clone(&finished); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let h = std::thread::Builder::new() [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let _g = Guard(finished, Some(h)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | Ok(listener [INFO] [stdout] | ________^ [INFO] [stdout] 93 | | .incoming() [INFO] [stdout] 94 | | .filter_map(|s| s.ok()) [INFO] [stdout] 95 | | .filter_map(check) [INFO] [stdout] 96 | | .take(atleast) [INFO] [stdout] 97 | | .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] | | 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] [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/network.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 76 | let listener = TcpListener::bind((Ipv4Addr::UNSPECIFIED, 0))?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let finished = Arc::new(AtomicBool::new(false)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let pingerside = Arc::clone(&finished); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let h = std::thread::Builder::new() [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let _g = Guard(finished, Some(h)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | Ok(listener [INFO] [stdout] | ________^ [INFO] [stdout] 93 | | .incoming() [INFO] [stdout] 94 | | .filter_map(|s| s.ok()) [INFO] [stdout] 95 | | .filter_map(check) [INFO] [stdout] 96 | | .take(atleast) [INFO] [stdout] 97 | | .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] | | 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tui-prac` (lib) due to 5 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tui-prac` (lib test) due to 5 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2f4d148298d737ca8495a02d6d9f5c574d93056ce15623edf1a0ae3fe2ec8520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f4d148298d737ca8495a02d6d9f5c574d93056ce15623edf1a0ae3fe2ec8520", kill_on_drop: false }` [INFO] [stdout] 2f4d148298d737ca8495a02d6d9f5c574d93056ce15623edf1a0ae3fe2ec8520