[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] testing U007D/chat-app against beta-2022-07-16 for beta-1.63-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FU007D%2Fchat-app" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/U007D/chat-app on toolchain beta-2022-07-16 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "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-1/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3d94fce52e5c9d9774f951e94a50ed5a0329b760fd6b7695bd76f085964eca6 [INFO] running `Command { std: "docker" "start" "-a" "e3d94fce52e5c9d9774f951e94a50ed5a0329b760fd6b7695bd76f085964eca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3d94fce52e5c9d9774f951e94a50ed5a0329b760fd6b7695bd76f085964eca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d94fce52e5c9d9774f951e94a50ed5a0329b760fd6b7695bd76f085964eca6", kill_on_drop: false }` [INFO] [stdout] e3d94fce52e5c9d9774f951e94a50ed5a0329b760fd6b7695bd76f085964eca6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4247bd1923302993294dd9a5b9977b81ff0f378ab2c89017981a7eac5d5a686 [INFO] running `Command { std: "docker" "start" "-a" "d4247bd1923302993294dd9a5b9977b81ff0f378ab2c89017981a7eac5d5a686", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling xi-unicode v0.2.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling instant v0.1.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling glam v0.8.3 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.7 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling hibitset v0.6.2 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling gif v0.10.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] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling relevant v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling png v0.15.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.2 [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 num_cpus v1.11.1 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling zerocopy v0.2.8 [INFO] [stderr] Compiling gfx-hal v0.4.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling ash v0.29.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling euclid v0.20.5 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling lyon_geom v0.14.1 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling lyon_path v0.14.0 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling font-kit v0.4.0 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling ws v0.9.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.8 [INFO] [stderr] Compiling rendy-memory v0.5.2 [INFO] [stderr] Compiling gfx-backend-empty v0.4.0 [INFO] [stderr] Compiling rendy-descriptor v0.5.1 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling glyph_brush v0.6.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling gfx-backend-vulkan v0.4.0 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling wgpu-native v0.4.1 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling iced_core v0.1.0 [INFO] [stderr] Compiling iced_native v0.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.4 [INFO] [stderr] Compiling wgpu v0.4.0 [INFO] [stderr] Compiling wgpu_glyph v0.6.0 [INFO] [stderr] Compiling iced_wgpu v0.1.0 [INFO] [stderr] Compiling winit v0.20.0-alpha4 [INFO] [stderr] Compiling iced_winit v0.1.0-alpha [INFO] [stderr] Compiling iced v0.1.0-beta [INFO] [stderr] Compiling learning_chat v0.1.0 (/opt/rustwide/workdir) [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] 22 | pub fn start() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PORT` is never used [INFO] [stdout] --> src/app.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | const PORT: u16 = 4444; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "d4247bd1923302993294dd9a5b9977b81ff0f378ab2c89017981a7eac5d5a686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4247bd1923302993294dd9a5b9977b81ff0f378ab2c89017981a7eac5d5a686", kill_on_drop: false }` [INFO] [stdout] d4247bd1923302993294dd9a5b9977b81ff0f378ab2c89017981a7eac5d5a686 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d6c48a59be61e62fa4c217827cfd8c5bd17984d44342403a34e87fe8a83ebeb [INFO] running `Command { std: "docker" "start" "-a" "4d6c48a59be61e62fa4c217827cfd8c5bd17984d44342403a34e87fe8a83ebeb", kill_on_drop: false }` [INFO] [stderr] Compiling 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`, `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: 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] 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] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.30s [INFO] running `Command { std: "docker" "inspect" "4d6c48a59be61e62fa4c217827cfd8c5bd17984d44342403a34e87fe8a83ebeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d6c48a59be61e62fa4c217827cfd8c5bd17984d44342403a34e87fe8a83ebeb", kill_on_drop: false }` [INFO] [stdout] 4d6c48a59be61e62fa4c217827cfd8c5bd17984d44342403a34e87fe8a83ebeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8af910c0108949df2e3c1780f045cdb237597be7ea86edf0f08c0eba8108fab4 [INFO] running `Command { std: "docker" "start" "-a" "8af910c0108949df2e3c1780f045cdb237597be7ea86edf0f08c0eba8108fab4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/app/unit_tests.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::{Error, Result}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::any::Any` [INFO] [stderr] --> src/app/unit_tests.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::any::Any; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Cell` [INFO] [stderr] --> src/app/unit_tests.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use std::cell::{Cell, RefCell}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Ipv4Addr`, `TcpListener` [INFO] [stderr] --> src/app/unit_tests.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | use std::net::{Ipv4Addr, TcpListener}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/app/unit_tests.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/app/unit_tests.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::RwLock` [INFO] [stderr] --> src/app/unit_tests.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::sync::RwLock; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Handler` [INFO] [stderr] --> src/app/unit_tests.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | use ws::{connect, CloseCode, Handler}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Borrow` [INFO] [stderr] --> src/app/unit_tests.rs:4:19 [INFO] [stderr] | [INFO] [stderr] 4 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BorrowMut` [INFO] [stderr] --> src/app/unit_tests.rs:4:27 [INFO] [stderr] | [INFO] [stderr] 4 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `listener_socket` [INFO] [stderr] --> src/app/unit_tests.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | let listener_socket = app.local_socket; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener_socket` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sut` [INFO] [stderr] --> src/app/unit_tests.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | let sut = connect(stringly_socket, |out| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sut` [INFO] [stderr] [INFO] [stderr] warning: field `listener_thread` is never read [INFO] [stderr] --> src/app.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct App { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 17 | local_socket: SocketAddr, [INFO] [stderr] 18 | listener_thread: JoinHandle>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum `Message` is never used [INFO] [stderr] --> src/app/unit_tests.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | pub enum Message { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `MissingNameArg` and `NonTextMessageReceived` are never constructed [INFO] [stderr] --> src/error.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Error { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] 5 | MissingNameArg, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 9 | NonTextMessageReceived, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `start__app_starts` should have a snake case name [INFO] [stderr] --> src/app/unit_tests.rs:18:4 [INFO] [stderr] | [INFO] [stderr] 18 | fn start__app_starts() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_app_starts` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `ping__live_socket_replies_with_pong` should have a snake case name [INFO] [stderr] --> src/app/unit_tests.rs:33:4 [INFO] [stderr] | [INFO] [stderr] 33 | fn ping__live_socket_replies_with_pong() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ping_live_socket_replies_with_pong` [INFO] [stderr] [INFO] [stderr] warning: `learning_chat` (bin "learning_chat" test) generated 17 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/learning_chat-938602a43f48c2b7) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test app::unit_tests::start__app_starts ... ok [INFO] [stdout] test app::unit_tests::ping__live_socket_replies_with_pong ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- app::unit_tests::ping__live_socket_replies_with_pong stdout ---- [INFO] [stdout] thread 'app::unit_tests::ping__live_socket_replies_with_pong' panicked at 'called `Result::unwrap()` on an `Err` value: WS Error : Unable to parse 127.0.0.1:4444 as url due to RelativeUrlWithoutBase', src/app/unit_tests.rs:52:6 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55728f4842fd - std::backtrace_rs::backtrace::libunwind::trace::h33935f50be729600 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55728f4842fd - std::backtrace_rs::backtrace::trace_unsynchronized::h85350690f550732a [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55728f4842fd - std::sys_common::backtrace::_print_fmt::hef50877fc14d4570 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55728f4842fd - ::fmt::h864135c3b342f033 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55728f4a7c8c - core::fmt::write::hcb503b08861a7383 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/fmt/mod.rs:1197:17 [INFO] [stdout] 5: 0x55728f47e421 - std::io::Write::write_fmt::h7b5d0250fe53d0e9 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/io/mod.rs:1672:15 [INFO] [stdout] 6: 0x55728f485da5 - std::sys_common::backtrace::_print::h8c59e37a3ed34e23 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55728f485da5 - std::sys_common::backtrace::print::h90aab6df99a2db90 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55728f485da5 - std::panicking::default_hook::{{closure}}::h09cc51c67f7f7d05 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55728f485a49 - std::panicking::default_hook::he0bf4d235e26ea03 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55728f486336 - std::panicking::rust_panic_with_hook::ha977288eb720b249 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55728f486227 - std::panicking::begin_panic_handler::{{closure}}::h963e19a72c1e136f [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55728f4847b4 - std::sys_common::backtrace::__rust_end_short_backtrace::h846b3986734acf64 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55728f485f59 - rust_begin_unwind [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55728f2bfa03 - core::panicking::panic_fmt::h5c0d1820488dd088 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x55728f2bfaf3 - core::result::unwrap_failed::hb2b7f3deb457dd3f [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/result.rs:1805:5 [INFO] [stdout] 16: 0x55728f2fd4c5 - core::result::Result::unwrap::h4cc1332bdce319d8 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/result.rs:1098:23 [INFO] [stdout] 17: 0x55728f30fa4d - learning_chat::app::unit_tests::ping__live_socket_replies_with_pong::h282ecac38b63b7c0 [INFO] [stdout] at /opt/rustwide/workdir/src/app/unit_tests.rs:43:15 [INFO] [stdout] 18: 0x55728f30f87a - learning_chat::app::unit_tests::ping__live_socket_replies_with_pong::{{closure}}::h52686ac8bf128081 [INFO] [stdout] at /opt/rustwide/workdir/src/app/unit_tests.rs:33:1 [INFO] [stdout] 19: 0x55728f316a0e - core::ops::function::FnOnce::call_once::hdb345a2fe4cd81eb [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 20: 0x55728f3625c3 - core::ops::function::FnOnce::call_once::h611eb0785c1f3496 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 21: 0x55728f3625c3 - test::__rust_begin_short_backtrace::h637b08189daa98ed [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/test/src/lib.rs:572:5 [INFO] [stdout] 22: 0x55728f36136a - as core::ops::function::FnOnce>::call_once::hc31918fa5ae90071 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/alloc/src/boxed.rs:1951:9 [INFO] [stdout] 23: 0x55728f36136a - as core::ops::function::FnOnce<()>>::call_once::h09589bb8e6e535cd [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55728f36136a - std::panicking::try::do_call::h67b8f9e43aba25b9 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55728f36136a - std::panicking::try::h5f0df9eb68e9f6a1 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55728f36136a - std::panic::catch_unwind::he5e2b2070df63e0e [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55728f36136a - test::run_test_in_process::h861bbcd8e3a7cee3 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/test/src/lib.rs:595:18 [INFO] [stdout] 28: 0x55728f36136a - test::run_test::run_test_inner::{{closure}}::h9b08daf9195a6ac1 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/test/src/lib.rs:489:39 [INFO] [stdout] 29: 0x55728f32d84d - test::run_test::run_test_inner::{{closure}}::h7ddf14831cdef435 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/test/src/lib.rs:516:37 [INFO] [stdout] 30: 0x55728f32d84d - std::sys_common::backtrace::__rust_begin_short_backtrace::h532132d8450e01c2 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55728f333178 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc05da9d50444a7b4 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/thread/mod.rs:505:17 [INFO] [stdout] 32: 0x55728f333178 - as core::ops::function::FnOnce<()>>::call_once::h3f32116e496a3685 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55728f333178 - std::panicking::try::do_call::h3d9bbb2b7a73d92d [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55728f333178 - std::panicking::try::h944abdd2b51c102e [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55728f333178 - std::panic::catch_unwind::hd948397232a76d26 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55728f333178 - std::thread::Builder::spawn_unchecked_::{{closure}}::hbdfa6198f1747f05 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/thread/mod.rs:504:30 [INFO] [stdout] 37: 0x55728f333178 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h48da003824bd2faa [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 38: 0x55728f48ab43 - as core::ops::function::FnOnce>::call_once::had8815f7e82c673d [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/alloc/src/boxed.rs:1951:9 [INFO] [stdout] 39: 0x55728f48ab43 - as core::ops::function::FnOnce>::call_once::h1786a1ea683e54c7 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/alloc/src/boxed.rs:1951:9 [INFO] [stdout] 40: 0x55728f48ab43 - std::sys::unix::thread::Thread::new::thread_start::haa5b764ba5f967a4 [INFO] [stdout] at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f59c7c8b609 - start_thread [INFO] [stdout] 42: 0x7f59c7a61133 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] app::unit_tests::ping__live_socket_replies_with_pong [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin learning_chat' [INFO] running `Command { std: "docker" "inspect" "8af910c0108949df2e3c1780f045cdb237597be7ea86edf0f08c0eba8108fab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af910c0108949df2e3c1780f045cdb237597be7ea86edf0f08c0eba8108fab4", kill_on_drop: false }` [INFO] [stdout] 8af910c0108949df2e3c1780f045cdb237597be7ea86edf0f08c0eba8108fab4