[INFO] updating cached repository strangelovephd/gfx-hal-tut [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/strangelovephd/gfx-hal-tut [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/strangelovephd/gfx-hal-tut" "work/ex/beta-1.38-1/sources/1.37.0/gh/strangelovephd/gfx-hal-tut"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/strangelovephd/gfx-hal-tut'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/strangelovephd/gfx-hal-tut" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/strangelovephd/gfx-hal-tut"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/strangelovephd/gfx-hal-tut'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b2e4e43aa2fcc4ba01555ca0fffaf6cb54940c91 [INFO] sha for GitHub repo strangelovephd/gfx-hal-tut: b2e4e43aa2fcc4ba01555ca0fffaf6cb54940c91 [INFO] validating manifest of strangelovephd/gfx-hal-tut on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of strangelovephd/gfx-hal-tut on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing strangelovephd/gfx-hal-tut [INFO] finished frobbing strangelovephd/gfx-hal-tut [INFO] frobbed toml for strangelovephd/gfx-hal-tut written to work/ex/beta-1.38-1/sources/1.37.0/gh/strangelovephd/gfx-hal-tut/Cargo.toml [INFO] started frobbing strangelovephd/gfx-hal-tut [INFO] finished frobbing strangelovephd/gfx-hal-tut [INFO] frobbed toml for strangelovephd/gfx-hal-tut written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/strangelovephd/gfx-hal-tut/Cargo.toml [INFO] crate strangelovephd/gfx-hal-tut already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing strangelovephd/gfx-hal-tut against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/strangelovephd/gfx-hal-tut:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 2c12162751bdc247c39d3322e2321e41148fc4140bb9bc79fa2cac2b8c205f6f [INFO] running `"docker" "start" "-a" "2c12162751bdc247c39d3322e2321e41148fc4140bb9bc79fa2cac2b8c205f6f"` [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling wayland-scanner v0.21.11 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling rusttype v0.7.5 [INFO] [stderr] Compiling simple_logger v1.0.1 [INFO] [stderr] Compiling gfx-hal v0.1.0 [INFO] [stderr] Compiling wayland-sys v0.21.11 [INFO] [stderr] Compiling andrew v0.1.6 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [INFO] [stderr] Compiling wayland-commons v0.21.11 [INFO] [stderr] warning[E0713]: borrow may still be in use when destructor runs [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/gfx-hal-0.1.0/src/command/render_pass.rs:232:36 [INFO] [stderr] | [INFO] [stderr] 189 | impl<'a, B: Backend> RenderPassInlineEncoder<'a, B> { [INFO] [stderr] | -- lifetime `'a` defined here [INFO] [stderr] ... [INFO] [stderr] 232 | RenderPassSecondaryEncoder(self.0.cmb) [INFO] [stderr] | ---------------------------^^^^^^^^^^- returning this value requires that `*self.0.cmb` is borrowed for `'a` [INFO] [stderr] 233 | } [INFO] [stderr] | - here, drop of `self` needs exclusive access to `*self.0.cmb`, because the type `command::render_pass::RenderPassInlineEncoder<'_, B>` implements the `Drop` trait [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] warning[E0713]: borrow may still be in use when destructor runs [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/gfx-hal-0.1.0/src/command/render_pass.rs:308:62 [INFO] [stderr] | [INFO] [stderr] 262 | impl<'a, B: Backend> RenderPassSecondaryEncoder<'a, B> { [INFO] [stderr] | -- lifetime `'a` defined here [INFO] [stderr] ... [INFO] [stderr] 308 | RenderPassInlineEncoder(RenderSubpassCommon::new(self.0)) [INFO] [stderr] | -------------------------------------------------^^^^^^-- returning this value requires that `*self.0` is borrowed for `'a` [INFO] [stderr] 309 | } [INFO] [stderr] 310 | } [INFO] [stderr] | - here, drop of `self` needs exclusive access to `*self.0`, because the type `command::render_pass::RenderPassSecondaryEncoder<'_, B>` implements the `Drop` trait [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling smithay-client-toolkit v0.4.4 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling learn-gfx-hal v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:67:26 [INFO] [stderr] | [INFO] [stderr] 67 | in_flight_fences: Vec<::Fence>, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:68:36 [INFO] [stderr] | [INFO] [stderr] 68 | render_finished_semaphores: Vec<::Semaphore>, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:69:36 [INFO] [stderr] | [INFO] [stderr] 69 | image_available_semaphores: Vec<::Semaphore>, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:70:38 [INFO] [stderr] | [INFO] [stderr] 70 | command_buffers: Vec>, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:71:42 [INFO] [stderr] | [INFO] [stderr] 71 | command_pool: ManuallyDrop>, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:72:22 [INFO] [stderr] | [INFO] [stderr] 72 | framebuffers: Vec<::Framebuffer>, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:73:22 [INFO] [stderr] | [INFO] [stderr] 73 | image_views: Vec<(::ImageView)>, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:74:30 [INFO] [stderr] | [INFO] [stderr] 74 | render_pass: ManuallyDrop<::RenderPass>, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:76:27 [INFO] [stderr] | [INFO] [stderr] 76 | queue_group: QueueGroup, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:77:28 [INFO] [stderr] | [INFO] [stderr] 77 | swapchain: ManuallyDrop<::Swapchain>, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:78:24 [INFO] [stderr] | [INFO] [stderr] 78 | device: ManuallyDrop, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:79:21 [INFO] [stderr] | [INFO] [stderr] 79 | _adapter: Adapter, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:80:14 [INFO] [stderr] | [INFO] [stderr] 80 | _surface: ::Surface, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:81:27 [INFO] [stderr] | [INFO] [stderr] 81 | _instance: ManuallyDrop, [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `back` [INFO] [stderr] --> src/main.rs:87:24 [INFO] [stderr] | [INFO] [stderr] 87 | let instance = back::Instance::create(WINDOW_NAME, 1); [INFO] [stderr] | ^^^^ use of undeclared type or module `back` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LocalState` [INFO] [stderr] --> src/main.rs:242:27 [INFO] [stderr] | [INFO] [stderr] 242 | let mut local_state = LocalState::default(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `LocalState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UserInput` [INFO] [stderr] --> src/main.rs:245:22 [INFO] [stderr] | [INFO] [stderr] 245 | let inputs = UserInput::poll_events_loop(&mut winit_state.event_loop); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `UserInput` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `error!` in this scope [INFO] [stderr] --> src/main.rs:249:13 [INFO] [stderr] | [INFO] [stderr] 249 | error!("Rendering Error: {:?}", e); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `GPU` in this scope [INFO] [stderr] --> src/main.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | let GPU { device, mut queues } = unsafe { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `composite_alpha` in this scope [INFO] [stderr] --> src/main.rs:168:17 [INFO] [stderr] | [INFO] [stderr] 168 | composite_alpha, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `composite_alphas` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `the_command_buffer` in this scope [INFO] [stderr] --> src/main.rs:217:50 [INFO] [stderr] | [INFO] [stderr] 217 | let command_buffers: ArrayVec<[_; 1]> = [the_command_buffer].into(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `the_command_queue` in this scope [INFO] [stderr] --> src/main.rs:228:13 [INFO] [stderr] | [INFO] [stderr] 228 | the_command_queue.submit(submission, Some(flight_fence)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `flight_fence` in this scope [INFO] [stderr] --> src/main.rs:228:55 [INFO] [stderr] | [INFO] [stderr] 228 | the_command_queue.submit(submission, Some(flight_fence)); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `the_swapchain` in this scope [INFO] [stderr] --> src/main.rs:229:13 [INFO] [stderr] | [INFO] [stderr] 229 | the_swapchain.present(&mut the_command_queue, i_u32, present_wait_semaphores) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `the_command_queue` in this scope [INFO] [stderr] --> src/main.rs:229:40 [INFO] [stderr] | [INFO] [stderr] 229 | the_swapchain.present(&mut the_command_queue, i_u32, present_wait_semaphores) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LocalState` in this scope [INFO] [stderr] --> src/main.rs:235:51 [INFO] [stderr] | [INFO] [stderr] 235 | pub fn do_the_render(hal: &mut HalState, locals: &LocalState) -> Result<(), &str> { [INFO] [stderr] | ^^^^^^^^^^ help: a struct with a similar name exists: `HalState` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Aspects`, `AttachmentLoadOp`, `AttachmentOps`, `AttachmentStoreOp`, `Attachment`, `Backbuffer`, `CommandPoolCreateFlags`, `Extent`, `Gpu`, `Layout`, `SubpassDesc`, `SubresourceRange`, `Swizzle`, `ViewKind` [INFO] [stderr] --> src/main.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | format::{Aspects, ChannelType, Format, Swizzle}, [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] 15 | image::{Extent, Layout, SubresourceRange, Usage, ViewKind}, [INFO] [stderr] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] 16 | pass::{Attachment, AttachmentLoadOp, AttachmentOps, AttachmentStoreOp, SubpassDesc}, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] 17 | pool::{CommandPool, CommandPoolCreateFlags}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | window::{Backbuffer, FrameSync, PresentMode, Swapchain, SwapchainConfig}, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 21 | Backend, Gpu, Graphics, Instance, QueueFamily, Surface, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Event`, `WindowEvent` [INFO] [stderr] --> src/main.rs:24:36 [INFO] [stderr] | [INFO] [stderr] 24 | dpi::LogicalSize, CreationError, Event, EventsLoop, Window, WindowBuilder, WindowEvent, [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0106]: missing lifetime specifier [INFO] [stderr] --> src/main.rs:235:77 [INFO] [stderr] | [INFO] [stderr] 235 | pub fn do_the_render(hal: &mut HalState, locals: &LocalState) -> Result<(), &str> { [INFO] [stderr] | ^ expected lifetime parameter [INFO] [stderr] | [INFO] [stderr] = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `hal` or `locals` [INFO] [stderr] [INFO] [stderr] error: aborting due to 27 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0106, E0412, E0422, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0106`. [INFO] [stderr] error: Could not compile `learn-gfx-hal`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2c12162751bdc247c39d3322e2321e41148fc4140bb9bc79fa2cac2b8c205f6f"` [INFO] running `"docker" "rm" "-f" "2c12162751bdc247c39d3322e2321e41148fc4140bb9bc79fa2cac2b8c205f6f"` [INFO] [stdout] 2c12162751bdc247c39d3322e2321e41148fc4140bb9bc79fa2cac2b8c205f6f