[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] testing strax/baseplate against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrax%2Fbaseplate" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/strax/baseplate on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-9/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: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3436f1ac2937ee115e629b326a31e91b0fbc4f7e2a9f406c820aa817d42a4c2 [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" "c3436f1ac2937ee115e629b326a31e91b0fbc4f7e2a9f406c820aa817d42a4c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3436f1ac2937ee115e629b326a31e91b0fbc4f7e2a9f406c820aa817d42a4c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3436f1ac2937ee115e629b326a31e91b0fbc4f7e2a9f406c820aa817d42a4c2", kill_on_drop: false }` [INFO] [stdout] c3436f1ac2937ee115e629b326a31e91b0fbc4f7e2a9f406c820aa817d42a4c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86a7951a208f6716b2d16775e535a20556c671134ef7a0180d5a3b7e25feba9e [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" "86a7951a208f6716b2d16775e535a20556c671134ef7a0180d5a3b7e25feba9e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling downcast-rs v1.1.0 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling rgb v0.8.14 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling xi-unicode v0.2.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling mint v0.5.3 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling pretty-hex v0.1.1 [INFO] [stderr] Compiling claxon v0.4.2 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling async-macros v1.0.0 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling async-task v1.0.0 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling slice-deque v0.2.4 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling stb_truetype v0.3.0 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling minimp3 v0.3.3 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.38 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling sid v0.5.2 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling zip v0.5.3 [INFO] [stderr] Compiling gilrs-core v0.2.4 [INFO] [stderr] Compiling alga v0.9.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling toml v0.5.3 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling env_logger v0.7.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling gilrs v0.7.2 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling colored v1.8.0 [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] Compiling fern v0.5.8 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling rusttype v0.8.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.8 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling glyph_brush v0.6.0 [INFO] [stderr] Compiling glyph_brush v0.5.4 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling snafu-derive v0.5.0 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.10 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling lyon_geom v0.12.7 [INFO] [stderr] Compiling snafu v0.5.0 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling lyon_path v0.13.2 [INFO] [stderr] Compiling futures-select-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-join-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling paste-impl v0.1.6 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling lyon_tessellation v0.13.5 [INFO] [stderr] Compiling lyon_algorithms v0.13.4 [INFO] [stderr] Compiling lyon v0.13.5 [INFO] [stderr] Compiling paste v0.1.6 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.3 [INFO] [stderr] Compiling futures-timer v0.4.0 [INFO] [stderr] Compiling broadcaster v0.2.6 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-timer v1.0.2 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling async-std v0.99.9 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/shared) [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::() ; let actual = cur.remaining() ; [INFO] [stdout] ensure! (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: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] 95 | | computed: computed_checksum [INFO] [stdout] 96 | | } [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] [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::() ; let actual = cur.remaining() ; [INFO] [stdout] ensure! (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: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::() ; let actual = cur.remaining() ; [INFO] [stdout] ensure! (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::() ; let actual = cur.remaining() ; [INFO] [stdout] ensure! (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] 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`, `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] [stderr] Compiling glutin v0.20.1 [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gfx_window_glutin v0.30.0 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Compiling rodio v0.9.0 [INFO] [stderr] Compiling 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: 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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused imports: `Result`, `handshake::*`, `hexdump`, `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 `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] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | conn.send(Message::Disconnect).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | conn.send(Message::Move { dx: 1.0, dy: 0.0 }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | conn.send(Message::Move { dx: -1.0, dy: 0.0 }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/main.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | conn.send(Message::Move { dx: 0.0, dy: 1.0 }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/main.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | conn.send(Message::Move { dx: 0.0, dy: -1.0 }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 22s [INFO] running `Command { std: "docker" "inspect" "86a7951a208f6716b2d16775e535a20556c671134ef7a0180d5a3b7e25feba9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86a7951a208f6716b2d16775e535a20556c671134ef7a0180d5a3b7e25feba9e", kill_on_drop: false }` [INFO] [stdout] 86a7951a208f6716b2d16775e535a20556c671134ef7a0180d5a3b7e25feba9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 289f74018997637902d7adcdbe146087e984bc20e0d180155c04771462a2660a [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" "289f74018997637902d7adcdbe146087e984bc20e0d180155c04771462a2660a", kill_on_drop: false }` [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/shared) [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::() ; let actual = cur.remaining() ; [INFO] [stdout] ensure! (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: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] 95 | | computed: computed_checksum [INFO] [stdout] 96 | | } [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] [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::() ; let actual = cur.remaining() ; [INFO] [stdout] ensure! (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: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::() ; let actual = cur.remaining() ; [INFO] [stdout] ensure! (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::() ; let actual = cur.remaining() ; [INFO] [stdout] ensure! (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] 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`, `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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [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] 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::() ; let actual = cur.remaining() ; [INFO] [stdout] ensure! (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: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] 95 | | computed: computed_checksum [INFO] [stdout] 96 | | } [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] [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::() ; let actual = cur.remaining() ; [INFO] [stdout] ensure! (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: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::() ; let actual = cur.remaining() ; [INFO] [stdout] ensure! (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::() ; let actual = cur.remaining() ; [INFO] [stdout] ensure! (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] warning: unused imports: `ByteOrder`, `LittleEndian as LE`, `Reader`, `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: unused imports: `Result`, `handshake::*`, `hexdump`, `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: 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: 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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] [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] [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] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | conn.send(Message::Disconnect).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | conn.send(Message::Move { dx: 1.0, dy: 0.0 }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | conn.send(Message::Move { dx: -1.0, dy: 0.0 }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/main.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | conn.send(Message::Move { dx: 0.0, dy: 1.0 }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> client/src/main.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | conn.send(Message::Move { dx: 0.0, dy: -1.0 }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.60s [INFO] running `Command { std: "docker" "inspect" "289f74018997637902d7adcdbe146087e984bc20e0d180155c04771462a2660a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "289f74018997637902d7adcdbe146087e984bc20e0d180155c04771462a2660a", kill_on_drop: false }` [INFO] [stdout] 289f74018997637902d7adcdbe146087e984bc20e0d180155c04771462a2660a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dee6ccf39e247bca9bd2e7d9f4c3df04f17df38f82f13bec881e05ebe81e655e [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" "dee6ccf39e247bca9bd2e7d9f4c3df04f17df38f82f13bec881e05ebe81e655e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: trace_macro [INFO] [stderr] --> shared/src/packet.rs:85:30 [INFO] [stderr] | [INFO] [stderr] 85 | let message_length = read!(u32, cur)? as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expanding `read! { u32, cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] ensure_size! (std :: mem :: size_of :: < u32 > (), cur) ; paste :: expr! [INFO] [stderr] { Ok(cur.[< get_ u32 _be >] ()) } [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure_size! { std :: mem :: size_of :: < u32 > (), cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] let expected = std::mem::size_of::() ; let actual = cur.remaining() ; [INFO] [stderr] ensure! (actual >= expected, InvalidLength { expected, actual }) ; [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stderr] = note: to `if! actual >= expected { return InvalidLength{expected, actual,}.fail() ; }` [INFO] [stderr] = note: expanding `expr! { Ok(cur.[< get_ u32 _be >] ()) }` [INFO] [stderr] = note: to `{ [INFO] [stderr] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stderr] { Value = (stringify! { Ok(cur.[< get_ u32 _be >] ()) }, 0).1, } [INFO] [stderr] proc_macro_call! () [INFO] [stderr] }` [INFO] [stderr] = note: expanding `proc_macro_call! { }` [INFO] [stderr] = note: to `{ Ok(cur.get_u32_be()) }` [INFO] [stderr] [INFO] [stderr] note: trace_macro [INFO] [stderr] --> shared/src/packet.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | / ensure!( [INFO] [stderr] 92 | | received_checksum == computed_checksum, [INFO] [stderr] 93 | | InvalidChecksum { [INFO] [stderr] 94 | | received: received_checksum, [INFO] [stderr] 95 | | computed: computed_checksum [INFO] [stderr] 96 | | } [INFO] [stderr] 97 | | ); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: expanding `ensure! { received_checksum == computed_checksum, InvalidChecksum [INFO] [stderr] { received : received_checksum, computed : computed_checksum } }` [INFO] [stderr] = note: to `if! received_checksum == computed_checksum [INFO] [stderr] { [INFO] [stderr] return [INFO] [stderr] InvalidChecksum{received: received_checksum, computed: computed_checksum,}.fail() [INFO] [stderr] ; [INFO] [stderr] }` [INFO] [stderr] [INFO] [stderr] note: trace_macro [INFO] [stderr] --> shared/src/packet.rs:86:45 [INFO] [stderr] | [INFO] [stderr] 86 | let timestamp = Utc.timestamp_nanos(read!(i64, cur)?); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expanding `read! { i64, cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] ensure_size! (std :: mem :: size_of :: < i64 > (), cur) ; paste :: expr! [INFO] [stderr] { Ok(cur.[< get_ i64 _be >] ()) } [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure_size! { std :: mem :: size_of :: < i64 > (), cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] let expected = std::mem::size_of::() ; let actual = cur.remaining() ; [INFO] [stderr] ensure! (actual >= expected, InvalidLength { expected, actual }) ; [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stderr] = note: to `if! actual >= expected { return InvalidLength{expected, actual,}.fail() ; }` [INFO] [stderr] = note: expanding `expr! { Ok(cur.[< get_ i64 _be >] ()) }` [INFO] [stderr] = note: to `{ [INFO] [stderr] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stderr] { Value = (stringify! { Ok(cur.[< get_ i64 _be >] ()) }, 0).1, } [INFO] [stderr] proc_macro_call! () [INFO] [stderr] }` [INFO] [stderr] = note: expanding `proc_macro_call! { }` [INFO] [stderr] = note: to `{ Ok(cur.get_i64_be()) }` [INFO] [stderr] [INFO] [stderr] note: trace_macro [INFO] [stderr] --> shared/src/packet.rs:83:31 [INFO] [stderr] | [INFO] [stderr] 83 | let sequence_number = read!(u32, cur)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expanding `read! { u32, cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] ensure_size! (std :: mem :: size_of :: < u32 > (), cur) ; paste :: expr! [INFO] [stderr] { Ok(cur.[< get_ u32 _be >] ()) } [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure_size! { std :: mem :: size_of :: < u32 > (), cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] let expected = std::mem::size_of::() ; let actual = cur.remaining() ; [INFO] [stderr] ensure! (actual >= expected, InvalidLength { expected, actual }) ; [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stderr] = note: to `if! actual >= expected { return InvalidLength{expected, actual,}.fail() ; }` [INFO] [stderr] = note: expanding `expr! { Ok(cur.[< get_ u32 _be >] ()) }` [INFO] [stderr] = note: to `{ [INFO] [stderr] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stderr] { Value = (stringify! { Ok(cur.[< get_ u32 _be >] ()) }, 0).1, } [INFO] [stderr] proc_macro_call! () [INFO] [stderr] }` [INFO] [stderr] = note: expanding `proc_macro_call! { }` [INFO] [stderr] = note: to `{ Ok(cur.get_u32_be()) }` [INFO] [stderr] [INFO] [stderr] note: trace_macro [INFO] [stderr] --> shared/src/packet.rs:84:33 [INFO] [stderr] | [INFO] [stderr] 84 | let received_checksum = read!(u32, cur)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expanding `read! { u32, cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] ensure_size! (std :: mem :: size_of :: < u32 > (), cur) ; paste :: expr! [INFO] [stderr] { Ok(cur.[< get_ u32 _be >] ()) } [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure_size! { std :: mem :: size_of :: < u32 > (), cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] let expected = std::mem::size_of::() ; let actual = cur.remaining() ; [INFO] [stderr] ensure! (actual >= expected, InvalidLength { expected, actual }) ; [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stderr] = note: to `if! actual >= expected { return InvalidLength{expected, actual,}.fail() ; }` [INFO] [stderr] = note: expanding `expr! { Ok(cur.[< get_ u32 _be >] ()) }` [INFO] [stderr] = note: to `{ [INFO] [stderr] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stderr] { Value = (stringify! { Ok(cur.[< get_ u32 _be >] ()) }, 0).1, } [INFO] [stderr] proc_macro_call! () [INFO] [stderr] }` [INFO] [stderr] = note: expanding `proc_macro_call! { }` [INFO] [stderr] = note: to `{ Ok(cur.get_u32_be()) }` [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::hexdump` [INFO] [stderr] --> shared/src/packet.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::hexdump; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ByteOrder`, `LittleEndian as LE`, `Reader`, `Writer` [INFO] [stderr] --> shared/src/packet.rs:2:26 [INFO] [stderr] | [INFO] [stderr] 2 | use bytes::{Buf, BufMut, ByteOrder, Bytes, BytesMut, LittleEndian as LE, Reader, Writer}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `pretty_hex::*` [INFO] [stderr] --> shared/src/packet.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use pretty_hex::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> shared/src/packet.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::{Cursor, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ByteOrder`, `LittleEndian as LE`, `Reader`, `Writer` [INFO] [stderr] --> shared/src/packet.rs:2:26 [INFO] [stderr] | [INFO] [stderr] 2 | use bytes::{Buf, BufMut, ByteOrder, Bytes, BytesMut, LittleEndian as LE, Reader, Writer}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `shared` (lib) generated 4 warnings [INFO] [stderr] warning: `shared` (lib test) generated 2 warnings (1 duplicate) [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> server/src/main.rs:72:42 [INFO] [stderr] | [INFO] [stderr] 72 | state.broadcast(Message::Refresh({ positions })).await [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 72 - state.broadcast(Message::Refresh({ positions })).await [INFO] [stderr] 72 + state.broadcast(Message::Refresh(positions)).await [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> server/src/session.rs:52:21 [INFO] [stderr] | [INFO] [stderr] 52 | self.on_connect().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> server/src/session.rs:93:21 [INFO] [stderr] | [INFO] [stderr] 93 | / self.send(&Message::Handshake(HandshakeMessage::Success)) [INFO] [stderr] 94 | | .await; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> server/src/session.rs:100:21 [INFO] [stderr] | [INFO] [stderr] 100 | / self.send(&Message::Handshake(HandshakeMessage::Failure)) [INFO] [stderr] 101 | | .await; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `server` (bin "server" test) generated 4 warnings [INFO] [stderr] warning: unused imports: `Result`, `handshake::*`, `hexdump`, `packet::Packet` [INFO] [stderr] --> client/src/main.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | use shared::{handshake::*, hexdump, logging, packet::Packet, proto::*, Result}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `mem_take` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stderr] --> client/src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(mem_take)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> client/src/main.rs:161:5 [INFO] [stderr] | [INFO] [stderr] 161 | conn.send(Message::Disconnect).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> client/src/main.rs:166:9 [INFO] [stderr] | [INFO] [stderr] 166 | conn.send(Message::Move { dx: 1.0, dy: 0.0 }).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> client/src/main.rs:169:9 [INFO] [stderr] | [INFO] [stderr] 169 | conn.send(Message::Move { dx: -1.0, dy: 0.0 }).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> client/src/main.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 172 | conn.send(Message::Move { dx: 0.0, dy: 1.0 }).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> client/src/main.rs:175:9 [INFO] [stderr] | [INFO] [stderr] 175 | conn.send(Message::Move { dx: 0.0, dy: -1.0 }).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `client` (bin "client" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/client-7417b26be3721c9c) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/server-27ac4de632f96fd4) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/shared-be581c340d43a1b6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests shared [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test packet::tests::test_roundtrip_id ... ok [INFO] [stdout] test packet::tests::test_bad_input ... ok [INFO] [stdout] test packet::tests::test_write ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] note: trace_macro [INFO] [stderr] --> /opt/rustwide/workdir/shared/src/packet.rs:85:30 [INFO] [stderr] | [INFO] [stderr] 85 | let message_length = read!(u32, cur)? as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expanding `read! { u32, cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] ensure_size! (std :: mem :: size_of :: < u32 > (), cur) ; paste :: expr! [INFO] [stderr] { Ok(cur.[< get_ u32 _be >] ()) } [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure_size! { std :: mem :: size_of :: < u32 > (), cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] let expected = std::mem::size_of::() ; let actual = cur.remaining() ; [INFO] [stderr] ensure! (actual >= expected, InvalidLength { expected, actual }) ; [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stderr] = note: to `if! actual >= expected { return InvalidLength{expected, actual,}.fail() ; }` [INFO] [stderr] = note: expanding `expr! { Ok(cur.[< get_ u32 _be >] ()) }` [INFO] [stderr] = note: to `{ [INFO] [stderr] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stderr] { Value = (stringify! { Ok(cur.[< get_ u32 _be >] ()) }, 0).1, } [INFO] [stderr] proc_macro_call! () [INFO] [stderr] }` [INFO] [stderr] = note: expanding `proc_macro_call! { }` [INFO] [stderr] = note: to `{ Ok(cur.get_u32_be()) }` [INFO] [stderr] [INFO] [stderr] note: trace_macro [INFO] [stderr] --> /opt/rustwide/workdir/shared/src/packet.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | / ensure!( [INFO] [stderr] 92 | | received_checksum == computed_checksum, [INFO] [stderr] 93 | | InvalidChecksum { [INFO] [stderr] 94 | | received: received_checksum, [INFO] [stderr] 95 | | computed: computed_checksum [INFO] [stderr] 96 | | } [INFO] [stderr] 97 | | ); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: expanding `ensure! { received_checksum == computed_checksum, InvalidChecksum [INFO] [stderr] { received : received_checksum, computed : computed_checksum } }` [INFO] [stderr] = note: to `if! received_checksum == computed_checksum [INFO] [stderr] { [INFO] [stderr] return [INFO] [stderr] InvalidChecksum{received: received_checksum, computed: computed_checksum,}.fail() [INFO] [stderr] ; [INFO] [stderr] }` [INFO] [stderr] [INFO] [stderr] note: trace_macro [INFO] [stderr] --> /opt/rustwide/workdir/shared/src/packet.rs:86:45 [INFO] [stderr] | [INFO] [stderr] 86 | let timestamp = Utc.timestamp_nanos(read!(i64, cur)?); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expanding `read! { i64, cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] ensure_size! (std :: mem :: size_of :: < i64 > (), cur) ; paste :: expr! [INFO] [stderr] { Ok(cur.[< get_ i64 _be >] ()) } [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure_size! { std :: mem :: size_of :: < i64 > (), cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] let expected = std::mem::size_of::() ; let actual = cur.remaining() ; [INFO] [stderr] ensure! (actual >= expected, InvalidLength { expected, actual }) ; [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stderr] = note: to `if! actual >= expected { return InvalidLength{expected, actual,}.fail() ; }` [INFO] [stderr] = note: expanding `expr! { Ok(cur.[< get_ i64 _be >] ()) }` [INFO] [stderr] = note: to `{ [INFO] [stderr] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stderr] { Value = (stringify! { Ok(cur.[< get_ i64 _be >] ()) }, 0).1, } [INFO] [stderr] proc_macro_call! () [INFO] [stderr] }` [INFO] [stderr] = note: expanding `proc_macro_call! { }` [INFO] [stderr] = note: to `{ Ok(cur.get_i64_be()) }` [INFO] [stderr] [INFO] [stderr] note: trace_macro [INFO] [stderr] --> /opt/rustwide/workdir/shared/src/packet.rs:83:31 [INFO] [stderr] | [INFO] [stderr] 83 | let sequence_number = read!(u32, cur)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expanding `read! { u32, cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] ensure_size! (std :: mem :: size_of :: < u32 > (), cur) ; paste :: expr! [INFO] [stderr] { Ok(cur.[< get_ u32 _be >] ()) } [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure_size! { std :: mem :: size_of :: < u32 > (), cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] let expected = std::mem::size_of::() ; let actual = cur.remaining() ; [INFO] [stderr] ensure! (actual >= expected, InvalidLength { expected, actual }) ; [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stderr] = note: to `if! actual >= expected { return InvalidLength{expected, actual,}.fail() ; }` [INFO] [stderr] = note: expanding `expr! { Ok(cur.[< get_ u32 _be >] ()) }` [INFO] [stderr] = note: to `{ [INFO] [stderr] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stderr] { Value = (stringify! { Ok(cur.[< get_ u32 _be >] ()) }, 0).1, } [INFO] [stderr] proc_macro_call! () [INFO] [stderr] }` [INFO] [stderr] = note: expanding `proc_macro_call! { }` [INFO] [stderr] = note: to `{ Ok(cur.get_u32_be()) }` [INFO] [stderr] [INFO] [stderr] note: trace_macro [INFO] [stderr] --> /opt/rustwide/workdir/shared/src/packet.rs:84:33 [INFO] [stderr] | [INFO] [stderr] 84 | let received_checksum = read!(u32, cur)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expanding `read! { u32, cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] ensure_size! (std :: mem :: size_of :: < u32 > (), cur) ; paste :: expr! [INFO] [stderr] { Ok(cur.[< get_ u32 _be >] ()) } [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure_size! { std :: mem :: size_of :: < u32 > (), cur }` [INFO] [stderr] = note: to `{ [INFO] [stderr] let expected = std::mem::size_of::() ; let actual = cur.remaining() ; [INFO] [stderr] ensure! (actual >= expected, InvalidLength { expected, actual }) ; [INFO] [stderr] }` [INFO] [stderr] = note: expanding `ensure! { actual >= expected, InvalidLength { expected, actual } }` [INFO] [stderr] = note: to `if! actual >= expected { return InvalidLength{expected, actual,}.fail() ; }` [INFO] [stderr] = note: expanding `expr! { Ok(cur.[< get_ u32 _be >] ()) }` [INFO] [stderr] = note: to `{ [INFO] [stderr] #[derive($crate :: proc_macro_hack_expr)] enum ProcMacroHack [INFO] [stderr] { Value = (stringify! { Ok(cur.[< get_ u32 _be >] ()) }, 0).1, } [INFO] [stderr] proc_macro_call! () [INFO] [stderr] }` [INFO] [stderr] = note: expanding `proc_macro_call! { }` [INFO] [stderr] = note: to `{ Ok(cur.get_u32_be()) }` [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dee6ccf39e247bca9bd2e7d9f4c3df04f17df38f82f13bec881e05ebe81e655e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dee6ccf39e247bca9bd2e7d9f4c3df04f17df38f82f13bec881e05ebe81e655e", kill_on_drop: false }` [INFO] [stdout] dee6ccf39e247bca9bd2e7d9f4c3df04f17df38f82f13bec881e05ebe81e655e