[INFO] fetching crate tuix 0.1.0... [INFO] testing tuix-0.1.0 against beta-2021-01-01 for beta-1.50-1 [INFO] extracting crate tuix 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate tuix 0.1.0 on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tuix 0.1.0 [INFO] finished tweaking crates.io crate tuix 0.1.0 [INFO] tweaked toml for crates.io crate tuix 0.1.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate tuix 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lru v0.5.3 [INFO] [stderr] Downloaded cocoa v0.20.2 [INFO] [stderr] Downloaded generational-arena v0.2.8 [INFO] [stderr] Downloaded harfbuzz_rs v1.0.1 [INFO] [stderr] Downloaded derivative v2.1.1 [INFO] [stderr] Downloaded glutin v0.24.1 [INFO] [stderr] Downloaded ndk v0.1.0 [INFO] [stderr] Downloaded android_log-sys v0.1.2 [INFO] [stderr] Downloaded winit v0.22.2 [INFO] [stderr] Downloaded ndk-glue v0.1.0 [INFO] [stderr] Downloaded imgref v1.7.0 [INFO] [stderr] Downloaded femtovg v0.1.0 [INFO] [stderr] Downloaded ndk-sys v0.1.0 [INFO] [stderr] Downloaded harfbuzz-sys v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c117f2c7d492f4d8c6e1081a840cc8ce2a7f46a7c81557486f6ab51dab1f7c8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1c117f2c7d492f4d8c6e1081a840cc8ce2a7f46a7c81557486f6ab51dab1f7c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c117f2c7d492f4d8c6e1081a840cc8ce2a7f46a7c81557486f6ab51dab1f7c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c117f2c7d492f4d8c6e1081a840cc8ce2a7f46a7c81557486f6ab51dab1f7c8", kill_on_drop: false }` [INFO] [stdout] 1c117f2c7d492f4d8c6e1081a840cc8ce2a7f46a7c81557486f6ab51dab1f7c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccfdae77025b194f4a641386f52d97d2da84a56bf8b6c66ecf299adcf0fe7f15 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ccfdae77025b194f4a641386f52d97d2da84a56bf8b6c66ecf299adcf0fe7f15", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling lru v0.5.3 [INFO] [stderr] Compiling imgref v1.7.0 [INFO] [stderr] Compiling harfbuzz-sys v0.3.4 [INFO] [stderr] Compiling generational-arena v0.2.8 [INFO] [stderr] Compiling dtoa-short v0.3.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling femtovg v0.1.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling harfbuzz_rs v1.0.1 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling glutin v0.24.1 [INFO] [stderr] Compiling tuix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Window` [INFO] [stdout] --> src/widgets/textbox.rs:6:85 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{BuildHandler, Justify, Length, PropSet, State, Visibility, WindowEvent, Window}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/widgets/textbox.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FillRule`, `FontId`, `ImageFlags`, `ImageId`, `LineCap`, `LineJoin`, `Renderer`, `Solidity` [INFO] [stdout] --> src/widgets/textbox.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | FillRule, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | FontId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | ImageFlags, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | ImageId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | LineCap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | LineJoin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Renderer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | Solidity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `Item` [INFO] [stdout] --> src/widgets/vector_edit.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::widgets::{Button, Textbox, Dropdown, Item, DropdownEvent, TextboxEvent}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/widgets/dropdown.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/widgets/vector_edit.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | _=> {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/application.rs:396:29 [INFO] [stdout] | [INFO] [stdout] 396 | ... pos = (cursorx, cursory); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/application.rs:396:29 [INFO] [stdout] | [INFO] [stdout] 396 | ... pos = (cursorx, cursory); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_redraw` [INFO] [stdout] --> src/application.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut should_redraw = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_redraw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/window.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let height = size.height as f32; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/window.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let width = size.width as f32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/widgets/checkbox.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/widgets/checkbox.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/widgets/checkbox.rs:46:63 [INFO] [stdout] | [INFO] [stdout] 46 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_positions` [INFO] [stdout] --> src/widgets/textbox.rs:580:21 [INFO] [stdout] | [INFO] [stdout] 580 | let mut glyph_positions = res.glyphs.iter().peekable(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/widgets/dropdown.rs:230:40 [INFO] [stdout] | [INFO] [stdout] 230 | DropdownEvent::SetText(text, proxy) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_scroll_top` [INFO] [stdout] --> src/widgets/scroll_container.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 224 | let current_scroll_top = state [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_scroll_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_container_top` [INFO] [stdout] --> src/widgets/scroll_container.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | let current_container_top = state [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_container_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auto` [INFO] [stdout] --> src/widgets/length_box.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let auto = Item::new("auto", "-").build(state, self.unit, |builder| builder.class("item")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> src/widgets/length_box.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let pixel = Item::new("px", "px").build(state, self.unit, |builder| builder.class("item")); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `percentage` [INFO] [stdout] --> src/widgets/length_box.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let percentage = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial` [INFO] [stdout] --> src/widgets/length_box.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let initial = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> src/widgets/length_box.rs:71:46 [INFO] [stdout] | [INFO] [stdout] 71 | DropdownEvent::SetText(text, proxy) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> src/widgets/vector_edit.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let one = Dimension::new("1").build(state, self.dims, |builder| builder.class("item")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `two` [INFO] [stdout] --> src/widgets/vector_edit.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let two = Dimension::new("2").build(state, self.dims, |builder| builder.class("item")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `three` [INFO] [stdout] --> src/widgets/vector_edit.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let three = Dimension::new("3").build(state, self.dims, |builder| builder.class("item")); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `four` [INFO] [stdout] --> src/widgets/vector_edit.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let four = Dimension::new("4").build(state, self.dims, |builder| builder.class("item")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/systems/layout_system.rs:433:14 [INFO] [stdout] | [INFO] [stdout] 433 | for (index, child) in parent.child_iter(&hierarchy).enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_posx` is never read [INFO] [stdout] --> src/systems/layout_system.rs:604:17 [INFO] [stdout] | [INFO] [stdout] 604 | let mut new_posx = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_posy` is never read [INFO] [stdout] --> src/systems/layout_system.rs:605:17 [INFO] [stdout] | [INFO] [stdout] 605 | let mut new_posy = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state/mod.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn insert_event(&mut self, mut event: Event) { [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/application.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut should_redraw = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/widgets/textbox.rs:510:13 [INFO] [stdout] | [INFO] [stdout] 510 | let mut paint = Paint::color(background_color); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/widgets/textbox.rs:580:21 [INFO] [stdout] | [INFO] [stdout] 580 | let mut glyph_positions = res.glyphs.iter().peekable(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `label_style` should have an upper case name [INFO] [stdout] --> src/widgets/label.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const label_style: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `LABEL_STYLE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 12s [INFO] running `Command { std: "docker" "inspect" "ccfdae77025b194f4a641386f52d97d2da84a56bf8b6c66ecf299adcf0fe7f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccfdae77025b194f4a641386f52d97d2da84a56bf8b6c66ecf299adcf0fe7f15", kill_on_drop: false }` [INFO] [stdout] ccfdae77025b194f4a641386f52d97d2da84a56bf8b6c66ecf299adcf0fe7f15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f6df98feebaff51d9249c66980f80cfefeceeeb0819399e2151c386ac848786 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7f6df98feebaff51d9249c66980f80cfefeceeeb0819399e2151c386ac848786", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Window` [INFO] [stdout] --> src/widgets/textbox.rs:6:85 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{BuildHandler, Justify, Length, PropSet, State, Visibility, WindowEvent, Window}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/widgets/textbox.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FillRule`, `FontId`, `ImageFlags`, `ImageId`, `LineCap`, `LineJoin`, `Renderer`, `Solidity` [INFO] [stdout] --> src/widgets/textbox.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | FillRule, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | FontId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | ImageFlags, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | ImageId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | LineCap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | LineJoin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Renderer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | Solidity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `Item` [INFO] [stdout] --> src/widgets/vector_edit.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::widgets::{Button, Textbox, Dropdown, Item, DropdownEvent, TextboxEvent}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/widgets/dropdown.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/widgets/vector_edit.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | _=> {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/application.rs:396:29 [INFO] [stdout] | [INFO] [stdout] 396 | ... pos = (cursorx, cursory); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/application.rs:396:29 [INFO] [stdout] | [INFO] [stdout] 396 | ... pos = (cursorx, cursory); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_redraw` [INFO] [stdout] --> src/application.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut should_redraw = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_redraw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/window.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let height = size.height as f32; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/window.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let width = size.width as f32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/widgets/checkbox.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/widgets/checkbox.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/widgets/checkbox.rs:46:63 [INFO] [stdout] | [INFO] [stdout] 46 | fn on_event(&mut self, state: &mut State, entity: Entity, event: &mut Event) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_positions` [INFO] [stdout] --> src/widgets/textbox.rs:580:21 [INFO] [stdout] | [INFO] [stdout] 580 | let mut glyph_positions = res.glyphs.iter().peekable(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/widgets/dropdown.rs:230:40 [INFO] [stdout] | [INFO] [stdout] 230 | DropdownEvent::SetText(text, proxy) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_scroll_top` [INFO] [stdout] --> src/widgets/scroll_container.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 224 | let current_scroll_top = state [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_scroll_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_container_top` [INFO] [stdout] --> src/widgets/scroll_container.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | let current_container_top = state [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_container_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auto` [INFO] [stdout] --> src/widgets/length_box.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let auto = Item::new("auto", "-").build(state, self.unit, |builder| builder.class("item")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> src/widgets/length_box.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let pixel = Item::new("px", "px").build(state, self.unit, |builder| builder.class("item")); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `percentage` [INFO] [stdout] --> src/widgets/length_box.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let percentage = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial` [INFO] [stdout] --> src/widgets/length_box.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let initial = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> src/widgets/length_box.rs:71:46 [INFO] [stdout] | [INFO] [stdout] 71 | DropdownEvent::SetText(text, proxy) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> src/widgets/vector_edit.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let one = Dimension::new("1").build(state, self.dims, |builder| builder.class("item")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `two` [INFO] [stdout] --> src/widgets/vector_edit.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let two = Dimension::new("2").build(state, self.dims, |builder| builder.class("item")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `three` [INFO] [stdout] --> src/widgets/vector_edit.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let three = Dimension::new("3").build(state, self.dims, |builder| builder.class("item")); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `four` [INFO] [stdout] --> src/widgets/vector_edit.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let four = Dimension::new("4").build(state, self.dims, |builder| builder.class("item")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/systems/layout_system.rs:433:14 [INFO] [stdout] | [INFO] [stdout] 433 | for (index, child) in parent.child_iter(&hierarchy).enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_posx` is never read [INFO] [stdout] --> src/systems/layout_system.rs:604:17 [INFO] [stdout] | [INFO] [stdout] 604 | let mut new_posx = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_posy` is never read [INFO] [stdout] --> src/systems/layout_system.rs:605:17 [INFO] [stdout] | [INFO] [stdout] 605 | let mut new_posy = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state/mod.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn insert_event(&mut self, mut event: Event) { [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/application.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut should_redraw = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/widgets/textbox.rs:510:13 [INFO] [stdout] | [INFO] [stdout] 510 | let mut paint = Paint::color(background_color); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/widgets/textbox.rs:580:21 [INFO] [stdout] | [INFO] [stdout] 580 | let mut glyph_positions = res.glyphs.iter().peekable(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `label_style` should have an upper case name [INFO] [stdout] --> src/widgets/label.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const label_style: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `LABEL_STYLE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tuix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Button`, `Checkbox`, `RadioBox`, `RadioList`, `ScrollContainer`, `Textbox` [INFO] [stdout] --> examples/panel_animated.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Button, Checkbox, Dropdown, Panel, RadioBox, RadioList, ScrollContainer, Textbox, VectorEdit, Dimension, VectorEditEvent, NumEdit [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `Checkbox`, `RadioBox`, `RadioList`, `ScrollContainer`, `Textbox` [INFO] [stdout] --> examples/treeview.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Button, Checkbox, Dropdown, Panel, RadioBox, RadioList, ScrollContainer, Textbox, VectorEdit, Dimension, VectorEditEvent, NumEdit [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventHandler` [INFO] [stdout] --> examples/tabs.rs:4:56 [INFO] [stdout] | [INFO] [stdout] 4 | Application, BuildHandler, Button, Display, Event, EventHandler, TabContainer, TabEvent, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_edit` [INFO] [stdout] --> examples/panel_animated.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | let color_edit = ColorEdit::new().build(state, row, |builder| builder.set_flex_grow(1.0)); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_edit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> examples/panel_animated.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | WindowEvent::MouseMove(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> examples/panel_animated.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let one = Dimension::new("RGB").build(state, test, |builder| builder.class("item")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `two` [INFO] [stdout] --> examples/panel_animated.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let two = Dimension::new("HSV").build(state, test, |builder| builder.class("item")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rval` [INFO] [stdout] --> examples/panel_animated.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | rval: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gval` [INFO] [stdout] --> examples/panel_animated.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | gval: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bval` [INFO] [stdout] --> examples/panel_animated.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | bval: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `aval` [INFO] [stdout] --> examples/panel_animated.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | aval: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel2` [INFO] [stdout] --> examples/treeview.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | let panel2 = Panel::new("Level 1").build(state, panel1, |builder| builder); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_panel2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel3` [INFO] [stdout] --> examples/treeview.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | let panel3 = Panel::new("Level 1").build(state, panel1, |builder| builder); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_panel3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_edit` [INFO] [stdout] --> examples/treeview.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | let color_edit = ColorEdit::new().build(state, row, |builder| builder.set_flex_grow(1.0)); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_edit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> examples/treeview.rs:95:43 [INFO] [stdout] | [INFO] [stdout] 95 | WindowEvent::MouseMove(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> examples/treeview.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let one = Dimension::new("RGB").build(state, test, |builder| builder.class("item")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `two` [INFO] [stdout] --> examples/treeview.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | let two = Dimension::new("HSV").build(state, test, |builder| builder.class("item")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vectoredit_event` [INFO] [stdout] --> examples/treeview.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | if let Some(vectoredit_event) = event.is_type::>() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vectoredit_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hovering` [INFO] [stdout] --> examples/treeview.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | hovering: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `resize_marker` [INFO] [stdout] --> examples/treeview.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | resize_marker: Entity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rval` [INFO] [stdout] --> examples/treeview.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | rval: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gval` [INFO] [stdout] --> examples/treeview.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | gval: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bval` [INFO] [stdout] --> examples/treeview.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | bval: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `aval` [INFO] [stdout] --> examples/treeview.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | aval: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Window` [INFO] [stdout] --> src/widgets/textbox.rs:6:85 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{BuildHandler, Justify, Length, PropSet, State, Visibility, WindowEvent, Window}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/widgets/textbox.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FillRule`, `FontId`, `ImageFlags`, `ImageId`, `LineCap`, `LineJoin`, `Renderer`, `Solidity` [INFO] [stdout] --> src/widgets/textbox.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | FillRule, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | FontId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | ImageFlags, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | ImageId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | LineCap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | LineJoin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Renderer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | Solidity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `Item` [INFO] [stdout] --> src/widgets/vector_edit.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::widgets::{Button, Textbox, Dropdown, Item, DropdownEvent, TextboxEvent}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tuix` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name tuix --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=ca3c715d5b712dde -C extra-filename=-ca3c715d5b712dde --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern cssparser=/opt/rustwide/target/debug/deps/libcssparser-b8225460bace63e5.rlib --extern femtovg=/opt/rustwide/target/debug/deps/libfemtovg-a9ac2d94290e46e8.rlib --extern gl=/opt/rustwide/target/debug/deps/libgl-8a125368248ee0a0.rlib --extern glutin=/opt/rustwide/target/debug/deps/libglutin-22350e7cfb6783eb.rlib --extern image=/opt/rustwide/target/debug/deps/libimage-2fedc0279c526275.rlib --cap-lints=warn -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/opt/rustwide/target/debug/build/libloading-bb1bcdbc4857518b/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.hello_gui.8r9s6c2o-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082" "/opt/rustwide/target/debug/examples/hello_gui-aba81b59d366a082.46es0czfkivgx7bi.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/target/debug/build/libloading-bb1bcdbc4857518b/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libtuix-88ee8e33517319ac.rlib" "/opt/rustwide/target/debug/deps/libgl-8a125368248ee0a0.rlib" "/opt/rustwide/target/debug/deps/libglutin-22350e7cfb6783eb.rlib" "/opt/rustwide/target/debug/deps/libosmesa_sys-612a638fe0557aeb.rlib" "/opt/rustwide/target/debug/deps/libshared_library-68c38545b08bf035.rlib" "/opt/rustwide/target/debug/deps/liblibloading-1bf8ebbfe19f86f6.rlib" "/opt/rustwide/target/debug/deps/libwinit-9e9151d8d86ced61.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-6ae592ab414920f8.rlib" "/opt/rustwide/target/debug/deps/libsmithay_client_toolkit-b2a638bb043b36ba.rlib" "/opt/rustwide/target/debug/deps/libwayland_protocols-4baf713b9e2f71c0.rlib" "/opt/rustwide/target/debug/deps/libwayland_client-d242c0faaed538dd.rlib" "/opt/rustwide/target/debug/deps/libwayland_commons-88709423cd24ab73.rlib" "/opt/rustwide/target/debug/deps/libwayland_sys-c13e6c2d38db4284.rlib" "/opt/rustwide/target/debug/deps/libcalloop-3fdbb577c323002b.rlib" "/opt/rustwide/target/debug/deps/libmio_extras-8a2108933a0cef39.rlib" "/opt/rustwide/target/debug/deps/liblazycell-f038ea2dcf29a564.rlib" "/opt/rustwide/target/debug/deps/libmio-2cbca2c136255f8e.rlib" "/opt/rustwide/target/debug/deps/libslab-f568091877b30548.rlib" "/opt/rustwide/target/debug/deps/libiovec-7f847b71c36bece5.rlib" "/opt/rustwide/target/debug/deps/libnet2-7e27df287627ab87.rlib" "/opt/rustwide/target/debug/deps/libnix-b17eb7ab89e5d711.rlib" "/opt/rustwide/target/debug/deps/libvoid-2252400e8925513f.rlib" "/opt/rustwide/target/debug/deps/libmemmap-6045de6cb8591add.rlib" "/opt/rustwide/target/debug/deps/libandrew-1c7f92586bcadf93.rlib" "/opt/rustwide/target/debug/deps/libxml-312254adb45317ce.rlib" "/opt/rustwide/target/debug/deps/libxdg-9bdd5eefb91d453c.rlib" "/opt/rustwide/target/debug/deps/libwalkdir-61d7662228196c72.rlib" "/opt/rustwide/target/debug/deps/libsame_file-5b9a65c02ab19218.rlib" "/opt/rustwide/target/debug/deps/librusttype-d5ff8daf014babd7.rlib" "/opt/rustwide/target/debug/deps/librusttype-9c288dabd6bcd827.rlib" "/opt/rustwide/target/debug/deps/libstb_truetype-33dc9b281d9289ad.rlib" "/opt/rustwide/target/debug/deps/libordered_float-bbc3154b367ea579.rlib" "/opt/rustwide/target/debug/deps/libapprox-25775ee22b2f4454.rlib" "/opt/rustwide/target/debug/deps/libline_drawing-04671b591b92cd51.rlib" "/opt/rustwide/target/debug/deps/libdlib-6b4c1e4cb086abe5.rlib" "/opt/rustwide/target/debug/deps/liblibloading-3cd2f00d4847b73f.rlib" "/opt/rustwide/target/debug/deps/libraw_window_handle-ce74ba6bdd377f05.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-5cf6374b71bf4f9f.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-9898af993fa87663.rlib" "/opt/rustwide/target/debug/deps/liblock_api-956c5a7d07778f10.rlib" "/opt/rustwide/target/debug/deps/libinstant-80af378529ae977f.rlib" "/opt/rustwide/target/debug/deps/libglutin_glx_sys-96ca82e61b7cce94.rlib" "/opt/rustwide/target/debug/deps/libx11_dl-6f25a1ec87e0f6f0.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-eaf618366f8551a4.rlib" "/opt/rustwide/target/debug/deps/libglutin_egl_sys-c1b6f1fa6ae996bd.rlib" "/opt/rustwide/target/debug/deps/liblog-d6d50815b8652f33.rlib" "/opt/rustwide/target/debug/deps/libfemtovg-a9ac2d94290e46e8.rlib" "/opt/rustwide/target/debug/deps/libimage-2fedc0279c526275.rlib" "/opt/rustwide/target/debug/deps/libpng-944c7db4f1c776c9.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-a5d98ad79ea81331.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-52db5a2fb6e5927b.rlib" "/opt/rustwide/target/debug/deps/libdeflate-f520670c19841342.rlib" "/opt/rustwide/target/debug/deps/libadler32-b754b0225bffa03d.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-267458a14e18ac56.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-6eaaf14cfe82ad8a.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-d99d3625fed58e00.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-bb465877c8c7daff.rlib" "/opt/rustwide/target/debug/deps/libgif-09b54fd52ea6d92d.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-99d52960d8cb9a2a.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-ac465bc6de999387.rlib" "/opt/rustwide/target/debug/deps/libtiff-828727e1945cd12a.rlib" "/opt/rustwide/target/debug/deps/libweezl-4d60bb0fb89d3a89.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-fe10664e7e641e28.rlib" "/opt/rustwide/target/debug/deps/libadler-013da12b1c81b559.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-378a5ae08dfb9d69.rlib" "/opt/rustwide/target/debug/deps/librayon-8e164ae26f3ae3ef.rlib" "/opt/rustwide/target/debug/deps/librayon_core-75e765fa52f82f9c.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-bb6d77f1917f6236.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-00723a61e3765b1e.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-8f2efe32f8519d44.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-b655deac3cb1d6a8.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-b71d276e69df7592.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-83a28bce40ee7748.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-87834de79fb55493.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b2d06f7d60fcbb27.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-d82520db93b55397.rlib" "/opt/rustwide/target/debug/deps/libeither-253b1295061796dc.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-2f9d4a3f19411b1e.rlib" "/opt/rustwide/target/debug/deps/libowned_ttf_parser-8327f62226282cb1.rlib" "/opt/rustwide/target/debug/deps/libttf_parser-c76a440c1013fbd0.rlib" "/opt/rustwide/target/debug/deps/libunicode_segmentation-07ba75ebec98cf1f.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-2a3427138786ef48.rlib" "/opt/rustwide/target/debug/deps/liblru-be079c7191678882.rlib" "/opt/rustwide/target/debug/deps/libharfbuzz_rs-c7bd55f2faf100d8.rlib" "/opt/rustwide/target/debug/deps/libharfbuzz_sys-8c71cdcbcce24956.rlib" "/opt/rustwide/target/debug/deps/libfreetype-6918593aa4fbd99d.rlib" "/opt/rustwide/target/debug/deps/liblibc-77d6541a42757d2c.rlib" "/opt/rustwide/target/debug/deps/libfreetype_sys-2ade1bba46579ed9.rlib" "/opt/rustwide/target/debug/deps/libbitflags-8a5476fab5bb3232.rlib" "/opt/rustwide/target/debug/deps/libgenerational_arena-11af87c252ceaec9.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-3bb9a546b52233f2.rlib" "/opt/rustwide/target/debug/deps/libfnv-9bab2cd4d16544dd.rlib" "/opt/rustwide/target/debug/deps/librgb-12b73d32eadff3ad.rlib" "/opt/rustwide/target/debug/deps/libbytemuck-fbbd312f39091351.rlib" "/opt/rustwide/target/debug/deps/libimgref-c8d38e91886cb280.rlib" "/opt/rustwide/target/debug/deps/libcssparser-b8225460bace63e5.rlib" "/opt/rustwide/target/debug/deps/libitoa-d91ad7e883758af9.rlib" "/opt/rustwide/target/debug/deps/libdtoa_short-9f92c43cd113afe2.rlib" "/opt/rustwide/target/debug/deps/libdtoa-1db77edde63def9c.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-362b60c1e7bb77e8.rlib" "/opt/rustwide/target/debug/deps/libmatches-48febceb3dcc9296.rlib" "/opt/rustwide/target/debug/deps/libphf-8ec881c76484c5dc.rlib" "/opt/rustwide/target/debug/deps/libphf_shared-f04ad9186ab7141c.rlib" "/opt/rustwide/target/debug/deps/libsiphasher-c534524a7b71023d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7444fd17919e9af0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-0ee2f67026959ab7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-df1bcd1e82256d04.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ed9ecf1b54021131.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-0ede66bb24e94b96.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7c2de7f50940865c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-b138d50085fd4683.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-6576870d8f2b9ae2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-042a30c5f67b2c91.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7b3f33d3dbe385dc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-90b3063cd7b22527.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-17f9484f8dc4da1e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-df38345acd9d92e1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a5e10ca10bdd9e54.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-9e5b4162eeef2cef.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-3a4e739a77468800.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-01-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-0f3a0c116d5e04d6.rlib" "-Wl,-Bdynamic" "-ldl" "-ldl" "-ldl" "-lharfbuzz" "-lfreetype" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7f6df98feebaff51d9249c66980f80cfefeceeeb0819399e2151c386ac848786", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f6df98feebaff51d9249c66980f80cfefeceeeb0819399e2151c386ac848786", kill_on_drop: false }` [INFO] [stdout] 7f6df98feebaff51d9249c66980f80cfefeceeeb0819399e2151c386ac848786