[INFO] fetching crate minigw 0.0.6... [INFO] testing minigw-0.0.6 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate minigw 0.0.6 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate minigw 0.0.6 [INFO] finished tweaking crates.io crate minigw 0.0.6 [INFO] tweaked toml for crates.io crate minigw 0.0.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate minigw 0.0.6 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 199 packages to latest compatible versions [INFO] [stderr] Adding cgmath v0.17.0 (available: v0.18.0) [INFO] [stderr] Adding glutin v0.29.1 (available: v0.32.3) [INFO] [stderr] Adding imgui v0.10.0 (available: v0.12.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c6d7943694fbc266d5e861c7b64cb900c32b7ae775a2e4f0b8b17dc4abf122b [INFO] running `Command { std: "docker" "start" "-a" "9c6d7943694fbc266d5e861c7b64cb900c32b7ae775a2e4f0b8b17dc4abf122b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c6d7943694fbc266d5e861c7b64cb900c32b7ae775a2e4f0b8b17dc4abf122b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c6d7943694fbc266d5e861c7b64cb900c32b7ae775a2e4f0b8b17dc4abf122b", kill_on_drop: false }` [INFO] [stdout] 9c6d7943694fbc266d5e861c7b64cb900c32b7ae775a2e4f0b8b17dc4abf122b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eb6506d9fc54defd7ace29bb0415674194a8d9fd026b1993f66f6b824f4e3eb [INFO] running `Command { std: "docker" "start" "-a" "8eb6506d9fc54defd7ace29bb0415674194a8d9fd026b1993f66f6b824f4e3eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling imgui-sys v0.10.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling chlorine v1.0.13 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling imgui v0.10.0 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling minigw v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gl_helpers/imgui_impl.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mut atlas = imgui.fonts(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "8eb6506d9fc54defd7ace29bb0415674194a8d9fd026b1993f66f6b824f4e3eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eb6506d9fc54defd7ace29bb0415674194a8d9fd026b1993f66f6b824f4e3eb", kill_on_drop: false }` [INFO] [stdout] 8eb6506d9fc54defd7ace29bb0415674194a8d9fd026b1993f66f6b824f4e3eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7c9e2553231d648f522437d2489542c0d63b2d358e0964a335b2909edced4b4 [INFO] running `Command { std: "docker" "start" "-a" "c7c9e2553231d648f522437d2489542c0d63b2d358e0964a335b2909edced4b4", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gl_helpers/imgui_impl.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mut atlas = imgui.fonts(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling minigw v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gl_helpers/imgui_impl.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mut atlas = imgui.fonts(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "c7c9e2553231d648f522437d2489542c0d63b2d358e0964a335b2909edced4b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7c9e2553231d648f522437d2489542c0d63b2d358e0964a335b2909edced4b4", kill_on_drop: false }` [INFO] [stdout] c7c9e2553231d648f522437d2489542c0d63b2d358e0964a335b2909edced4b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30a05e255bb52b12117220e3b17817624e0c51dc10546713b2fbb0e21ab9613f [INFO] running `Command { std: "docker" "start" "-a" "30a05e255bb52b12117220e3b17817624e0c51dc10546713b2fbb0e21ab9613f", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/gl_helpers/imgui_impl.rs:137:21 [INFO] [stderr] | [INFO] [stderr] 137 | let mut atlas = imgui.fonts(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `minigw` (lib) generated 1 warning (run `cargo fix --lib -p minigw` to apply 1 suggestion) [INFO] [stderr] warning: `minigw` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/minigw-715208b23060e794) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests minigw [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 80) ... FAILED [INFO] [stdout] test src/lib.rs - (line 53) ... FAILED [INFO] [stdout] test src/lib.rs - (line 140) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - (line 95) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 80) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/lib.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 8 | render_texture.set_pixel(x, y, &[uv.0, uv.1, 0]); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `y` in this scope [INFO] [stdout] --> src/lib.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 8 | render_texture.set_pixel(x, y, &[uv.0, uv.1, 0]); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `uv` in this scope [INFO] [stdout] --> src/lib.rs:87:54 [INFO] [stdout] | [INFO] [stdout] 8 | render_texture.set_pixel(x, y, &[uv.0, uv.1, 0]); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `uv` in this scope [INFO] [stdout] --> src/lib.rs:87:60 [INFO] [stdout] | [INFO] [stdout] 8 | render_texture.set_pixel(x, y, &[uv.0, uv.1, 0]); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 4 arguments, but it takes 3 arguments [INFO] [stdout] --> src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 4 | / minigw::new::("Example", 1280, 720, [INFO] [stdout] 5 | | move |input, render_texture, imgui| { [INFO] [stdout] | | ----------------------------------- takes 3 arguments [INFO] [stdout] ... | [INFO] [stdout] 9 | | }); [INFO] [stdout] | |__________^ expected closure that takes 4 arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0593. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 53) stdout ---- [INFO] [stdout] error[E0593]: closure is expected to take 4 arguments, but it takes 3 arguments [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 6 | / minigw::new::("Example", 1280, 720, [INFO] [stdout] 7 | | move |input, render_texture, imgui| { [INFO] [stdout] | | ----------------------------------- takes 3 arguments [INFO] [stdout] ... | [INFO] [stdout] 21 | | }); [INFO] [stdout] 22 | | }); [INFO] [stdout] | |__________^ expected closure that takes 4 arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0593`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 140) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `stb_image` [INFO] [stdout] --> src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate stb_image; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 19) stdout ---- [INFO] [stdout] error[E0593]: closure is expected to take 4 arguments, but it takes 3 arguments [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | / minigw::new::("Example", 1280, 720, [INFO] [stdout] 5 | | move |input, render_texture, imgui| { [INFO] [stdout] | | ----------------------------------- takes 3 arguments [INFO] [stdout] 6 | | let mut render_texture = render_texture.as_mut(); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }); [INFO] [stdout] | |__________^ expected closure that takes 4 arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0593`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 95) stdout ---- [INFO] [stdout] error[E0061]: this method takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 16 | render_texture.set_pixel(x, y, &[255, 255, 255]); [INFO] [stdout] | ^^^^^^^^^------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | expected `u8`, found `&[{integer}; 3]` [INFO] [stdout] | two arguments of type `u8` and `u8` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/renderer/render_texture.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn set_pixel(&mut self, x: u32, y: u32, r: T, g: T, b: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 16 - render_texture.set_pixel(x, y, &[255, 255, 255]); [INFO] [stdout] 16 + render_texture.set_pixel(x, y, /* u8 */, /* u8 */, /* u8 */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 5 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 18 | render_texture.set_pixel(x, y, &[0, 0, 0]); [INFO] [stdout] | ^^^^^^^^^------------------ [INFO] [stdout] | | | [INFO] [stdout] | | expected `u8`, found `&[{integer}; 3]` [INFO] [stdout] | two arguments of type `u8` and `u8` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/renderer/render_texture.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn set_pixel(&mut self, x: u32, y: u32, r: T, g: T, b: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 18 - render_texture.set_pixel(x, y, &[0, 0, 0]); [INFO] [stdout] 18 + render_texture.set_pixel(x, y, /* u8 */, /* u8 */, /* u8 */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 140) [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] src/lib.rs - (line 53) [INFO] [stdout] src/lib.rs - (line 80) [INFO] [stdout] src/lib.rs - (line 95) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "30a05e255bb52b12117220e3b17817624e0c51dc10546713b2fbb0e21ab9613f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30a05e255bb52b12117220e3b17817624e0c51dc10546713b2fbb0e21ab9613f", kill_on_drop: false }` [INFO] [stdout] 30a05e255bb52b12117220e3b17817624e0c51dc10546713b2fbb0e21ab9613f