[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falevann%2Fkomorebi" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alevann/komorebi on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-6/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded imgui-glium-renderer v0.7.0 [INFO] [stderr] Downloaded glium v0.29.1 [INFO] [stderr] Downloaded tobj v3.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f2d3b9dcac9cdf66b410439bfdc85e73161121229e3791583a560774193fa53 [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" "5f2d3b9dcac9cdf66b410439bfdc85e73161121229e3791583a560774193fa53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f2d3b9dcac9cdf66b410439bfdc85e73161121229e3791583a560774193fa53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f2d3b9dcac9cdf66b410439bfdc85e73161121229e3791583a560774193fa53", kill_on_drop: false }` [INFO] [stdout] 5f2d3b9dcac9cdf66b410439bfdc85e73161121229e3791583a560774193fa53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe34723b4e6f4ce8674011c7616d84c0ae8c2b5ed73ee81424b390d7ff7434dd [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" "fe34723b4e6f4ce8674011c7616d84c0ae8c2b5ed73ee81424b390d7ff7434dd", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling rustc-demangle v0.1.19 [INFO] [stderr] Compiling object v0.24.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling imgui-sys v0.7.0 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [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 float-cmp v0.8.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling addr2line v0.15.1 [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 wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling calloop v0.6.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`, 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] 196 | if ce.build(&imgui) { [INFO] [stdout] | ----- second borrow occurs due to use of `imgui` in closure [INFO] [stdout] ... [INFO] [stdout] 201 | imgui_render_transform(imgui, "1", "Teapot Transform", &mut self.model.transform, self.state); [INFO] [stdout] | ----- capture is immutable because of use here [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" "fe34723b4e6f4ce8674011c7616d84c0ae8c2b5ed73ee81424b390d7ff7434dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe34723b4e6f4ce8674011c7616d84c0ae8c2b5ed73ee81424b390d7ff7434dd", kill_on_drop: false }` [INFO] [stdout] fe34723b4e6f4ce8674011c7616d84c0ae8c2b5ed73ee81424b390d7ff7434dd