[INFO] cloning repository https://github.com/alevann/komorebi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alevann/komorebi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falevann%2Fkomorebi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falevann%2Fkomorebi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b60453949ff62a4fb74fc7f34ff1b0ade5d844ab
[INFO] testing alevann/komorebi against beta-2021-09-08 for beta-1.56-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falevann%2Fkomorebi" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/alevann/komorebi on toolchain beta-2021-09-08
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/alevann/komorebi
[INFO] finished tweaking git repo https://github.com/alevann/komorebi
[INFO] tweaked toml for git repo https://github.com/alevann/komorebi written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/alevann/komorebi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d88ed4b579c2852900960d1e9b23b3c85b0563485e202603f3153507d88ecac2
[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" "d88ed4b579c2852900960d1e9b23b3c85b0563485e202603f3153507d88ecac2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d88ed4b579c2852900960d1e9b23b3c85b0563485e202603f3153507d88ecac2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d88ed4b579c2852900960d1e9b23b3c85b0563485e202603f3153507d88ecac2", kill_on_drop: false }`
[INFO] [stdout] d88ed4b579c2852900960d1e9b23b3c85b0563485e202603f3153507d88ecac2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5436113ef1d380193c5d7845e2d94a9bbced3112fca06848a414e3fd7468e8dd
[INFO] running `Command { std: "docker" "start" "-a" "5436113ef1d380193c5d7845e2d94a9bbced3112fca06848a414e3fd7468e8dd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling chlorine v1.0.7
[INFO] [stderr]    Compiling object v0.24.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.19
[INFO] [stderr]    Compiling takeable-option v0.5.0
[INFO] [stderr]    Compiling wayland-sys v0.28.5
[INFO] [stderr]    Compiling nom v6.1.2
[INFO] [stderr]    Compiling memoffset v0.6.3
[INFO] [stderr]    Compiling ahash v0.7.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling addr2line v0.15.1
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling andrew v0.3.1
[INFO] [stderr]    Compiling wayland-scanner v0.28.5
[INFO] [stderr]    Compiling imgui-sys v0.7.0
[INFO] [stderr]    Compiling backtrace v0.3.59
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling glium v0.29.1
[INFO] [stderr]    Compiling wayland-client v0.28.5
[INFO] [stderr]    Compiling wayland-protocols v0.28.5
[INFO] [stderr]    Compiling float-cmp v0.8.0
[INFO] [stderr]    Compiling nix v0.20.0
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling memmap2 v0.1.0
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling xcursor v0.3.3
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling tobj v3.0.1
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling calloop v0.6.5
[INFO] [stderr]    Compiling wayland-commons v0.28.5
[INFO] [stderr]    Compiling imgui v0.7.0
[INFO] [stderr]    Compiling wayland-cursor v0.28.5
[INFO] [stderr]    Compiling wayland-egl v0.28.5
[INFO] [stderr]    Compiling smithay-client-toolkit v0.12.3
[INFO] [stderr]    Compiling winit v0.24.0
[INFO] [stderr]    Compiling glutin v0.26.0
[INFO] [stderr]    Compiling imgui-winit-support v0.7.1
[INFO] [stderr]    Compiling imgui-glium-renderer v0.7.0
[INFO] [stderr]    Compiling komorebi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `matrix::*`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use matrix::*;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `angle::*`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use angle::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NoIndices`
[INFO] [stdout]   --> src/main.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |     index::{NoIndices, PrimitiveType},
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/math/matrix.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |     for i in 0..Q {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.state` which is behind a mutable reference
[INFO] [stdout]    --> src/main.rs:201:99
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 imgui_render_transform(imgui, "1", "Teapot Transform", &mut self.model.transform, self.state);
[INFO] [stdout]     |                                                                                                   ^^^^^^^^^^ move occurs because `self.state` has type `Option<State>`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] help: consider borrowing the `Option`'s content
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 imgui_render_transform(imgui, "1", "Teapot Transform", &mut self.model.transform, self.state.as_ref());
[INFO] [stdout]     |                                                                                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `imgui` but it is already borrowed
[INFO] [stdout]    --> src/main.rs:193:28
[INFO] [stdout]     |
[INFO] [stdout] 193 |             .build(&imgui, || {
[INFO] [stdout]     |              ----- ------  ^^ closure construction occurs here
[INFO] [stdout]     |              |     |
[INFO] [stdout]     |              |     borrow occurs here
[INFO] [stdout]     |              first borrow later used by call
[INFO] [stdout] ...
[INFO] [stdout] 201 |                 imgui_render_transform(imgui, "1", "Teapot Transform", &mut self.model.transform, self.state);
[INFO] [stdout]     |                                        ----- second borrow occurs due to use of `imgui` in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `transform` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/main.rs:345:47
[INFO] [stdout]     |
[INFO] [stdout] 345 |     transform_position(imgui, id, &mut state, &mut transform);
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] note: the binding is already a mutable borrow
[INFO] [stdout]    --> src/main.rs:334:16
[INFO] [stdout]     |
[INFO] [stdout] 334 |     transform: &mut Transform,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^
[INFO] [stdout] help: try removing `&mut` here
[INFO] [stdout]     |
[INFO] [stdout] 345 -     transform_position(imgui, id, &mut state, &mut transform);
[INFO] [stdout] 345 +     transform_position(imgui, id, &mut state, transform);
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `transform` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/main.rs:346:47
[INFO] [stdout]     |
[INFO] [stdout] 346 |     transform_rotation(imgui, id, &mut state, &mut transform);
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] note: the binding is already a mutable borrow
[INFO] [stdout]    --> src/main.rs:334:16
[INFO] [stdout]     |
[INFO] [stdout] 334 |     transform: &mut Transform,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^
[INFO] [stdout] help: try removing `&mut` here
[INFO] [stdout]     |
[INFO] [stdout] 346 -     transform_rotation(imgui, id, &mut state, &mut transform);
[INFO] [stdout] 346 +     transform_rotation(imgui, id, &mut state, transform);
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `transform` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/main.rs:347:44
[INFO] [stdout]     |
[INFO] [stdout] 347 |     transform_scale(imgui, id, &mut state, &mut transform);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] note: the binding is already a mutable borrow
[INFO] [stdout]    --> src/main.rs:334:16
[INFO] [stdout]     |
[INFO] [stdout] 334 |     transform: &mut Transform,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^
[INFO] [stdout] help: try removing `&mut` here
[INFO] [stdout]     |
[INFO] [stdout] 347 -     transform_scale(imgui, id, &mut state, &mut transform);
[INFO] [stdout] 347 +     transform_scale(imgui, id, &mut state, transform);
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0500, E0507, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0500`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `komorebi` due to 6 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5436113ef1d380193c5d7845e2d94a9bbced3112fca06848a414e3fd7468e8dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5436113ef1d380193c5d7845e2d94a9bbced3112fca06848a414e3fd7468e8dd", kill_on_drop: false }`
[INFO] [stdout] 5436113ef1d380193c5d7845e2d94a9bbced3112fca06848a414e3fd7468e8dd
