[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 master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FU007D%2Fchat-app" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/U007D/chat-app on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-6/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff31897b54f140fc8ce96499214e1ec230f43cadd9a07715f9a85ef7e4a00797 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ff31897b54f140fc8ce96499214e1ec230f43cadd9a07715f9a85ef7e4a00797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff31897b54f140fc8ce96499214e1ec230f43cadd9a07715f9a85ef7e4a00797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff31897b54f140fc8ce96499214e1ec230f43cadd9a07715f9a85ef7e4a00797", kill_on_drop: false }` [INFO] [stdout] ff31897b54f140fc8ce96499214e1ec230f43cadd9a07715f9a85ef7e4a00797 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f536eb1eddbb39528a2667470fd485504e1fec75eb430ba8227098aa1075c16d [INFO] running `Command { std: "docker" "start" "-a" "f536eb1eddbb39528a2667470fd485504e1fec75eb430ba8227098aa1075c16d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling colorful v0.2.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling instant v0.1.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling glam v0.8.3 [INFO] [stderr] Compiling c_linked_list v1.1.1 [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 x11 v2.18.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.7 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling hibitset v0.6.2 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling net2 v0.2.33 [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 memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [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 quote v0.6.13 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling relevant v0.4.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling ash v0.29.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling gfx-hal v0.4.1 [INFO] [stderr] Compiling png v0.15.2 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling euclid v0.20.5 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling lyon_geom v0.14.1 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling ws v0.9.1 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.8 [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 lyon_path v0.14.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling glyph_brush v0.6.1 [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 font-kit v0.4.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Compiling zerocopy v0.2.8 [INFO] [stderr] Compiling gfx-backend-vulkan v0.4.0 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling wgpu-native v0.4.1 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.4 [INFO] [stderr] Compiling winit v0.20.0-alpha4 [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 iced_winit v0.1.0-alpha [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 iced v0.1.0-beta [INFO] [stderr] Compiling learning_chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `App` [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 is never used: `start` [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 is never used: `PORT` [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: variant is never constructed: `MissingNameArg` [INFO] [stdout] --> src/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | MissingNameArg, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoIpAddrFound` [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | NoIpAddrFound, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IpTypeMismatch` [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | IpTypeMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NonTextMessageReceived` [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | NonTextMessageReceived, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "f536eb1eddbb39528a2667470fd485504e1fec75eb430ba8227098aa1075c16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f536eb1eddbb39528a2667470fd485504e1fec75eb430ba8227098aa1075c16d", kill_on_drop: false }` [INFO] [stdout] f536eb1eddbb39528a2667470fd485504e1fec75eb430ba8227098aa1075c16d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7868628d3da8d7f28732084f556f95b02f899ce9aca2e40922fa605c9f611be9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7868628d3da8d7f28732084f556f95b02f899ce9aca2e40922fa605c9f611be9", 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: enum is never used: `Message` [INFO] [stdout] --> src/app/unit_tests.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `listener_thread` [INFO] [stdout] --> src/app.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | listener_thread: JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingNameArg` [INFO] [stdout] --> src/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | MissingNameArg, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NonTextMessageReceived` [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | NonTextMessageReceived, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.61s [INFO] running `Command { std: "docker" "inspect" "7868628d3da8d7f28732084f556f95b02f899ce9aca2e40922fa605c9f611be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7868628d3da8d7f28732084f556f95b02f899ce9aca2e40922fa605c9f611be9", kill_on_drop: false }` [INFO] [stdout] 7868628d3da8d7f28732084f556f95b02f899ce9aca2e40922fa605c9f611be9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77adb0c22552806a961417ca8acbdce9cfafa107628d352de6d77a9d67c81040 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "77adb0c22552806a961417ca8acbdce9cfafa107628d352de6d77a9d67c81040", 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: enum is never used: `Message` [INFO] [stderr] --> src/app/unit_tests.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | pub enum Message { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `listener_thread` [INFO] [stderr] --> src/app.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | listener_thread: JoinHandle>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MissingNameArg` [INFO] [stderr] --> src/error.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | MissingNameArg, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NonTextMessageReceived` [INFO] [stderr] --> src/error.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | NonTextMessageReceived, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [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: 18 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/learning_chat-769d0f296e8e577c) [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: 0x5650d2821f40 - std::backtrace_rs::backtrace::libunwind::trace::h706b838f5bbd876b [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5650d2821f40 - std::backtrace_rs::backtrace::trace_unsynchronized::hc15f29ae7822b7b8 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5650d2821f40 - std::sys_common::backtrace::_print_fmt::h7c580c971f91926c [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5650d2821f40 - ::fmt::h2a772198c4032452 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5650d28457bc - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x5650d281bae5 - std::io::Write::write_fmt::h583dff5009d01a9f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/io/mod.rs:1663:15 [INFO] [stdout] 6: 0x5650d28240fb - std::sys_common::backtrace::_print::h5b3c171e6f864ae4 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5650d28240fb - std::sys_common::backtrace::print::h93b9e9ed2a98e611 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5650d28240fb - std::panicking::default_hook::{{closure}}::hd8da92bb68d520c5 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5650d2823c0c - std::panicking::default_hook::hdbc8b2951c5afbab [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5650d28247c4 - std::panicking::rust_panic_with_hook::h8a4c841655926f4e [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x5650d28242a7 - std::panicking::begin_panic_handler::{{closure}}::h471b6bc74904b7b0 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x5650d282243c - std::sys_common::backtrace::__rust_end_short_backtrace::h309f5c707f29932f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5650d2824209 - rust_begin_unwind [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x5650d2666cb1 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x5650d2666da3 - core::result::unwrap_failed::he898b02f57993c42 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x5650d26a89f6 - core::result::Result::unwrap::he11a438435e0c588 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/result.rs:1037:23 [INFO] [stdout] 17: 0x5650d26ba1bb - learning_chat::app::unit_tests::ping__live_socket_replies_with_pong::h8322dd45fa2d6711 [INFO] [stdout] at /opt/rustwide/workdir/src/app/unit_tests.rs:43:15 [INFO] [stdout] 18: 0x5650d26ba00a - learning_chat::app::unit_tests::ping__live_socket_replies_with_pong::{{closure}}::h5d4d067c1de465c3 [INFO] [stdout] at /opt/rustwide/workdir/src/app/unit_tests.rs:33:1 [INFO] [stdout] 19: 0x5650d26c1f0e - core::ops::function::FnOnce::call_once::h415fd478f1fcdc1c [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5650d27029d3 - core::ops::function::FnOnce::call_once::h99a97b0ff983bd25 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5650d27029d3 - test::__rust_begin_short_backtrace::h8fe0d26ed1584e50 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:577:5 [INFO] [stdout] 22: 0x5650d2701460 - as core::ops::function::FnOnce>::call_once::he6b90e352f394d8f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x5650d2701460 - as core::ops::function::FnOnce<()>>::call_once::h1c05475e029700b8 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x5650d2701460 - std::panicking::try::do_call::he6de943476ae628a [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x5650d2701460 - std::panicking::try::ha21937b8feb06f89 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x5650d2701460 - std::panic::catch_unwind::ha79830b3325c9fa6 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x5650d2701460 - test::run_test_in_process::h1ab180b83ee2d5b5 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:600:18 [INFO] [stdout] 28: 0x5650d2701460 - test::run_test::run_test_inner::{{closure}}::h8258ffe088f187a1 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x5650d26daa22 - test::run_test::run_test_inner::{{closure}}::hc697b214abd32bc6 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x5650d26daa22 - std::sys_common::backtrace::__rust_begin_short_backtrace::h64de0d3f894854a9 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x5650d26de678 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h1fd98fc86e533ece [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x5650d26de678 - as core::ops::function::FnOnce<()>>::call_once::h4e2a7abf702e4cfd [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x5650d26de678 - std::panicking::try::do_call::h4496392321a3c8c0 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x5650d26de678 - std::panicking::try::hf1e14258e04e8e9a [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x5650d26de678 - std::panic::catch_unwind::hb72c3777cd55642f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x5650d26de678 - std::thread::Builder::spawn_unchecked::{{closure}}::h2d7915a5910e148e [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x5650d26de678 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h83fd2f1ef5be797c [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5650d2829c17 - as core::ops::function::FnOnce>::call_once::ha8b1d5a0092467fc [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x5650d2829c17 - as core::ops::function::FnOnce>::call_once::h4b9f24ec4e8a879e [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x5650d2829c17 - std::sys::unix::thread::Thread::new::thread_start::h2a0e98fbc4ab4c32 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys/unix/thread.rs:72:17 [INFO] [stdout] 41: 0x7f48bd747609 - start_thread [INFO] [stdout] 42: 0x7f48bd51f293 - 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.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin learning_chat' [INFO] running `Command { std: "docker" "inspect" "77adb0c22552806a961417ca8acbdce9cfafa107628d352de6d77a9d67c81040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77adb0c22552806a961417ca8acbdce9cfafa107628d352de6d77a9d67c81040", kill_on_drop: false }` [INFO] [stdout] 77adb0c22552806a961417ca8acbdce9cfafa107628d352de6d77a9d67c81040