[INFO] cloning repository https://github.com/Panadero1/sonar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Panadero1/sonar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPanadero1%2Fsonar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPanadero1%2Fsonar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 346f7d21b320d9e9a1638a22d6e21b62824ad5b3 [INFO] testing Panadero1/sonar against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPanadero1%2Fsonar" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Panadero1/sonar on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Panadero1/sonar [INFO] finished tweaking git repo https://github.com/Panadero1/sonar [INFO] tweaked toml for git repo https://github.com/Panadero1/sonar written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Panadero1/sonar 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inventory v0.2.2 [INFO] [stderr] Downloaded speedy2d v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ecb524feb282d777f2e5eca4cd5afa31bbcce3f02e233e8c01c6645dac5d721 [INFO] running `Command { std: "docker" "start" "-a" "7ecb524feb282d777f2e5eca4cd5afa31bbcce3f02e233e8c01c6645dac5d721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ecb524feb282d777f2e5eca4cd5afa31bbcce3f02e233e8c01c6645dac5d721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ecb524feb282d777f2e5eca4cd5afa31bbcce3f02e233e8c01c6645dac5d721", kill_on_drop: false }` [INFO] [stdout] 7ecb524feb282d777f2e5eca4cd5afa31bbcce3f02e233e8c01c6645dac5d721 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7557341ea415e0e7958af64a58bbd522e96b69738dc2f4f77993e5c9b6ad8260 [INFO] running `Command { std: "docker" "start" "-a" "7557341ea415e0e7958af64a58bbd522e96b69738dc2f4f77993e5c9b6ad8260", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/bin/rustc --crate-name syn --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.86/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=6a729423b5b73a8b -C extra-filename=-6a729423b5b73a8b --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-8a5992ae835b609d.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-370e359eb93e0d9a.rmeta --extern unicode_xid=/opt/rustwide/target/debug/deps/libunicode_xid-aaa3863a121c329e.rmeta --cap-lints allow --cap-lints=forbid -Copt-level=3` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7557341ea415e0e7958af64a58bbd522e96b69738dc2f4f77993e5c9b6ad8260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7557341ea415e0e7958af64a58bbd522e96b69738dc2f4f77993e5c9b6ad8260", kill_on_drop: false }` [INFO] [stdout] 7557341ea415e0e7958af64a58bbd522e96b69738dc2f4f77993e5c9b6ad8260 [INFO] testing Panadero1/sonar against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPanadero1%2Fsonar" "/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/Panadero1/sonar on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Panadero1/sonar [INFO] finished tweaking git repo https://github.com/Panadero1/sonar [INFO] tweaked toml for git repo https://github.com/Panadero1/sonar written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Panadero1/sonar 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fec8b42ea5eb58721454bd004f9a079fdb5e6fd045874503f9f634e7f2da58a9 [INFO] running `Command { std: "docker" "start" "-a" "fec8b42ea5eb58721454bd004f9a079fdb5e6fd045874503f9f634e7f2da58a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fec8b42ea5eb58721454bd004f9a079fdb5e6fd045874503f9f634e7f2da58a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec8b42ea5eb58721454bd004f9a079fdb5e6fd045874503f9f634e7f2da58a9", kill_on_drop: false }` [INFO] [stdout] fec8b42ea5eb58721454bd004f9a079fdb5e6fd045874503f9f634e7f2da58a9 [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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1252dd4b6a770eee3b352b7e7974aa250559f2fd8ae3a0ba1f62abc8002427c0 [INFO] running `Command { std: "docker" "start" "-a" "1252dd4b6a770eee3b352b7e7974aa250559f2fd8ae3a0ba1f62abc8002427c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling earcutr v0.2.0 [INFO] [stderr] Compiling glow v0.7.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling typetag-impl v0.1.8 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling inventory v0.2.2 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling speedy2d v1.5.0 [INFO] [stderr] Compiling typetag v0.1.8 [INFO] [stderr] Compiling wonderfill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `thread`, `time::Duration` [INFO] [stdout] --> src/world/data.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VIEW_DIST` [INFO] [stdout] --> src/world/tile/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | VIEW_DIST, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostOperation` [INFO] [stdout] --> src/world/tile/beehive.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | GamePos, PostOperation, Tile, Direction, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:303:34 [INFO] [stdout] | [INFO] [stdout] 303 | MouseButton::Left => (!MOUSE_LEFT), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 303 - MouseButton::Left => (!MOUSE_LEFT), [INFO] [stdout] 303 + MouseButton::Left => !MOUSE_LEFT, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:304:35 [INFO] [stdout] | [INFO] [stdout] 304 | MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stdout] 304 + MouseButton::Right => !MOUSE_RIGHT, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:305:36 [INFO] [stdout] | [INFO] [stdout] 305 | MouseButton::Middle => (!MOUSE_MID), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 305 - MouseButton::Middle => (!MOUSE_MID), [INFO] [stdout] 305 + MouseButton::Middle => !MOUSE_MID, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:306:38 [INFO] [stdout] | [INFO] [stdout] 306 | MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 306 - MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stdout] 306 + MouseButton::Other(_) => !MOUSE_OTHER, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/options.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/draw/screen/options.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/draw/screen/options.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/options.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/options.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | for (name, button) in self.buttons.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/draw/screen/options.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | fn on_user_event(&mut self, helper: &mut WindowHelper, user_event: String) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/options.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/title.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/draw/screen/title.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/draw/screen/title.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/title.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/title.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | for (name, button) in self.buttons.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/draw/screen/title.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/title.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/world/entity/player.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | fn create(&self, pos: GamePos, _direction: Direction) -> Box { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/player.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/world/entity/player.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/world/entity/utility.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | .with_custom(move |w, p| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> src/world/entity/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn update_anim(&mut self, clock: &Clock) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/mod.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_entity_enter(&mut self, move_pos: GamePos, index: usize) -> PostOperation { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/world/entity/mod.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_entity_enter(&mut self, move_pos: GamePos, index: usize) -> PostOperation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/mod.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos){} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/world/entity/mod.rs:74:62 [INFO] [stdout] | [INFO] [stdout] 74 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos){} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:43:77 [INFO] [stdout] | [INFO] [stdout] 43 | fn draw(&mut self, graphics: &mut Graphics2D, manager: &mut ImgManager, camera: &Camera) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | fn key_down(&mut self, key: &VirtualKeyCode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn key_up(&mut self, key: &VirtualKeyCode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_pos` [INFO] [stdout] --> src/world/operation.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | entity_pos: GamePos, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "1252dd4b6a770eee3b352b7e7974aa250559f2fd8ae3a0ba1f62abc8002427c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1252dd4b6a770eee3b352b7e7974aa250559f2fd8ae3a0ba1f62abc8002427c0", kill_on_drop: false }` [INFO] [stdout] 1252dd4b6a770eee3b352b7e7974aa250559f2fd8ae3a0ba1f62abc8002427c0 [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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1373af366f860918abfd59e88d8a1203c798388d83f0444cf7049c9ddde39cc5 [INFO] running `Command { std: "docker" "start" "-a" "1373af366f860918abfd59e88d8a1203c798388d83f0444cf7049c9ddde39cc5", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `thread`, `time::Duration` [INFO] [stdout] --> src/world/data.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VIEW_DIST` [INFO] [stdout] --> src/world/tile/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | VIEW_DIST, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostOperation` [INFO] [stdout] --> src/world/tile/beehive.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | GamePos, PostOperation, Tile, Direction, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:303:34 [INFO] [stdout] | [INFO] [stdout] 303 | MouseButton::Left => (!MOUSE_LEFT), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 303 - MouseButton::Left => (!MOUSE_LEFT), [INFO] [stdout] 303 + MouseButton::Left => !MOUSE_LEFT, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:304:35 [INFO] [stdout] | [INFO] [stdout] 304 | MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stdout] 304 + MouseButton::Right => !MOUSE_RIGHT, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:305:36 [INFO] [stdout] | [INFO] [stdout] 305 | MouseButton::Middle => (!MOUSE_MID), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 305 - MouseButton::Middle => (!MOUSE_MID), [INFO] [stdout] 305 + MouseButton::Middle => !MOUSE_MID, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:306:38 [INFO] [stdout] | [INFO] [stdout] 306 | MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 306 - MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stdout] 306 + MouseButton::Other(_) => !MOUSE_OTHER, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/options.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/draw/screen/options.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/draw/screen/options.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/options.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/options.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | for (name, button) in self.buttons.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/draw/screen/options.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | fn on_user_event(&mut self, helper: &mut WindowHelper, user_event: String) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/options.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/title.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/draw/screen/title.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/draw/screen/title.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/title.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/title.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | for (name, button) in self.buttons.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/draw/screen/title.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/title.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/world/entity/player.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | fn create(&self, pos: GamePos, _direction: Direction) -> Box { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/player.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/world/entity/player.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/world/entity/utility.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | .with_custom(move |w, p| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> src/world/entity/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn update_anim(&mut self, clock: &Clock) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/mod.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_entity_enter(&mut self, move_pos: GamePos, index: usize) -> PostOperation { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/world/entity/mod.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_entity_enter(&mut self, move_pos: GamePos, index: usize) -> PostOperation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/mod.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos){} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/world/entity/mod.rs:74:62 [INFO] [stdout] | [INFO] [stdout] 74 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos){} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:43:77 [INFO] [stdout] | [INFO] [stdout] 43 | fn draw(&mut self, graphics: &mut Graphics2D, manager: &mut ImgManager, camera: &Camera) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | fn key_down(&mut self, key: &VirtualKeyCode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn key_up(&mut self, key: &VirtualKeyCode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_pos` [INFO] [stdout] --> src/world/operation.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | entity_pos: GamePos, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wonderfill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time::Duration` [INFO] [stdout] --> src/world/data.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VIEW_DIST` [INFO] [stdout] --> src/world/tile/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | VIEW_DIST, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostOperation` [INFO] [stdout] --> src/world/tile/beehive.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | GamePos, PostOperation, Tile, Direction, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:303:34 [INFO] [stdout] | [INFO] [stdout] 303 | MouseButton::Left => (!MOUSE_LEFT), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 303 - MouseButton::Left => (!MOUSE_LEFT), [INFO] [stdout] 303 + MouseButton::Left => !MOUSE_LEFT, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:304:35 [INFO] [stdout] | [INFO] [stdout] 304 | MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stdout] 304 + MouseButton::Right => !MOUSE_RIGHT, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:305:36 [INFO] [stdout] | [INFO] [stdout] 305 | MouseButton::Middle => (!MOUSE_MID), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 305 - MouseButton::Middle => (!MOUSE_MID), [INFO] [stdout] 305 + MouseButton::Middle => !MOUSE_MID, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:306:38 [INFO] [stdout] | [INFO] [stdout] 306 | MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 306 - MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stdout] 306 + MouseButton::Other(_) => !MOUSE_OTHER, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/options.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/draw/screen/options.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/draw/screen/options.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/options.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/options.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | for (name, button) in self.buttons.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/draw/screen/options.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | fn on_user_event(&mut self, helper: &mut WindowHelper, user_event: String) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/options.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/title.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/draw/screen/title.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/draw/screen/title.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/title.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/title.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | for (name, button) in self.buttons.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/draw/screen/title.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/title.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/world/entity/player.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | fn create(&self, pos: GamePos, _direction: Direction) -> Box { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/player.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/world/entity/player.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/world/entity/utility.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | .with_custom(move |w, p| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> src/world/entity/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn update_anim(&mut self, clock: &Clock) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/mod.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_entity_enter(&mut self, move_pos: GamePos, index: usize) -> PostOperation { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/world/entity/mod.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_entity_enter(&mut self, move_pos: GamePos, index: usize) -> PostOperation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/mod.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos){} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/world/entity/mod.rs:74:62 [INFO] [stdout] | [INFO] [stdout] 74 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos){} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:43:77 [INFO] [stdout] | [INFO] [stdout] 43 | fn draw(&mut self, graphics: &mut Graphics2D, manager: &mut ImgManager, camera: &Camera) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | fn key_down(&mut self, key: &VirtualKeyCode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn key_up(&mut self, key: &VirtualKeyCode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_pos` [INFO] [stdout] --> src/world/operation.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | entity_pos: GamePos, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.09s [INFO] running `Command { std: "docker" "inspect" "1373af366f860918abfd59e88d8a1203c798388d83f0444cf7049c9ddde39cc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1373af366f860918abfd59e88d8a1203c798388d83f0444cf7049c9ddde39cc5", kill_on_drop: false }` [INFO] [stdout] 1373af366f860918abfd59e88d8a1203c798388d83f0444cf7049c9ddde39cc5 [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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d2643b145ddcba532e90ec17718a3f43035d1ed548d01307ff4d092a790b7c32 [INFO] running `Command { std: "docker" "start" "-a" "d2643b145ddcba532e90ec17718a3f43035d1ed548d01307ff4d092a790b7c32", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `thread`, `time::Duration` [INFO] [stderr] --> src/world/data.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | thread, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 8 | time::Duration, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `VIEW_DIST` [INFO] [stderr] --> src/world/tile/mod.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | VIEW_DIST, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PostOperation` [INFO] [stderr] --> src/world/tile/beehive.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | GamePos, PostOperation, Tile, Direction, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/world/mod.rs:303:34 [INFO] [stderr] | [INFO] [stderr] 303 | MouseButton::Left => (!MOUSE_LEFT), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 303 - MouseButton::Left => (!MOUSE_LEFT), [INFO] [stderr] 303 + MouseButton::Left => !MOUSE_LEFT, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/world/mod.rs:304:35 [INFO] [stderr] | [INFO] [stderr] 304 | MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 304 - MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stderr] 304 + MouseButton::Right => !MOUSE_RIGHT, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/world/mod.rs:305:36 [INFO] [stderr] | [INFO] [stderr] 305 | MouseButton::Middle => (!MOUSE_MID), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 305 - MouseButton::Middle => (!MOUSE_MID), [INFO] [stderr] 305 + MouseButton::Middle => !MOUSE_MID, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/world/mod.rs:306:38 [INFO] [stderr] | [INFO] [stderr] 306 | MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 306 - MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stderr] 306 + MouseButton::Other(_) => !MOUSE_OTHER, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/draw/screen/options.rs:28:14 [INFO] [stderr] | [INFO] [stderr] 28 | for (name, button) in self.buttons.iter() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/draw/screen/options.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scancode` [INFO] [stderr] --> src/draw/screen/options.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | scancode: speedy2d::window::KeyScancode, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/draw/screen/options.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/draw/screen/options.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | button: speedy2d::window::MouseButton, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/draw/screen/options.rs:53:40 [INFO] [stderr] | [INFO] [stderr] 53 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `center` [INFO] [stderr] --> src/draw/screen/options.rs:73:13 [INFO] [stderr] | [INFO] [stderr] 73 | let center = (res.0 / 2, res.1 / 2); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/draw/screen/options.rs:74:14 [INFO] [stderr] | [INFO] [stderr] 74 | for (name, button) in self.buttons.iter_mut() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/draw/screen/options.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/draw/screen/options.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/draw/screen/options.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | info: speedy2d::window::WindowStartupInfo, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/draw/screen/options.rs:88:33 [INFO] [stderr] | [INFO] [stderr] 88 | fn on_user_event(&mut self, helper: &mut WindowHelper, user_event: String) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/draw/screen/options.rs:105:24 [INFO] [stderr] | [INFO] [stderr] 105 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `center` [INFO] [stderr] --> src/draw/screen/options.rs:116:13 [INFO] [stderr] | [INFO] [stderr] 116 | let center = (res.0 / 2, res.1 / 2); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/draw/screen/title.rs:28:14 [INFO] [stderr] | [INFO] [stderr] 28 | for (name, button) in self.buttons.iter() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/draw/screen/title.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scancode` [INFO] [stderr] --> src/draw/screen/title.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | scancode: speedy2d::window::KeyScancode, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/draw/screen/title.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/draw/screen/title.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | button: speedy2d::window::MouseButton, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/draw/screen/title.rs:51:40 [INFO] [stderr] | [INFO] [stderr] 51 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `center` [INFO] [stderr] --> src/draw/screen/title.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | let center = (res.0 / 2, res.1 / 2); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/draw/screen/title.rs:72:14 [INFO] [stderr] | [INFO] [stderr] 72 | for (name, button) in self.buttons.iter_mut() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/draw/screen/title.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/draw/screen/title.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/draw/screen/title.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | info: speedy2d::window::WindowStartupInfo, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/draw/screen/title.rs:113:24 [INFO] [stderr] | [INFO] [stderr] 113 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `center` [INFO] [stderr] --> src/draw/screen/title.rs:124:13 [INFO] [stderr] | [INFO] [stderr] 124 | let center = (res.0 / 2, res.1 / 2); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/world/entity/player.rs:46:22 [INFO] [stderr] | [INFO] [stderr] 46 | fn create(&self, pos: GamePos, _direction: Direction) -> Box { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `move_pos` [INFO] [stderr] --> src/world/entity/player.rs:80:33 [INFO] [stderr] | [INFO] [stderr] 80 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player_pos` [INFO] [stderr] --> src/world/entity/player.rs:80:62 [INFO] [stderr] | [INFO] [stderr] 80 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/world/entity/utility.rs:47:35 [INFO] [stderr] | [INFO] [stderr] 47 | .with_custom(move |w, p| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `clock` [INFO] [stderr] --> src/world/entity/mod.rs:61:31 [INFO] [stderr] | [INFO] [stderr] 61 | fn update_anim(&mut self, clock: &Clock) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `move_pos` [INFO] [stderr] --> src/world/entity/mod.rs:67:35 [INFO] [stderr] | [INFO] [stderr] 67 | fn on_entity_enter(&mut self, move_pos: GamePos, index: usize) -> PostOperation { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/world/entity/mod.rs:67:54 [INFO] [stderr] | [INFO] [stderr] 67 | fn on_entity_enter(&mut self, move_pos: GamePos, index: usize) -> PostOperation { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `move_pos` [INFO] [stderr] --> src/world/entity/mod.rs:74:33 [INFO] [stderr] | [INFO] [stderr] 74 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos){} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player_pos` [INFO] [stderr] --> src/world/entity/mod.rs:74:62 [INFO] [stderr] | [INFO] [stderr] 74 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos){} [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `camera` [INFO] [stderr] --> src/world/minigame/smiley_win.rs:43:77 [INFO] [stderr] | [INFO] [stderr] 43 | fn draw(&mut self, graphics: &mut Graphics2D, manager: &mut ImgManager, camera: &Camera) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/world/minigame/smiley_win.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | fn key_down(&mut self, key: &VirtualKeyCode) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/world/minigame/smiley_win.rs:54:26 [INFO] [stderr] | [INFO] [stderr] 54 | fn key_up(&mut self, key: &VirtualKeyCode) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entity_pos` [INFO] [stderr] --> src/world/operation.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | entity_pos: GamePos, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_pos` [INFO] [stderr] [INFO] [stderr] warning: `wonderfill` (lib) generated 47 warnings (run `cargo fix --lib -p wonderfill` to apply 7 suggestions) [INFO] [stderr] warning: `wonderfill` (lib test) generated 47 warnings (47 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wonderfill-b557a2e0dceef635) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wonderfill-8a43531c3c9a9ef5) [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 wonderfill [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/world/mod.rs:303:34 [INFO] [stderr] | [INFO] [stderr] 303 | MouseButton::Left => (!MOUSE_LEFT), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 303 - MouseButton::Left => (!MOUSE_LEFT), [INFO] [stderr] 303 + MouseButton::Left => !MOUSE_LEFT, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/world/mod.rs:304:35 [INFO] [stderr] | [INFO] [stderr] 304 | MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 304 - MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stderr] 304 + MouseButton::Right => !MOUSE_RIGHT, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/world/mod.rs:305:36 [INFO] [stderr] | [INFO] [stderr] 305 | MouseButton::Middle => (!MOUSE_MID), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 305 - MouseButton::Middle => (!MOUSE_MID), [INFO] [stderr] 305 + MouseButton::Middle => !MOUSE_MID, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/world/mod.rs:306:38 [INFO] [stderr] | [INFO] [stderr] 306 | MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 306 - MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stderr] 306 + MouseButton::Other(_) => !MOUSE_OTHER, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [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" "d2643b145ddcba532e90ec17718a3f43035d1ed548d01307ff4d092a790b7c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2643b145ddcba532e90ec17718a3f43035d1ed548d01307ff4d092a790b7c32", kill_on_drop: false }` [INFO] [stdout] d2643b145ddcba532e90ec17718a3f43035d1ed548d01307ff4d092a790b7c32