[INFO] cloning repository https://github.com/adihodos/space_invaders [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adihodos/space_invaders" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadihodos%2Fspace_invaders", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadihodos%2Fspace_invaders'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81f1a0ab9229f8e70af46b772ab0d55d75fdeae2 [INFO] testing adihodos/space_invaders against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadihodos%2Fspace_invaders" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adihodos/space_invaders on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/.cargo/config [INFO] started tweaking git repo https://github.com/adihodos/space_invaders [INFO] finished tweaking git repo https://github.com/adihodos/space_invaders [INFO] tweaked toml for git repo https://github.com/adihodos/space_invaders written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/adihodos/space_invaders already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cmake v0.1.40 [INFO] [stderr] Downloaded enumflags2_derive v0.5.0 [INFO] [stderr] Downloaded nom v1.2.4 [INFO] [stderr] Downloaded png v0.14.1 [INFO] [stderr] Downloaded num-bigint v0.2.2 [INFO] [stderr] Downloaded cc v1.0.37 [INFO] [stderr] Downloaded freetype-sys v0.7.1 [INFO] [stderr] Downloaded num-complex v0.2.3 [INFO] [stderr] Downloaded murmurhash64 v0.3.1 [INFO] [stderr] Downloaded glfw-sys v3.3.0 [INFO] [stderr] Downloaded enumflags2 v0.5.2 [INFO] [stderr] Downloaded semver v0.2.3 [INFO] [stderr] Downloaded syn v0.15.39 [INFO] [stderr] Downloaded glfw v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d455dbc0c57539e10a49e999fc8a9f306419748c3cb93d232145948a844864c7 [INFO] running `Command { std: "docker" "start" "-a" "d455dbc0c57539e10a49e999fc8a9f306419748c3cb93d232145948a844864c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d455dbc0c57539e10a49e999fc8a9f306419748c3cb93d232145948a844864c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d455dbc0c57539e10a49e999fc8a9f306419748c3cb93d232145948a844864c7", kill_on_drop: false }` [INFO] [stdout] d455dbc0c57539e10a49e999fc8a9f306419748c3cb93d232145948a844864c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97b2c69592260fc0d5647a78e1500ae132293c1348dbc59432ac6d6f29bcc9c7 [INFO] running `Command { std: "docker" "start" "-a" "97b2c69592260fc0d5647a78e1500ae132293c1348dbc59432ac6d6f29bcc9c7", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling enumflags2 v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling cmake v0.1.40 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling glfw-sys v3.3.0 [INFO] [stderr] Compiling simple_ui v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling freetype-sys v0.7.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling murmurhash64 v0.3.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glfw v0.29.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling enumflags2_derive v0.5.0 [INFO] [stdout] warning: variant `R32G32B32A32_Float` should have an upper camel case name [INFO] [stdout] --> src/hmi/base.rs:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | R32G32B32A32_Float, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `R32g32b32a32Float` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `R32G32B32A32_Double` should have an upper camel case name [INFO] [stdout] --> src/hmi/base.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | R32G32B32A32_Double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `R32g32b32a32Double` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WidgetLayoutStates`, `utility::clamp` [INFO] [stdout] --> src/hmi/button.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | WidgetLayoutStates, WidgetStates, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | colors::RGBAColor, rectangle::RectangleF32, utility::clamp, vec2::Vec2F32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `colors::RGBAColor`, `commands::CommandBuffer`, `ui_context::WindowPtr`, `window::Window` [INFO] [stdout] --> src/hmi/image.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | base::GenericHandle, commands::CommandBuffer, ui_context::WindowPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | window::Window, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | }, [INFO] [stdout] 6 | math::{colors::RGBAColor, rectangle::RectangleF32}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursor::Cursor` [INFO] [stdout] --> src/hmi/style.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cursor::Cursor, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ButtonBehaviour`, `Heading`, `Input`, `MouseButtonId`, `StyleItem`, `SymbolType`, `WidgetLayoutStates`, `WidgetStates`, `utility::clamp` [INFO] [stdout] --> src/hmi/text.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | ButtonBehaviour, Heading, TextAlign, WidgetLayoutStates, WidgetStates, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | input::{Input, MouseButtonId}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 8 | style::{Style, StyleItem, SymbolType}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | colors::RGBAColor, rectangle::RectangleF32, utility::clamp, vec2::Vec2F32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hmi::progress::do_progress` [INFO] [stdout] --> src/hmi/ui_context.rs:1600:9 [INFO] [stdout] | [INFO] [stdout] 1600 | use crate::hmi::progress::do_progress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HslColor`, `RGBAColor`, `Vec2I16`, `XyzColor` [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | colors::{HslColor, HsvColor, RGBAColor, RGBAColorF32, XyzColor}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 10 | rectangle::RectangleF32, [INFO] [stdout] 11 | vec2::{Vec2F32, Vec2I16}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DrawList`, `FontAtlas`, `FontConfig`, `Font`, `TextAlign`, `style::SymbolType`, `sys::memory_mapped_file::MemoryMappedFile` [INFO] [stdout] --> src/main.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | TextAlign, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | style::SymbolType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | text_engine::{ [INFO] [stdout] 24 | Font, FontAtlas, FontAtlasBuilder, FontConfig, FontConfigBuilder, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | vertex_output::{DrawCommand, DrawIndexType, DrawList}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | sys::memory_mapped_file::MemoryMappedFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_atlas` [INFO] [stdout] --> src/main.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | let font_atlas = FontAtlasBuilder::new(300) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_atlas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_atlas` [INFO] [stdout] --> src/main.rs:235:7 [INFO] [stdout] | [INFO] [stdout] 235 | let font_atlas = FontAtlasBuilder::new(300) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_atlas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur` [INFO] [stdout] --> src/hmi/ui_context.rs:1594:5 [INFO] [stdout] | [INFO] [stdout] 1594 | cur: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/hmi/ui_context.rs:1595:5 [INFO] [stdout] | [INFO] [stdout] 1595 | max: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiable` [INFO] [stdout] --> src/hmi/ui_context.rs:1596:5 [INFO] [stdout] | [INFO] [stdout] 1596 | modifiable: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hmi/vertex_output.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hmi/vertex_output.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | [0, 1, 2, 0, 2, 3].into_iter().for_each(|&offset| { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hmi/vertex_output.rs:535:6 [INFO] [stdout] | [INFO] [stdout] 535 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hmi/vertex_output.rs:542:24 [INFO] [stdout] | [INFO] [stdout] 542 | [0, 1, 2, 0, 2, 3].into_iter().for_each(|&offset| { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hmi/vertex_output.rs:671:8 [INFO] [stdout] | [INFO] [stdout] 671 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hmi/vertex_output.rs:676:24 [INFO] [stdout] | [INFO] [stdout] 676 | [0, 1, 2, 0, 2, 3].into_iter().for_each(|&offset| { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `freetype_sys::FT_Raster_Params` does not permit zero-initialization [INFO] [stdout] --> src/hmi/text_engine.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let mut raster_params = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: function pointers must be non-null (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/freetype-sys-0.7.1/src/lib.rs:790:5 [INFO] [stdout] | [INFO] [stdout] 790 | pub gray_spans: FT_SpanFunc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.20s [INFO] running `Command { std: "docker" "inspect" "97b2c69592260fc0d5647a78e1500ae132293c1348dbc59432ac6d6f29bcc9c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97b2c69592260fc0d5647a78e1500ae132293c1348dbc59432ac6d6f29bcc9c7", kill_on_drop: false }` [INFO] [stdout] 97b2c69592260fc0d5647a78e1500ae132293c1348dbc59432ac6d6f29bcc9c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be56e854de36fd10fb2b9bbddc498d0260e5ae71b4919006cedd1637e811bf0d [INFO] running `Command { std: "docker" "start" "-a" "be56e854de36fd10fb2b9bbddc498d0260e5ae71b4919006cedd1637e811bf0d", 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] [stderr] Compiling simple_ui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `R32G32B32A32_Float` should have an upper camel case name [INFO] [stdout] --> src/hmi/base.rs:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | R32G32B32A32_Float, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `R32g32b32a32Float` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `R32G32B32A32_Double` should have an upper camel case name [INFO] [stdout] --> src/hmi/base.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | R32G32B32A32_Double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `R32g32b32a32Double` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WidgetLayoutStates`, `utility::clamp` [INFO] [stdout] --> src/hmi/button.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | WidgetLayoutStates, WidgetStates, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | colors::RGBAColor, rectangle::RectangleF32, utility::clamp, vec2::Vec2F32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `colors::RGBAColor`, `commands::CommandBuffer`, `ui_context::WindowPtr`, `window::Window` [INFO] [stdout] --> src/hmi/image.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | base::GenericHandle, commands::CommandBuffer, ui_context::WindowPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | window::Window, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | }, [INFO] [stdout] 6 | math::{colors::RGBAColor, rectangle::RectangleF32}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursor::Cursor` [INFO] [stdout] --> src/hmi/style.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cursor::Cursor, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ButtonBehaviour`, `Heading`, `Input`, `MouseButtonId`, `StyleItem`, `SymbolType`, `WidgetLayoutStates`, `WidgetStates`, `utility::clamp` [INFO] [stdout] --> src/hmi/text.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | ButtonBehaviour, Heading, TextAlign, WidgetLayoutStates, WidgetStates, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | input::{Input, MouseButtonId}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 8 | style::{Style, StyleItem, SymbolType}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | colors::RGBAColor, rectangle::RectangleF32, utility::clamp, vec2::Vec2F32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hmi::progress::do_progress` [INFO] [stdout] --> src/hmi/ui_context.rs:1600:9 [INFO] [stdout] | [INFO] [stdout] 1600 | use crate::hmi::progress::do_progress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HslColor`, `RGBAColor`, `Vec2I16`, `XyzColor` [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | colors::{HslColor, HsvColor, RGBAColor, RGBAColorF32, XyzColor}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 10 | rectangle::RectangleF32, [INFO] [stdout] 11 | vec2::{Vec2F32, Vec2I16}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DrawList`, `FontAtlas`, `FontConfig`, `Font`, `TextAlign`, `style::SymbolType`, `sys::memory_mapped_file::MemoryMappedFile` [INFO] [stdout] --> src/main.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | TextAlign, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | style::SymbolType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | text_engine::{ [INFO] [stdout] 24 | Font, FontAtlas, FontAtlasBuilder, FontConfig, FontConfigBuilder, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | vertex_output::{DrawCommand, DrawIndexType, DrawList}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | sys::memory_mapped_file::MemoryMappedFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_atlas` [INFO] [stdout] --> src/main.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | let font_atlas = FontAtlasBuilder::new(300) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_atlas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_atlas` [INFO] [stdout] --> src/main.rs:235:7 [INFO] [stdout] | [INFO] [stdout] 235 | let font_atlas = FontAtlasBuilder::new(300) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_atlas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur` [INFO] [stdout] --> src/hmi/ui_context.rs:1594:5 [INFO] [stdout] | [INFO] [stdout] 1594 | cur: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/hmi/ui_context.rs:1595:5 [INFO] [stdout] | [INFO] [stdout] 1595 | max: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiable` [INFO] [stdout] --> src/hmi/ui_context.rs:1596:5 [INFO] [stdout] | [INFO] [stdout] 1596 | modifiable: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hmi/buffer.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | let mut new_slice = dyb.alloc_elements(5); [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/hmi/buffer.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | let mut new_slice = fixb.alloc_elements(4); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hmi/vertex_output.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hmi/vertex_output.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | [0, 1, 2, 0, 2, 3].into_iter().for_each(|&offset| { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hmi/vertex_output.rs:535:6 [INFO] [stdout] | [INFO] [stdout] 535 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hmi/vertex_output.rs:542:24 [INFO] [stdout] | [INFO] [stdout] 542 | [0, 1, 2, 0, 2, 3].into_iter().for_each(|&offset| { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hmi/vertex_output.rs:671:8 [INFO] [stdout] | [INFO] [stdout] 671 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/hmi/vertex_output.rs:676:24 [INFO] [stdout] | [INFO] [stdout] 676 | [0, 1, 2, 0, 2, 3].into_iter().for_each(|&offset| { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `freetype_sys::FT_Raster_Params` does not permit zero-initialization [INFO] [stdout] --> src/hmi/text_engine.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let mut raster_params = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: function pointers must be non-null (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/freetype-sys-0.7.1/src/lib.rs:790:5 [INFO] [stdout] | [INFO] [stdout] 790 | pub gray_spans: FT_SpanFunc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.71s [INFO] running `Command { std: "docker" "inspect" "be56e854de36fd10fb2b9bbddc498d0260e5ae71b4919006cedd1637e811bf0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be56e854de36fd10fb2b9bbddc498d0260e5ae71b4919006cedd1637e811bf0d", kill_on_drop: false }` [INFO] [stdout] be56e854de36fd10fb2b9bbddc498d0260e5ae71b4919006cedd1637e811bf0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 74378371f687b0f95e5df4cda40802e2d4177192d8cea6a828d1860272057b3a [INFO] running `Command { std: "docker" "start" "-a" "74378371f687b0f95e5df4cda40802e2d4177192d8cea6a828d1860272057b3a", kill_on_drop: false }` [INFO] [stderr] warning: variant `R32G32B32A32_Float` should have an upper camel case name [INFO] [stderr] --> src/hmi/base.rs:170:3 [INFO] [stderr] | [INFO] [stderr] 170 | R32G32B32A32_Float, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `R32g32b32a32Float` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `R32G32B32A32_Double` should have an upper camel case name [INFO] [stderr] --> src/hmi/base.rs:171:3 [INFO] [stderr] | [INFO] [stderr] 171 | R32G32B32A32_Double, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `R32g32b32a32Double` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `WidgetLayoutStates`, `utility::clamp` [INFO] [stderr] --> src/hmi/button.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | WidgetLayoutStates, WidgetStates, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | colors::RGBAColor, rectangle::RectangleF32, utility::clamp, vec2::Vec2F32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `colors::RGBAColor`, `commands::CommandBuffer`, `ui_context::WindowPtr`, `window::Window` [INFO] [stderr] --> src/hmi/image.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | base::GenericHandle, commands::CommandBuffer, ui_context::WindowPtr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 4 | window::Window, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 5 | }, [INFO] [stderr] 6 | math::{colors::RGBAColor, rectangle::RectangleF32}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cursor::Cursor` [INFO] [stderr] --> src/hmi/style.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | cursor::Cursor, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ButtonBehaviour`, `Heading`, `Input`, `MouseButtonId`, `StyleItem`, `SymbolType`, `WidgetLayoutStates`, `WidgetStates`, `utility::clamp` [INFO] [stderr] --> src/hmi/text.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | ButtonBehaviour, Heading, TextAlign, WidgetLayoutStates, WidgetStates, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 7 | input::{Input, MouseButtonId}, [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] 8 | style::{Style, StyleItem, SymbolType}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 13 | colors::RGBAColor, rectangle::RectangleF32, utility::clamp, vec2::Vec2F32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::hmi::progress::do_progress` [INFO] [stderr] --> src/hmi/ui_context.rs:1600:9 [INFO] [stderr] | [INFO] [stderr] 1600 | use crate::hmi::progress::do_progress; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HslColor`, `RGBAColor`, `Vec2I16`, `XyzColor` [INFO] [stderr] --> src/main.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | colors::{HslColor, HsvColor, RGBAColor, RGBAColorF32, XyzColor}, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] 10 | rectangle::RectangleF32, [INFO] [stderr] 11 | vec2::{Vec2F32, Vec2I16}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DrawList`, `FontAtlas`, `FontConfig`, `Font`, `TextAlign`, `style::SymbolType`, `sys::memory_mapped_file::MemoryMappedFile` [INFO] [stderr] --> src/main.rs:19:7 [INFO] [stderr] | [INFO] [stderr] 19 | TextAlign, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | style::SymbolType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 23 | text_engine::{ [INFO] [stderr] 24 | Font, FontAtlas, FontAtlasBuilder, FontConfig, FontConfigBuilder, [INFO] [stderr] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | vertex_output::{DrawCommand, DrawIndexType, DrawList}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | sys::memory_mapped_file::MemoryMappedFile, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `font_atlas` [INFO] [stderr] --> src/main.rs:88:7 [INFO] [stderr] | [INFO] [stderr] 88 | let font_atlas = FontAtlasBuilder::new(300) [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_atlas` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `font_atlas` [INFO] [stderr] --> src/main.rs:235:7 [INFO] [stderr] | [INFO] [stderr] 235 | let font_atlas = FontAtlasBuilder::new(300) [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_atlas` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cur` [INFO] [stderr] --> src/hmi/ui_context.rs:1594:5 [INFO] [stderr] | [INFO] [stderr] 1594 | cur: u32, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cur` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max` [INFO] [stderr] --> src/hmi/ui_context.rs:1595:5 [INFO] [stderr] | [INFO] [stderr] 1595 | max: u32, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `modifiable` [INFO] [stderr] --> src/hmi/ui_context.rs:1596:5 [INFO] [stderr] | [INFO] [stderr] 1596 | modifiable: bool, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiable` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/hmi/buffer.rs:158:11 [INFO] [stderr] | [INFO] [stderr] 158 | let mut new_slice = dyb.alloc_elements(5); [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/hmi/buffer.rs:207:11 [INFO] [stderr] | [INFO] [stderr] 207 | let mut new_slice = fixb.alloc_elements(4); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/hmi/vertex_output.rs:202:8 [INFO] [stderr] | [INFO] [stderr] 202 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/hmi/vertex_output.rs:207:26 [INFO] [stderr] | [INFO] [stderr] 207 | [0, 1, 2, 0, 2, 3].into_iter().for_each(|&offset| { [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/hmi/vertex_output.rs:535:6 [INFO] [stderr] | [INFO] [stderr] 535 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/hmi/vertex_output.rs:542:24 [INFO] [stderr] | [INFO] [stderr] 542 | [0, 1, 2, 0, 2, 3].into_iter().for_each(|&offset| { [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/hmi/vertex_output.rs:671:8 [INFO] [stderr] | [INFO] [stderr] 671 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/hmi/vertex_output.rs:676:24 [INFO] [stderr] | [INFO] [stderr] 676 | [0, 1, 2, 0, 2, 3].into_iter().for_each(|&offset| { [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: the type `freetype_sys::FT_Raster_Params` does not permit zero-initialization [INFO] [stderr] --> src/hmi/text_engine.rs:68:31 [INFO] [stderr] | [INFO] [stderr] 68 | let mut raster_params = std::mem::zeroed::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] note: function pointers must be non-null (in this struct field) [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/freetype-sys-0.7.1/src/lib.rs:790:5 [INFO] [stderr] | [INFO] [stderr] 790 | pub gray_spans: FT_SpanFunc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 23 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/simple_ui-f49bc18b8dad615b) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test hmi::buffer::tests::test_dyn_buffer_alloc ... ok [INFO] [stdout] test hmi::buffer::tests::test_fixed_buffer ... ok [INFO] [stdout] test math::colors::tests::test_conversion_from_html ... ok [INFO] [stdout] test math::colors::tests::test_conversion_from_slice ... ok [INFO] [stdout] test math::color_conversion::tests::test_hsl_to_rgb ... ok [INFO] [stdout] test sys::memory_mapped_file::tests::test_memory_mapped_file ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- sys::memory_mapped_file::tests::test_memory_mapped_file stdout ---- [INFO] [stdout] thread 'sys::memory_mapped_file::tests::test_memory_mapped_file' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/sys/memory_mapped_file.rs:332:44 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5599132058f0 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5599132058f0 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5599132058f0 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5599132058f0 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x559913228b0c - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x559913202835 - as std[77c0456e0eb29f0c]::io::Write>::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x559913207a7b - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x559913207a7b - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x559913207a7b - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55991320758c - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x559913208121 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x559913207c27 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x559913205dec - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x559913207b89 - rust_begin_unwind [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x5599131a34b1 - core[ee1ca6415511a9c4]::panicking::panic_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x5599131a35a3 - core[ee1ca6415511a9c4]::result::unwrap_failed [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x5599131a590e - >::unwrap [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/result.rs:1037:23 [INFO] [stdout] 17: 0x5599131a7aab - simple_ui[1ae67db1232e1424]::sys::memory_mapped_file::tests::test_memory_mapped_file [INFO] [stdout] at /opt/rustwide/workdir/src/sys/memory_mapped_file.rs:332:19 [INFO] [stdout] 18: 0x5599131a799a - simple_ui[1ae67db1232e1424]::sys::memory_mapped_file::tests::test_memory_mapped_file::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/sys/memory_mapped_file.rs:326:3 [INFO] [stdout] 19: 0x5599131aaa8e - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5599131d27e3 - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5599131d27e3 - test[eeb9024d9ac7bc83]::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:577:5 [INFO] [stdout] 22: 0x5599131d12ac - + core[ee1ca6415511a9c4]::marker::Send> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 23: 0x5599131d12ac - + core[ee1ca6415511a9c4]::marker::Send>> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 24: 0x5599131d12ac - std[77c0456e0eb29f0c]::panicking::try::do_call:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x5599131d12ac - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe + core[ee1ca6415511a9c4]::marker::Send>>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x5599131d12ac - std[77c0456e0eb29f0c]::panic::catch_unwind:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 27: 0x5599131d12ac - test[eeb9024d9ac7bc83]::run_test_in_process [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:600:18 [INFO] [stdout] 28: 0x5599131d12ac - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x5599131b0f72 - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x5599131b0f72 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x5599131b1858 - ::spawn_unchecked::::{closure#0}::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x5599131b1858 - ::spawn_unchecked::{closure#0}::{closure#0}> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 33: 0x5599131b1858 - std[77c0456e0eb29f0c]::panicking::try::do_call::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x5599131b1858 - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe<::spawn_unchecked::{closure#0}::{closure#0}>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x5599131b1858 - std[77c0456e0eb29f0c]::panic::catch_unwind::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 36: 0x5599131b1858 - ::spawn_unchecked::::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x5599131b1858 - <::spawn_unchecked::{closure#0} as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55991320cc57 - > as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 39: 0x55991320cc57 - >> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x55991320cc57 - ::new::thread_start [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 41: 0x7f211b92f609 - start_thread [INFO] [stdout] 42: 0x7f211b6ff293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] sys::memory_mapped_file::tests::test_memory_mapped_file [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin simple_ui' [INFO] running `Command { std: "docker" "inspect" "74378371f687b0f95e5df4cda40802e2d4177192d8cea6a828d1860272057b3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74378371f687b0f95e5df4cda40802e2d4177192d8cea6a828d1860272057b3a", kill_on_drop: false }` [INFO] [stdout] 74378371f687b0f95e5df4cda40802e2d4177192d8cea6a828d1860272057b3a