[INFO] cloning repository https://github.com/strax/baseplate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/strax/baseplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrax%2Fbaseplate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrax%2Fbaseplate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8284457fc6e837a239b59b100ff251063a16ba33 [INFO] checking strax/baseplate/8284457fc6e837a239b59b100ff251063a16ba33 against master#96cfc75584359ae7ad11cc45968059f29e7b44b7 for pr-137728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrax%2Fbaseplate" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/strax/baseplate on toolchain 96cfc75584359ae7ad11cc45968059f29e7b44b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/strax/baseplate [INFO] finished tweaking git repo https://github.com/strax/baseplate [INFO] tweaked toml for git repo https://github.com/strax/baseplate written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/strax/baseplate 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" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-timer v1.0.2 [INFO] [stderr] Downloaded async-macros v1.0.0 [INFO] [stderr] Downloaded async-std v0.99.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fac2b9ef4c8d4122b0c9c4f6bc6fe83f7bf38b1a98dbd73c6c75481dadc66ee5 [INFO] running `Command { std: "docker" "start" "-a" "fac2b9ef4c8d4122b0c9c4f6bc6fe83f7bf38b1a98dbd73c6c75481dadc66ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fac2b9ef4c8d4122b0c9c4f6bc6fe83f7bf38b1a98dbd73c6c75481dadc66ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac2b9ef4c8d4122b0c9c4f6bc6fe83f7bf38b1a98dbd73c6c75481dadc66ee5", kill_on_drop: false }` [INFO] [stdout] fac2b9ef4c8d4122b0c9c4f6bc6fe83f7bf38b1a98dbd73c6c75481dadc66ee5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26bcb971d8052a596871eb343fe51936566a77f967a170663d5815a71a7d924a [INFO] running `Command { std: "docker" "start" "-a" "26bcb971d8052a596871eb343fe51936566a77f967a170663d5815a71a7d924a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking stb_truetype v0.3.0 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking rgb v0.8.14 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking downcast-rs v1.1.0 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking rusttype v0.8.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling backtrace v0.3.38 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling snafu-derive v0.5.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Checking lyon_geom v0.12.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.10 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling futures-join-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-select-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling paste-impl v0.1.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking paste v0.1.6 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking snafu v0.5.0 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking lyon_path v0.13.2 [INFO] [stderr] Checking fern v0.5.8 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Checking pretty-hex v0.1.1 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking broadcaster v0.2.6 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking futures-timer v0.4.0 [INFO] [stderr] Checking glyph_brush_layout v0.1.8 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking alga v0.9.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking async-macros v1.0.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking async-task v1.0.0 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Checking slice-deque v0.2.4 [INFO] [stderr] Checking mint v0.5.3 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking async-std v0.99.9 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking minimp3 v0.3.3 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stdout] note: trace_macro [INFO] [stdout] --> shared/src/packet.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | let sequence_number = read!(u32, cur)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `read! { u32, cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] ensure_size! (std :: mem :: size_of :: < u32 > (), cur); paste :: expr! [INFO] [stdout] { Ok(cur.[< get_ u32 _be >] ()) } [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure_size! { std :: mem :: size_of :: < u32 > (), cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] let expected = std :: mem :: size_of :: < u32 > (); let actual = [INFO] [stdout] cur.remaining(); ensure! [INFO] [stdout] (actual >= expected, InvalidLength { expected, actual }); [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stdout] = note: to `if ! actual >= expected { return InvalidLength { expected, actual }.fail(); }` [INFO] [stdout] = note: expanding `expr! { Ok(cur.[< get_ u32 _be >] ()) }` [INFO] [stdout] = note: to `{ [INFO] [stdout] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stdout] { Value = (stringify! { Ok(cur.[< get_ u32 _be >] ()) }, 0).1, } [INFO] [stdout] proc_macro_call! () [INFO] [stdout] }` [INFO] [stdout] = note: expanding `proc_macro_call! { }` [INFO] [stdout] = note: to `{ Ok(cur.get_u32_be()) }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> shared/src/packet.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | let received_checksum = read!(u32, cur)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `read! { u32, cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] ensure_size! (std :: mem :: size_of :: < u32 > (), cur); paste :: expr! [INFO] [stdout] { Ok(cur.[< get_ u32 _be >] ()) } [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure_size! { std :: mem :: size_of :: < u32 > (), cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] let expected = std :: mem :: size_of :: < u32 > (); let actual = [INFO] [stdout] cur.remaining(); ensure! [INFO] [stdout] (actual >= expected, InvalidLength { expected, actual }); [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stdout] = note: to `if ! actual >= expected { return InvalidLength { expected, actual }.fail(); }` [INFO] [stdout] = note: expanding `expr! { Ok(cur.[< get_ u32 _be >] ()) }` [INFO] [stdout] = note: to `{ [INFO] [stdout] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stdout] { Value = (stringify! { Ok(cur.[< get_ u32 _be >] ()) }, 0).1, } [INFO] [stdout] proc_macro_call! () [INFO] [stdout] }` [INFO] [stdout] = note: expanding `proc_macro_call! { }` [INFO] [stdout] = note: to `{ Ok(cur.get_u32_be()) }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> shared/src/packet.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | let message_length = read!(u32, cur)? as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `read! { u32, cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] ensure_size! (std :: mem :: size_of :: < u32 > (), cur); paste :: expr! [INFO] [stdout] { Ok(cur.[< get_ u32 _be >] ()) } [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure_size! { std :: mem :: size_of :: < u32 > (), cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] let expected = std :: mem :: size_of :: < u32 > (); let actual = [INFO] [stdout] cur.remaining(); ensure! [INFO] [stdout] (actual >= expected, InvalidLength { expected, actual }); [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stdout] = note: to `if ! actual >= expected { return InvalidLength { expected, actual }.fail(); }` [INFO] [stdout] = note: expanding `expr! { Ok(cur.[< get_ u32 _be >] ()) }` [INFO] [stdout] = note: to `{ [INFO] [stdout] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stdout] { Value = (stringify! { Ok(cur.[< get_ u32 _be >] ()) }, 0).1, } [INFO] [stdout] proc_macro_call! () [INFO] [stdout] }` [INFO] [stdout] = note: expanding `proc_macro_call! { }` [INFO] [stdout] = note: to `{ Ok(cur.get_u32_be()) }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> shared/src/packet.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | let timestamp = Utc.timestamp_nanos(read!(i64, cur)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `read! { i64, cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] ensure_size! (std :: mem :: size_of :: < i64 > (), cur); paste :: expr! [INFO] [stdout] { Ok(cur.[< get_ i64 _be >] ()) } [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure_size! { std :: mem :: size_of :: < i64 > (), cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] let expected = std :: mem :: size_of :: < i64 > (); let actual = [INFO] [stdout] cur.remaining(); ensure! [INFO] [stdout] (actual >= expected, InvalidLength { expected, actual }); [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stdout] = note: to `if ! actual >= expected { return InvalidLength { expected, actual }.fail(); }` [INFO] [stdout] = note: expanding `expr! { Ok(cur.[< get_ i64 _be >] ()) }` [INFO] [stdout] = note: to `{ [INFO] [stdout] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stdout] { Value = (stringify! { Ok(cur.[< get_ i64 _be >] ()) }, 0).1, } [INFO] [stdout] proc_macro_call! () [INFO] [stdout] }` [INFO] [stdout] = note: expanding `proc_macro_call! { }` [INFO] [stdout] = note: to `{ Ok(cur.get_i64_be()) }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> shared/src/packet.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | / ensure!( [INFO] [stdout] 92 | | received_checksum == computed_checksum, [INFO] [stdout] 93 | | InvalidChecksum { [INFO] [stdout] 94 | | received: received_checksum, [INFO] [stdout] ... | [INFO] [stdout] 97 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `ensure! { received_checksum == computed_checksum, InvalidChecksum [INFO] [stdout] { received: received_checksum, computed: computed_checksum } }` [INFO] [stdout] = note: to `if ! received_checksum == computed_checksum [INFO] [stdout] { [INFO] [stdout] return [INFO] [stdout] InvalidChecksum { received: received_checksum, computed: computed_checksum }.fail(); [INFO] [stdout] }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> shared/src/handshake.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> shared/src/handshake.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::hexdump` [INFO] [stdout] --> shared/src/packet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::hexdump; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ByteOrder`, `LittleEndian as LE`, `Reader`, and `Writer` [INFO] [stdout] --> shared/src/packet.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::{Buf, BufMut, ByteOrder, Bytes, BytesMut, LittleEndian as LE, Reader, Writer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pretty_hex::*` [INFO] [stdout] --> shared/src/packet.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pretty_hex::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> shared/src/proto.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> shared/src/proto.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> shared/src/state.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> shared/src/state.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> shared/src/packet.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Cursor, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> shared/src/handshake.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_HandshakeMessage` [INFO] [stdout] 11 | pub enum HandshakeMessage { [INFO] [stdout] | ---------------- `HandshakeMessage` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> shared/src/handshake.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_HandshakeMessage` [INFO] [stdout] 11 | pub enum HandshakeMessage { [INFO] [stdout] | ---------------- `HandshakeMessage` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> shared/src/proto.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Message` [INFO] [stdout] 5 | pub enum Message { [INFO] [stdout] | ------- `Message` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> shared/src/proto.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Message` [INFO] [stdout] 5 | pub enum Message { [INFO] [stdout] | ------- `Message` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> shared/src/state.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_State` [INFO] [stdout] 4 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> shared/src/state.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_State` [INFO] [stdout] 4 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Checking glyph_brush v0.6.0 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking lyon_tessellation v0.13.5 [INFO] [stderr] Checking lyon_algorithms v0.13.4 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking gilrs-core v0.2.4 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking claxon v0.4.2 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking podio v0.1.6 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking gilrs v0.7.2 [INFO] [stderr] Checking zip v0.5.3 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking lyon v0.13.5 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking glyph_brush v0.5.4 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking toml v0.5.3 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking futures-timer v1.0.2 [INFO] [stdout] note: trace_macro [INFO] [stdout] --> shared/src/packet.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | let sequence_number = read!(u32, cur)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `read! { u32, cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] ensure_size! (std :: mem :: size_of :: < u32 > (), cur); paste :: expr! [INFO] [stdout] { Ok(cur.[< get_ u32 _be >] ()) } [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure_size! { std :: mem :: size_of :: < u32 > (), cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] let expected = std :: mem :: size_of :: < u32 > (); let actual = [INFO] [stdout] cur.remaining(); ensure! [INFO] [stdout] (actual >= expected, InvalidLength { expected, actual }); [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stdout] = note: to `if ! actual >= expected { return InvalidLength { expected, actual }.fail(); }` [INFO] [stdout] = note: expanding `expr! { Ok(cur.[< get_ u32 _be >] ()) }` [INFO] [stdout] = note: to `{ [INFO] [stdout] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stdout] { Value = (stringify! { Ok(cur.[< get_ u32 _be >] ()) }, 0).1, } [INFO] [stdout] proc_macro_call! () [INFO] [stdout] }` [INFO] [stdout] = note: expanding `proc_macro_call! { }` [INFO] [stdout] = note: to `{ Ok(cur.get_u32_be()) }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> shared/src/packet.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | let received_checksum = read!(u32, cur)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `read! { u32, cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] ensure_size! (std :: mem :: size_of :: < u32 > (), cur); paste :: expr! [INFO] [stdout] { Ok(cur.[< get_ u32 _be >] ()) } [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure_size! { std :: mem :: size_of :: < u32 > (), cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] let expected = std :: mem :: size_of :: < u32 > (); let actual = [INFO] [stdout] cur.remaining(); ensure! [INFO] [stdout] (actual >= expected, InvalidLength { expected, actual }); [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stdout] = note: to `if ! actual >= expected { return InvalidLength { expected, actual }.fail(); }` [INFO] [stdout] = note: expanding `expr! { Ok(cur.[< get_ u32 _be >] ()) }` [INFO] [stdout] = note: to `{ [INFO] [stdout] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stdout] { Value = (stringify! { Ok(cur.[< get_ u32 _be >] ()) }, 0).1, } [INFO] [stdout] proc_macro_call! () [INFO] [stdout] }` [INFO] [stdout] = note: expanding `proc_macro_call! { }` [INFO] [stdout] = note: to `{ Ok(cur.get_u32_be()) }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> shared/src/packet.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | let message_length = read!(u32, cur)? as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `read! { u32, cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] ensure_size! (std :: mem :: size_of :: < u32 > (), cur); paste :: expr! [INFO] [stdout] { Ok(cur.[< get_ u32 _be >] ()) } [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure_size! { std :: mem :: size_of :: < u32 > (), cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] let expected = std :: mem :: size_of :: < u32 > (); let actual = [INFO] [stdout] cur.remaining(); ensure! [INFO] [stdout] (actual >= expected, InvalidLength { expected, actual }); [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stdout] = note: to `if ! actual >= expected { return InvalidLength { expected, actual }.fail(); }` [INFO] [stdout] = note: expanding `expr! { Ok(cur.[< get_ u32 _be >] ()) }` [INFO] [stdout] = note: to `{ [INFO] [stdout] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stdout] { Value = (stringify! { Ok(cur.[< get_ u32 _be >] ()) }, 0).1, } [INFO] [stdout] proc_macro_call! () [INFO] [stdout] }` [INFO] [stdout] = note: expanding `proc_macro_call! { }` [INFO] [stdout] = note: to `{ Ok(cur.get_u32_be()) }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> shared/src/packet.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | let timestamp = Utc.timestamp_nanos(read!(i64, cur)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `read! { i64, cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] ensure_size! (std :: mem :: size_of :: < i64 > (), cur); paste :: expr! [INFO] [stdout] { Ok(cur.[< get_ i64 _be >] ()) } [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure_size! { std :: mem :: size_of :: < i64 > (), cur }` [INFO] [stdout] = note: to `{ [INFO] [stdout] let expected = std :: mem :: size_of :: < i64 > (); let actual = [INFO] [stdout] cur.remaining(); ensure! [INFO] [stdout] (actual >= expected, InvalidLength { expected, actual }); [INFO] [stdout] }` [INFO] [stdout] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stdout] = note: to `if ! actual >= expected { return InvalidLength { expected, actual }.fail(); }` [INFO] [stdout] = note: expanding `expr! { Ok(cur.[< get_ i64 _be >] ()) }` [INFO] [stdout] = note: to `{ [INFO] [stdout] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stdout] { Value = (stringify! { Ok(cur.[< get_ i64 _be >] ()) }, 0).1, } [INFO] [stdout] proc_macro_call! () [INFO] [stdout] }` [INFO] [stdout] = note: expanding `proc_macro_call! { }` [INFO] [stdout] = note: to `{ Ok(cur.get_i64_be()) }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> shared/src/packet.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | / ensure!( [INFO] [stdout] 92 | | received_checksum == computed_checksum, [INFO] [stdout] 93 | | InvalidChecksum { [INFO] [stdout] 94 | | received: received_checksum, [INFO] [stdout] ... | [INFO] [stdout] 97 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `ensure! { received_checksum == computed_checksum, InvalidChecksum [INFO] [stdout] { received: received_checksum, computed: computed_checksum } }` [INFO] [stdout] = note: to `if ! received_checksum == computed_checksum [INFO] [stdout] { [INFO] [stdout] return [INFO] [stdout] InvalidChecksum { received: received_checksum, computed: computed_checksum }.fail(); [INFO] [stdout] }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> shared/src/handshake.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> shared/src/handshake.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ByteOrder`, `LittleEndian as LE`, `Reader`, and `Writer` [INFO] [stdout] --> shared/src/packet.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::{Buf, BufMut, ByteOrder, Bytes, BytesMut, LittleEndian as LE, Reader, Writer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> shared/src/proto.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> shared/src/proto.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> shared/src/state.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> shared/src/state.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> shared/src/packet.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Cursor, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> shared/src/handshake.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_HandshakeMessage` [INFO] [stdout] 11 | pub enum HandshakeMessage { [INFO] [stdout] | ---------------- `HandshakeMessage` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> shared/src/handshake.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_HandshakeMessage` [INFO] [stdout] 11 | pub enum HandshakeMessage { [INFO] [stdout] | ---------------- `HandshakeMessage` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> shared/src/proto.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Message` [INFO] [stdout] 5 | pub enum Message { [INFO] [stdout] | ------- `Message` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> shared/src/proto.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Message` [INFO] [stdout] 5 | pub enum Message { [INFO] [stdout] | ------- `Message` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> shared/src/state.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_State` [INFO] [stdout] 4 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> shared/src/state.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_State` [INFO] [stdout] 4 | pub struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking env_logger v0.7.0 [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> server/src/main.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | state.broadcast(Message::Refresh({ positions })).await [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 72 - state.broadcast(Message::Refresh({ positions })).await [INFO] [stdout] 72 + state.broadcast(Message::Refresh(positions)).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> server/src/main.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | state.broadcast(Message::Refresh({ positions })).await [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 72 - state.broadcast(Message::Refresh({ positions })).await [INFO] [stdout] 72 + state.broadcast(Message::Refresh(positions)).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> server/src/session.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | self.on_connect().await; [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = self.on_connect().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> server/src/session.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | / self.send(&Message::Handshake(HandshakeMessage::Success)) [INFO] [stdout] 94 | | .await; [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = self.send(&Message::Handshake(HandshakeMessage::Success)) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> server/src/session.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | / self.send(&Message::Handshake(HandshakeMessage::Failure)) [INFO] [stdout] 101 | | .await; [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = self.send(&Message::Handshake(HandshakeMessage::Failure)) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> server/src/session.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | self.on_connect().await; [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = self.on_connect().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> server/src/session.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | / self.send(&Message::Handshake(HandshakeMessage::Success)) [INFO] [stdout] 94 | | .await; [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = self.send(&Message::Handshake(HandshakeMessage::Success)) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> server/src/session.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | / self.send(&Message::Handshake(HandshakeMessage::Failure)) [INFO] [stdout] 101 | | .await; [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = self.send(&Message::Handshake(HandshakeMessage::Failure)) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.3 [INFO] [stderr] Checking glutin v0.20.1 [INFO] [stderr] Checking rodio v0.9.0 [INFO] [stderr] Checking gfx_window_glutin v0.30.0 [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused imports: `Result`, `handshake::*`, `hexdump`, and `packet::Packet` [INFO] [stdout] --> client/src/main.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | use shared::{handshake::*, hexdump, logging, packet::Packet, proto::*, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> client/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `mem_take` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stdout] --> client/src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(mem_take)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result`, `handshake::*`, `hexdump`, and `packet::Packet` [INFO] [stdout] --> client/src/main.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | use shared::{handshake::*, hexdump, logging, packet::Packet, proto::*, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> client/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `mem_take` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stdout] --> client/src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(mem_take)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> client/src/main.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | retry(5, async || { [INFO] [stdout] | _________-----____^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 108 | | Conn::connect(SocketAddr::from_str("127.0.0.1:12345")?).await [INFO] [stdout] 109 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@main.rs:107:18}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn() -> _` [INFO] [stdout] found closure `{async closure@client/src/main.rs:107:18: 107:26}` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/shared/src/future.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn retry(times: usize, f: fn() -> F) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_>` [INFO] [stdout] --> client/src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let conn = Arc::new( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | task::spawn(keep_alive(conn.clone())); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 106 | let conn: Arc = Arc::new( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> client/src/main.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | retry(5, async || { [INFO] [stdout] | _________-----____^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 108 | | Conn::connect(SocketAddr::from_str("127.0.0.1:12345")?).await [INFO] [stdout] 109 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@main.rs:107:18}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn() -> _` [INFO] [stdout] found closure `{async closure@client/src/main.rs:107:18: 107:26}` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/shared/src/future.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn retry(times: usize, f: fn() -> F) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_>` [INFO] [stdout] --> client/src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let conn = Arc::new( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | task::spawn(keep_alive(conn.clone())); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 106 | let conn: Arc = Arc::new( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `client` (bin "client" test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `client` (bin "client") due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "26bcb971d8052a596871eb343fe51936566a77f967a170663d5815a71a7d924a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26bcb971d8052a596871eb343fe51936566a77f967a170663d5815a71a7d924a", kill_on_drop: false }` [INFO] [stdout] 26bcb971d8052a596871eb343fe51936566a77f967a170663d5815a71a7d924a