[INFO] cloning repository https://github.com/chrisheib/settlers_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrisheib/settlers_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisheib%2Fsettlers_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisheib%2Fsettlers_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86fb55c0ca5c830aafc79f42638edfa5ef399f8f [INFO] building chrisheib/settlers_rs against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisheib%2Fsettlers_rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrisheib/settlers_rs on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chrisheib/settlers_rs [INFO] finished tweaking git repo https://github.com/chrisheib/settlers_rs [INFO] tweaked toml for git repo https://github.com/chrisheib/settlers_rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chrisheib/settlers_rs 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c18bf212b42c709513ca0eb8d4eb70d0dd68bfea31570be0c0d20ea038818785 [INFO] running `Command { std: "docker" "start" "-a" "c18bf212b42c709513ca0eb8d4eb70d0dd68bfea31570be0c0d20ea038818785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c18bf212b42c709513ca0eb8d4eb70d0dd68bfea31570be0c0d20ea038818785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c18bf212b42c709513ca0eb8d4eb70d0dd68bfea31570be0c0d20ea038818785", kill_on_drop: false }` [INFO] [stdout] c18bf212b42c709513ca0eb8d4eb70d0dd68bfea31570be0c0d20ea038818785 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e7866ec4e6b0ed53c6e394dc0db83bc665665e76efdcaad12eb030df6c5aa31 [INFO] running `Command { std: "docker" "start" "-a" "3e7866ec4e6b0ed53c6e394dc0db83bc665665e76efdcaad12eb030df6c5aa31", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling ash v0.31.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling gfx-hal v0.5.3 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling gfx-descriptor v0.1.0 [INFO] [stderr] Compiling gfx-backend-empty v0.5.2 [INFO] [stderr] Compiling gfx-memory v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling lyon_geom v0.12.7 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling sid v0.5.2 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling lyon_path v0.13.2 [INFO] [stderr] Compiling coffee v0.4.1 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling gilrs-core v0.2.6 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling lyon_tessellation v0.13.5 [INFO] [stderr] Compiling stretch v0.2.2 [INFO] [stderr] Compiling image v0.21.3 [INFO] [stderr] Compiling gilrs v0.7.4 [INFO] [stderr] Compiling gfx-backend-vulkan v0.5.11 [INFO] [stderr] Compiling peek-poke-derive v0.2.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling peek-poke v0.2.0 [INFO] [stderr] Compiling wgpu-types v0.5.1 [INFO] [stderr] Compiling zerocopy v0.3.0 [INFO] [stderr] Compiling wgpu-core v0.5.6 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling wgpu-native v0.5.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling wgpu v0.5.2 [INFO] [stderr] Compiling wgpu_glyph v0.8.0 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling settlers_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Rectangle` [INFO] [stdout] --> src/types/hextile.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use coffee::graphics::{Color, Point, Rectangle, Shape::Polyline}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align`, `Button`, `HorizontalAlignment`, `Justify`, `Text`, `VerticalAlignment`, and `self` [INFO] [stdout] --> src/main.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | self, Color, Frame, HorizontalAlignment, Mesh, VerticalAlignment, Window, WindowSettings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | ui::{self, button, Align, Button, Column, Element, Justify, Renderer, Text, UserInterface}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | fn layout(&mut self, window: &Window) -> Element { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `image`, `increment_button`, `decrement_button`, `last_update`, and `interval` are never read [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct MyGame { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 40 | // Your game state and assets go here... [INFO] [stdout] 41 | image: graphics::Image, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | value: i32, [INFO] [stdout] 43 | increment_button: button::State, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | decrement_button: button::State, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | map: Map, [INFO] [stdout] 46 | last_update: time::Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | interval: time::Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | fn layout(&mut self, window: &Window) -> Element { [INFO] [stdout] | ^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 213 | fn layout(&mut self, window: &Window) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.17s [INFO] running `Command { std: "docker" "inspect" "3e7866ec4e6b0ed53c6e394dc0db83bc665665e76efdcaad12eb030df6c5aa31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e7866ec4e6b0ed53c6e394dc0db83bc665665e76efdcaad12eb030df6c5aa31", kill_on_drop: false }` [INFO] [stdout] 3e7866ec4e6b0ed53c6e394dc0db83bc665665e76efdcaad12eb030df6c5aa31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8152b453969a2d95b087abf0961799977c727268d893324df6fab6fffdbb6b3 [INFO] running `Command { std: "docker" "start" "-a" "a8152b453969a2d95b087abf0961799977c727268d893324df6fab6fffdbb6b3", kill_on_drop: false }` [INFO] [stderr] Compiling settlers_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Rectangle` [INFO] [stdout] --> src/types/hextile.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use coffee::graphics::{Color, Point, Rectangle, Shape::Polyline}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align`, `Button`, `HorizontalAlignment`, `Justify`, `Text`, `VerticalAlignment`, and `self` [INFO] [stdout] --> src/main.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | self, Color, Frame, HorizontalAlignment, Mesh, VerticalAlignment, Window, WindowSettings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | ui::{self, button, Align, Button, Column, Element, Justify, Renderer, Text, UserInterface}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | fn layout(&mut self, window: &Window) -> Element { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `image`, `increment_button`, `decrement_button`, `last_update`, and `interval` are never read [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct MyGame { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 40 | // Your game state and assets go here... [INFO] [stdout] 41 | image: graphics::Image, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | value: i32, [INFO] [stdout] 43 | increment_button: button::State, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | decrement_button: button::State, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | map: Map, [INFO] [stdout] 46 | last_update: time::Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | interval: time::Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | fn layout(&mut self, window: &Window) -> Element { [INFO] [stdout] | ^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 213 | fn layout(&mut self, window: &Window) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "a8152b453969a2d95b087abf0961799977c727268d893324df6fab6fffdbb6b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8152b453969a2d95b087abf0961799977c727268d893324df6fab6fffdbb6b3", kill_on_drop: false }` [INFO] [stdout] a8152b453969a2d95b087abf0961799977c727268d893324df6fab6fffdbb6b3