[INFO] cloning repository https://github.com/Jhanny03/sword [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jhanny03/sword" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJhanny03%2Fsword", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJhanny03%2Fsword'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23dcc397fc6a283f4f26a6801392ba3c5f2b8e7f [INFO] testing Jhanny03/sword against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJhanny03%2Fsword" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Jhanny03/sword [INFO] finished tweaking git repo https://github.com/Jhanny03/sword [INFO] tweaked toml for git repo https://github.com/Jhanny03/sword written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jhanny03/sword on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jhanny03/sword 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f2c3e1f8511b71a0cf058b938686f69c27e864dddc49e640425a18489a63a028 [INFO] running `Command { std: "docker" "start" "f2c3e1f8511b71a0cf058b938686f69c27e864dddc49e640425a18489a63a028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2c3e1f8511b71a0cf058b938686f69c27e864dddc49e640425a18489a63a028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2c3e1f8511b71a0cf058b938686f69c27e864dddc49e640425a18489a63a028" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2c3e1f8511b71a0cf058b938686f69c27e864dddc49e640425a18489a63a028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2c3e1f8511b71a0cf058b938686f69c27e864dddc49e640425a18489a63a028" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling smallvec v1.8.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [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 wgpu-core v0.12.2 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling iced_core v0.5.0 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling profiling v1.0.6 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling euclid v0.22.7 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling getrandom v0.2.7 [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 rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hashbrown v0.11.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 owned_ttf_parser v0.15.0 [INFO] [stderr] Compiling ab_glyph v0.2.15 [INFO] [stderr] Compiling lyon_geom v0.17.7 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling memmap2 v0.5.4 [INFO] [stderr] Compiling nix v0.24.1 [INFO] [stderr] Compiling float_next_after v0.1.5 [INFO] [stderr] Compiling sid v0.6.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling lyon_path v0.17.7 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling iced_style v0.4.0 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling lyon_algorithms v0.17.7 [INFO] [stderr] Compiling lyon_tessellation v0.17.10 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling ordered-float v3.0.0 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling lyon v0.17.10 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling mutate_once v0.1.1 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling kamadak-exif v0.5.4 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling x11rb v0.9.0 [INFO] [stderr] Compiling calloop v0.9.3 [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 bytemuck v1.9.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling naga v0.8.5 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Compiling glyph_brush v0.7.4 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling iced_futures v0.4.1 [INFO] [stderr] Compiling iced_native v0.5.1 [INFO] [stderr] Compiling clipboard_x11 v0.4.0 [INFO] [stderr] Compiling wgpu-hal v0.12.5 [INFO] [stderr] Compiling iced_graphics v0.3.0 [INFO] [stderr] Compiling wgpu v0.12.0 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling clipboard_wayland v0.2.0 [INFO] [stderr] Compiling wgpu_glyph v0.16.0 [INFO] [stderr] Compiling window_clipboard v0.2.3 [INFO] [stderr] Compiling iced_wgpu v0.5.1 [INFO] [stderr] Compiling iced_winit v0.4.0 [INFO] [stderr] Compiling iced v0.4.2 [INFO] [stderr] Compiling sword v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Renderer` [INFO] [stdout] --> src/main.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | use iced::{Application, Column, Container, Element, Length, Point, Rectangle, Renderer, Settings, time, window}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iced::keyboard::KeyCode::S` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use iced::keyboard::KeyCode::S; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FillRule` and `Fill` [INFO] [stdout] --> src/main.rs:81:62 [INFO] [stdout] | [INFO] [stdout] 81 | use iced_graphics::canvas::{Cache, Cursor, Event, event, Fill, FillRule, Frame, Geometry, Path, Stroke}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iced_native::event::Status` [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | use iced_native::event::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(flags: Self::Flags) -> (Self, Command) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor` [INFO] [stdout] --> src/main.rs:304:43 [INFO] [stdout] | [INFO] [stdout] 304 | fn draw(&self, bounds: Rectangle, cursor: Cursor) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> src/main.rs:399:22 [INFO] [stdout] | [INFO] [stdout] 399 | fn layout(&self, renderer: &Renderer, limits: &Limits) -> Node { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limits` [INFO] [stdout] --> src/main.rs:399:43 [INFO] [stdout] | [INFO] [stdout] 399 | fn layout(&self, renderer: &Renderer, limits: &Limits) -> Node { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_limits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> src/main.rs:403:20 [INFO] [stdout] | [INFO] [stdout] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/main.rs:403:45 [INFO] [stdout] | [INFO] [stdout] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/main.rs:403:60 [INFO] [stdout] | [INFO] [stdout] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_position` [INFO] [stdout] --> src/main.rs:403:80 [INFO] [stdout] | [INFO] [stdout] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `viewport` [INFO] [stdout] --> src/main.rs:403:104 [INFO] [stdout] | [INFO] [stdout] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_viewport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | Tick(Instant), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - Tick(Instant), [INFO] [stdout] 33 + Tick(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Panel` is never constructed [INFO] [stdout] --> src/main.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 384 | struct Panel{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Update` is never constructed [INFO] [stdout] --> src/main.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum NetworkMessage{ [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 94 | Update, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/main.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct Region { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 336 | width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 337 | height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pos` is never used [INFO] [stdout] --> src/main.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 347 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 378 | fn get_pos(&self) -> Vector{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn view(&mut self) -> iced::Element { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn view(&mut self) -> iced::Element<'_, NetworkMessage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2m 32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.12.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "f2c3e1f8511b71a0cf058b938686f69c27e864dddc49e640425a18489a63a028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2c3e1f8511b71a0cf058b938686f69c27e864dddc49e640425a18489a63a028" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling sword v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Renderer` [INFO] [stdout] --> src/main.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | use iced::{Application, Column, Container, Element, Length, Point, Rectangle, Renderer, Settings, time, window}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iced::keyboard::KeyCode::S` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use iced::keyboard::KeyCode::S; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FillRule` and `Fill` [INFO] [stdout] --> src/main.rs:81:62 [INFO] [stdout] | [INFO] [stdout] 81 | use iced_graphics::canvas::{Cache, Cursor, Event, event, Fill, FillRule, Frame, Geometry, Path, Stroke}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iced_native::event::Status` [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | use iced_native::event::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(flags: Self::Flags) -> (Self, Command) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor` [INFO] [stdout] --> src/main.rs:304:43 [INFO] [stdout] | [INFO] [stdout] 304 | fn draw(&self, bounds: Rectangle, cursor: Cursor) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> src/main.rs:399:22 [INFO] [stdout] | [INFO] [stdout] 399 | fn layout(&self, renderer: &Renderer, limits: &Limits) -> Node { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limits` [INFO] [stdout] --> src/main.rs:399:43 [INFO] [stdout] | [INFO] [stdout] 399 | fn layout(&self, renderer: &Renderer, limits: &Limits) -> Node { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_limits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> src/main.rs:403:20 [INFO] [stdout] | [INFO] [stdout] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/main.rs:403:45 [INFO] [stdout] | [INFO] [stdout] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/main.rs:403:60 [INFO] [stdout] | [INFO] [stdout] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_position` [INFO] [stdout] --> src/main.rs:403:80 [INFO] [stdout] | [INFO] [stdout] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `viewport` [INFO] [stdout] --> src/main.rs:403:104 [INFO] [stdout] | [INFO] [stdout] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_viewport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | Tick(Instant), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - Tick(Instant), [INFO] [stdout] 33 + Tick(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Panel` is never constructed [INFO] [stdout] --> src/main.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 384 | struct Panel{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Update` is never constructed [INFO] [stdout] --> src/main.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum NetworkMessage{ [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 94 | Update, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/main.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct Region { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 336 | width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 337 | height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pos` is never used [INFO] [stdout] --> src/main.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 347 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 378 | fn get_pos(&self) -> Vector{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn view(&mut self) -> iced::Element { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn view(&mut self) -> iced::Element<'_, NetworkMessage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.12.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "f2c3e1f8511b71a0cf058b938686f69c27e864dddc49e640425a18489a63a028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2c3e1f8511b71a0cf058b938686f69c27e864dddc49e640425a18489a63a028" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Renderer` [INFO] [stderr] --> src/main.rs:2:79 [INFO] [stderr] | [INFO] [stderr] 2 | use iced::{Application, Column, Container, Element, Length, Point, Rectangle, Renderer, Settings, time, window}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `iced::keyboard::KeyCode::S` [INFO] [stderr] --> src/main.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | use iced::keyboard::KeyCode::S; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FillRule` and `Fill` [INFO] [stderr] --> src/main.rs:81:62 [INFO] [stderr] | [INFO] [stderr] 81 | use iced_graphics::canvas::{Cache, Cursor, Event, event, Fill, FillRule, Frame, Geometry, Path, Stroke}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `iced_native::event::Status` [INFO] [stderr] --> src/main.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | use iced_native::event::Status; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `flags` [INFO] [stderr] --> src/main.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | fn new(flags: Self::Flags) -> (Self, Command) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cursor` [INFO] [stderr] --> src/main.rs:304:43 [INFO] [stderr] | [INFO] [stderr] 304 | fn draw(&self, bounds: Rectangle, cursor: Cursor) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `renderer` [INFO] [stderr] --> src/main.rs:399:22 [INFO] [stderr] | [INFO] [stderr] 399 | fn layout(&self, renderer: &Renderer, limits: &Limits) -> Node { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limits` [INFO] [stderr] --> src/main.rs:399:43 [INFO] [stderr] | [INFO] [stderr] 399 | fn layout(&self, renderer: &Renderer, limits: &Limits) -> Node { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_limits` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `renderer` [INFO] [stderr] --> src/main.rs:403:20 [INFO] [stderr] | [INFO] [stderr] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `style` [INFO] [stderr] --> src/main.rs:403:45 [INFO] [stderr] | [INFO] [stderr] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `layout` [INFO] [stderr] --> src/main.rs:403:60 [INFO] [stderr] | [INFO] [stderr] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cursor_position` [INFO] [stderr] --> src/main.rs:403:80 [INFO] [stderr] | [INFO] [stderr] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_position` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `viewport` [INFO] [stderr] --> src/main.rs:403:104 [INFO] [stderr] | [INFO] [stderr] 403 | fn draw(&self, renderer: &mut Renderer, style: &Style, layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_viewport` [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/main.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | Tick(Instant), [INFO] [stderr] | ---- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `AppMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 33 - Tick(Instant), [INFO] [stderr] 33 + Tick(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `Panel` is never constructed [INFO] [stderr] --> src/main.rs:384:8 [INFO] [stderr] | [INFO] [stderr] 384 | struct Panel{ [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Update` is never constructed [INFO] [stderr] --> src/main.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 93 | pub enum NetworkMessage{ [INFO] [stderr] | -------------- variant in this enum [INFO] [stderr] 94 | Update, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NetworkMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `width` and `height` are never read [INFO] [stderr] --> src/main.rs:336:9 [INFO] [stderr] | [INFO] [stderr] 333 | pub struct Region { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 336 | width: f32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 337 | height: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_pos` is never used [INFO] [stderr] --> src/main.rs:378:12 [INFO] [stderr] | [INFO] [stderr] 347 | impl Node { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 378 | fn get_pos(&self) -> Vector{ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/main.rs:128:21 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn view(&mut self) -> iced::Element { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 128 | pub fn view(&mut self) -> iced::Element<'_, NetworkMessage> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `sword` (bin "sword" test) generated 19 warnings (run `cargo fix --bin "sword" -p sword --tests` to apply 14 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.12.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/sword-a574bba057352882) [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" "f2c3e1f8511b71a0cf058b938686f69c27e864dddc49e640425a18489a63a028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2c3e1f8511b71a0cf058b938686f69c27e864dddc49e640425a18489a63a028", kill_on_drop: false }` [INFO] [stdout] f2c3e1f8511b71a0cf058b938686f69c27e864dddc49e640425a18489a63a028