[INFO] cloning repository https://github.com/esctabcapslock/Pickpick [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/esctabcapslock/Pickpick" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesctabcapslock%2FPickpick", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesctabcapslock%2FPickpick'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc44ec697ef0eef49b6ab1418bae4d6437f8f3b2 [INFO] testing esctabcapslock/Pickpick against master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesctabcapslock%2FPickpick" "/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/esctabcapslock/Pickpick on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/esctabcapslock/Pickpick [INFO] finished tweaking git repo https://github.com/esctabcapslock/Pickpick [INFO] tweaked toml for git repo https://github.com/esctabcapslock/Pickpick written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/esctabcapslock/Pickpick 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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iced_futures v0.4.0 [INFO] [stderr] Downloaded iced_core v0.5.0 [INFO] [stderr] Downloaded iced_winit v0.4.0 [INFO] [stderr] Downloaded iced_wgpu v0.5.0 [INFO] [stderr] Downloaded iced_style v0.4.0 [INFO] [stderr] Downloaded iced_graphics v0.3.0 [INFO] [stderr] Downloaded wgpu_glyph v0.16.0 [INFO] [stderr] Downloaded iced_native v0.5.0 [INFO] [stderr] Downloaded iced v0.4.2 [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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db579e3afefcd99140664aae32451bb3ad31a956e2c216a1fe2177ce4977e1a1 [INFO] running `Command { std: "docker" "start" "-a" "db579e3afefcd99140664aae32451bb3ad31a956e2c216a1fe2177ce4977e1a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db579e3afefcd99140664aae32451bb3ad31a956e2c216a1fe2177ce4977e1a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db579e3afefcd99140664aae32451bb3ad31a956e2c216a1fe2177ce4977e1a1", kill_on_drop: false }` [INFO] [stdout] db579e3afefcd99140664aae32451bb3ad31a956e2c216a1fe2177ce4977e1a1 [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" "-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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 814d130e005e7c05a0eb4a8c7da7fd3e602e8971ad1a77abee783f1380ee5d63 [INFO] running `Command { std: "docker" "start" "-a" "814d130e005e7c05a0eb4a8c7da7fd3e602e8971ad1a77abee783f1380ee5d63", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling ttf-parser v0.15.0 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling iced_core v0.5.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling profiling v1.0.6 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling euclid v0.22.7 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling lyon_geom v0.17.6 [INFO] [stderr] Compiling sid v0.6.1 [INFO] [stderr] Compiling owned_ttf_parser v0.15.0 [INFO] [stderr] Compiling float_next_after v0.1.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling ab_glyph v0.2.15 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling lyon_path v0.17.7 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling iced_style v0.4.0 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling lyon_algorithms v0.17.7 [INFO] [stderr] Compiling lyon_tessellation v0.17.10 [INFO] [stderr] Compiling ordered-float v3.0.0 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling mutate_once v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling kamadak-exif v0.5.4 [INFO] [stderr] Compiling lyon v0.17.10 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling x11rb v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling bytemuck_derive v1.1.0 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Compiling glyph_brush v0.7.4 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling naga v0.8.5 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling winres v0.1.12 [INFO] [stderr] Compiling pickpick v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling iced_futures v0.4.0 [INFO] [stderr] Compiling clipboard_x11 v0.4.0 [INFO] [stderr] Compiling iced_native v0.5.0 [INFO] [stderr] Compiling wgpu-hal v0.12.5 [INFO] [stderr] Compiling iced_graphics v0.3.0 [INFO] [stderr] Compiling smithay-clipboard v0.6.5 [INFO] [stderr] Compiling clipboard_wayland v0.2.0 [INFO] [stderr] Compiling window_clipboard v0.2.3 [INFO] [stderr] Compiling wgpu v0.12.0 [INFO] [stderr] Compiling iced_winit v0.4.0 [INFO] [stderr] Compiling wgpu_glyph v0.16.0 [INFO] [stderr] Compiling iced_wgpu v0.5.0 [INFO] [stderr] Compiling iced v0.4.2 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | let mut s = Servertime::new(*addr, host); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:1326:73 [INFO] [stdout] | [INFO] [stdout] 1326 | let c = Path::circle(Point { x: 128., y: 50. }, map((((k%100) as f32)/100.),20.,40.)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1326 - let c = Path::circle(Point { x: 128., y: 50. }, map((((k%100) as f32)/100.),20.,40.)); [INFO] [stdout] 1326 + let c = Path::circle(Point { x: 128., y: 50. }, map(((k%100) as f32)/100.,20.,40.)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tour = Tour { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | if let Some(mut servertime) = self.servertime.servertime.take(){ [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds` [INFO] [stdout] --> src/main.rs:1303:24 [INFO] [stdout] | [INFO] [stdout] 1303 | fn draw(&self, bounds: iced::Rectangle, _cursor: canvas::Cursor) -> Vec{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Secondary` is never constructed [INFO] [stdout] --> src/main.rs:1227:9 [INFO] [stdout] | [INFO] [stdout] 1225 | pub enum Button { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 1226 | Primary, [INFO] [stdout] 1227 | Secondary, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | self.servertime.set_server(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 130 | let _ = self.servertime.set_server(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.10s [INFO] running `Command { std: "docker" "inspect" "814d130e005e7c05a0eb4a8c7da7fd3e602e8971ad1a77abee783f1380ee5d63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "814d130e005e7c05a0eb4a8c7da7fd3e602e8971ad1a77abee783f1380ee5d63", kill_on_drop: false }` [INFO] [stdout] 814d130e005e7c05a0eb4a8c7da7fd3e602e8971ad1a77abee783f1380ee5d63 [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" "-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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a21e608b90771a678e215e5232de07389b20bc6a91e8ad33d89ecbe9ad41de0f [INFO] running `Command { std: "docker" "start" "-a" "a21e608b90771a678e215e5232de07389b20bc6a91e8ad33d89ecbe9ad41de0f", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | let mut s = Servertime::new(*addr, host); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pickpick v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | let mut s = Servertime::new(*addr, host); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:1326:73 [INFO] [stdout] | [INFO] [stdout] 1326 | let c = Path::circle(Point { x: 128., y: 50. }, map((((k%100) as f32)/100.),20.,40.)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1326 - let c = Path::circle(Point { x: 128., y: 50. }, map((((k%100) as f32)/100.),20.,40.)); [INFO] [stdout] 1326 + let c = Path::circle(Point { x: 128., y: 50. }, map(((k%100) as f32)/100.,20.,40.)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut tour = Tour { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | if let Some(mut servertime) = self.servertime.servertime.take(){ [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds` [INFO] [stdout] --> src/main.rs:1303:24 [INFO] [stdout] | [INFO] [stdout] 1303 | fn draw(&self, bounds: iced::Rectangle, _cursor: canvas::Cursor) -> Vec{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Secondary` is never constructed [INFO] [stdout] --> src/main.rs:1227:9 [INFO] [stdout] | [INFO] [stdout] 1225 | pub enum Button { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 1226 | Primary, [INFO] [stdout] 1227 | Secondary, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | self.servertime.set_server(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 130 | let _ = self.servertime.set_server(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.27s [INFO] running `Command { std: "docker" "inspect" "a21e608b90771a678e215e5232de07389b20bc6a91e8ad33d89ecbe9ad41de0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a21e608b90771a678e215e5232de07389b20bc6a91e8ad33d89ecbe9ad41de0f", kill_on_drop: false }` [INFO] [stdout] a21e608b90771a678e215e5232de07389b20bc6a91e8ad33d89ecbe9ad41de0f [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" "-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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eba732d376c93293b12b67ab8e30fcae25e8aed4b9b0fed9c87ebcd6da49ce14 [INFO] running `Command { std: "docker" "start" "-a" "eba732d376c93293b12b67ab8e30fcae25e8aed4b9b0fed9c87ebcd6da49ce14", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:281:17 [INFO] [stderr] | [INFO] [stderr] 281 | let mut s = Servertime::new(*addr, host); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `pickpick` (lib) generated 1 warning (run `cargo fix --lib -p pickpick` to apply 1 suggestion) [INFO] [stderr] warning: `pickpick` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:1326:73 [INFO] [stderr] | [INFO] [stderr] 1326 | let c = Path::circle(Point { x: 128., y: 50. }, map((((k%100) as f32)/100.),20.,40.)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1326 - let c = Path::circle(Point { x: 128., y: 50. }, map((((k%100) as f32)/100.),20.,40.)); [INFO] [stderr] 1326 + let c = Path::circle(Point { x: 128., y: 50. }, map(((k%100) as f32)/100.,20.,40.)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | let mut tour = Tour { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:132:37 [INFO] [stderr] | [INFO] [stderr] 132 | if let Some(mut servertime) = self.servertime.servertime.take(){ [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bounds` [INFO] [stderr] --> src/main.rs:1303:24 [INFO] [stderr] | [INFO] [stderr] 1303 | fn draw(&self, bounds: iced::Rectangle, _cursor: canvas::Cursor) -> Vec{ [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Secondary` is never constructed [INFO] [stderr] --> src/main.rs:1227:9 [INFO] [stderr] | [INFO] [stderr] 1225 | pub enum Button { [INFO] [stderr] | ------ variant in this enum [INFO] [stderr] 1226 | Primary, [INFO] [stderr] 1227 | Secondary, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:130:25 [INFO] [stderr] | [INFO] [stderr] 130 | self.servertime.set_server(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 130 | let _ = self.servertime.set_server(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `pickpick` (bin "pickpick" test) generated 6 warnings (run `cargo fix --bin "pickpick" --tests` to apply 4 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pickpick-ce5c9024cdca7608) [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/pickpick-1a228bcd07520bf6) [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 pickpick [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" "eba732d376c93293b12b67ab8e30fcae25e8aed4b9b0fed9c87ebcd6da49ce14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eba732d376c93293b12b67ab8e30fcae25e8aed4b9b0fed9c87ebcd6da49ce14", kill_on_drop: false }` [INFO] [stdout] eba732d376c93293b12b67ab8e30fcae25e8aed4b9b0fed9c87ebcd6da49ce14