[INFO] cloning repository https://github.com/jamiltron/gfx_sprite_2d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamiltron/gfx_sprite_2d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamiltron%2Fgfx_sprite_2d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamiltron%2Fgfx_sprite_2d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 312a2c4f94df2590a5ffe0723d50f070772692bc [INFO] checking jamiltron/gfx_sprite_2d against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamiltron%2Fgfx_sprite_2d" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamiltron/gfx_sprite_2d on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jamiltron/gfx_sprite_2d [INFO] finished tweaking git repo https://github.com/jamiltron/gfx_sprite_2d [INFO] tweaked toml for git repo https://github.com/jamiltron/gfx_sprite_2d written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/jamiltron/gfx_sprite_2d already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ceb366ba6ed23406c32653ca9dc163c3fa189bd57d6e0a3f1e35c5cb1b9f21ec [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" "ceb366ba6ed23406c32653ca9dc163c3fa189bd57d6e0a3f1e35c5cb1b9f21ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ceb366ba6ed23406c32653ca9dc163c3fa189bd57d6e0a3f1e35c5cb1b9f21ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceb366ba6ed23406c32653ca9dc163c3fa189bd57d6e0a3f1e35c5cb1b9f21ec", kill_on_drop: false }` [INFO] [stdout] ceb366ba6ed23406c32653ca9dc163c3fa189bd57d6e0a3f1e35c5cb1b9f21ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5183bee3a95c3a7ad78ccd3f60b83821b8209903953fd68129bfb653553aa397 [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" "5183bee3a95c3a7ad78ccd3f60b83821b8209903953fd68129bfb653553aa397", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking weezl v0.1.1 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling wayland-sys v0.28.0 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling wayland-scanner v0.28.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking line_drawing v0.8.0 [INFO] [stderr] Checking andrew v0.3.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling wayland-client v0.28.0 [INFO] [stderr] Compiling wayland-protocols v0.28.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking xcursor v0.3.2 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking wayland-commons v0.28.0 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking image v0.23.10 [INFO] [stderr] Checking wayland-cursor v0.28.0 [INFO] [stderr] Checking wayland-egl v0.28.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking gfx_window_glutin v0.31.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.0 [INFO] [stderr] Checking glutin v0.25.1 [INFO] [stderr] Checking gfx_sprite_2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `gfx::tex` [INFO] [stdout] --> src/main.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use gfx::{Device, tex}; [INFO] [stdout] | ^^^ no `tex` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | glutin::Event::KeyboardInput(_, _, Some(glutin::VirtualKeyCode::Escape)) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/main.rs:140:65 [INFO] [stdout] | [INFO] [stdout] 140 | glutin::Event::KeyboardInput(_, _, Some(glutin::VirtualKeyCode::Escape)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | glutin::Event::Closed => break 'main, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MASK_ALL` in module `gfx::state` [INFO] [stdout] --> src/main.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | out: gfx::BlendTarget = ("color", gfx::state::MASK_ALL, gfx::preset::blend::ALPHA), [INFO] [stdout] | ^^^^^^^^ not found in `gfx::state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stdout] --> src/main.rs:74:53 [INFO] [stdout] | [INFO] [stdout] 74 | let img = image::load(Cursor::new(data), image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^ not found in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/main.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | let builder = glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gfx::tex` [INFO] [stdout] --> src/main.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use gfx::{Device, tex}; [INFO] [stdout] | ^^^ no `tex` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | glutin::Event::KeyboardInput(_, _, Some(glutin::VirtualKeyCode::Escape)) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/main.rs:140:65 [INFO] [stdout] | [INFO] [stdout] 140 | glutin::Event::KeyboardInput(_, _, Some(glutin::VirtualKeyCode::Escape)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | glutin::Event::Closed => break 'main, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MASK_ALL` in module `gfx::state` [INFO] [stdout] --> src/main.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | out: gfx::BlendTarget = ("color", gfx::state::MASK_ALL, gfx::preset::blend::ALPHA), [INFO] [stdout] | ^^^^^^^^ not found in `gfx::state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stdout] --> src/main.rs:74:53 [INFO] [stdout] | [INFO] [stdout] 74 | let img = image::load(Cursor::new(data), image::PNG).unwrap().to_rgba(); [INFO] [stdout] | ^^^ not found in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/main.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | let builder = glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_texture_const_u8` found for mutable reference `&mut F` in the current scope [INFO] [stdout] --> src/main.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let (_, view) = factory.create_texture_const_u8::(kind, &[&img]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | gfx_window_glutin::init::(builder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let (window, mut device, mut factory, main_color, _) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found tuple [INFO] [stdout] 93 | gfx_window_glutin::init::(builder); [INFO] [stdout] | ------------------------------------------------------------ this expression has type `std::result::Result<(glutin::windowed::ContextWrapper, gfx_device_gl::Device, gfx_device_gl::factory::Factory, RenderTargetView, DepthStencilView), glutin::CreationError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(glutin::windowed::ContextWrapper, gfx_device_gl::Device, gfx_device_gl::factory::Factory, RenderTargetView, DepthStencilView), glutin::CreationError>` [INFO] [stdout] found tuple `(_, _, _, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> src/main.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use gfx::{Device, tex}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gfx::traits::FactoryExt` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use gfx::traits::FactoryExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gfx_sprite_2d` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `create_texture_const_u8` found for mutable reference `&mut F` in the current scope [INFO] [stdout] --> src/main.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let (_, view) = factory.create_texture_const_u8::(kind, &[&img]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | gfx_window_glutin::init::(builder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let (window, mut device, mut factory, main_color, _) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found tuple [INFO] [stdout] 93 | gfx_window_glutin::init::(builder); [INFO] [stdout] | ------------------------------------------------------------ this expression has type `std::result::Result<(glutin::windowed::ContextWrapper, gfx_device_gl::Device, gfx_device_gl::factory::Factory, RenderTargetView, DepthStencilView), glutin::CreationError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(glutin::windowed::ContextWrapper, gfx_device_gl::Device, gfx_device_gl::factory::Factory, RenderTargetView, DepthStencilView), glutin::CreationError>` [INFO] [stdout] found tuple `(_, _, _, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> src/main.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use gfx::{Device, tex}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gfx::traits::FactoryExt` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use gfx::traits::FactoryExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5183bee3a95c3a7ad78ccd3f60b83821b8209903953fd68129bfb653553aa397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5183bee3a95c3a7ad78ccd3f60b83821b8209903953fd68129bfb653553aa397", kill_on_drop: false }` [INFO] [stdout] 5183bee3a95c3a7ad78ccd3f60b83821b8209903953fd68129bfb653553aa397