[INFO] cloning repository https://github.com/Terkwood/hello_imgui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Terkwood/hello_imgui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerkwood%2Fhello_imgui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerkwood%2Fhello_imgui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b3da2f679ff8350e11e4fce9f9c702f9c6c363d [INFO] checking Terkwood/hello_imgui against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerkwood%2Fhello_imgui" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Terkwood/hello_imgui on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Terkwood/hello_imgui [INFO] removed path dependency imgui from git repo https://github.com/Terkwood/hello_imgui [INFO] removed path dependency imgui-gfx-renderer from git repo https://github.com/Terkwood/hello_imgui [INFO] removed path dependency imgui-sys from git repo https://github.com/Terkwood/hello_imgui [INFO] finished tweaking git repo https://github.com/Terkwood/hello_imgui [INFO] tweaked toml for git repo https://github.com/Terkwood/hello_imgui written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Terkwood/hello_imgui already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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] error: the lock file /workspace/builds/worker-8/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32a3f4376e2072f1de0271cdc21b69092e211dbab1f74d36e23ef3d940adaaba [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" "32a3f4376e2072f1de0271cdc21b69092e211dbab1f74d36e23ef3d940adaaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32a3f4376e2072f1de0271cdc21b69092e211dbab1f74d36e23ef3d940adaaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a3f4376e2072f1de0271cdc21b69092e211dbab1f74d36e23ef3d940adaaba", kill_on_drop: false }` [INFO] [stdout] 32a3f4376e2072f1de0271cdc21b69092e211dbab1f74d36e23ef3d940adaaba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f8582ba719c91085c7bd2a1aed6121a170c3f97f552b0ae759c5c273a9dc30d [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" "1f8582ba719c91085c7bd2a1aed6121a170c3f97f552b0ae759c5c273a9dc30d", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking token_store v0.1.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Compiling imgui-sys v0.0.19 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking wayland-sys v0.12.5 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling glutin v0.14.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking wayland-kbd v0.13.1 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Checking wayland-window v0.13.3 [INFO] [stderr] Checking winit v0.12.0 [INFO] [stderr] Checking gfx_core v0.8.3 [INFO] [stderr] Checking gfx v0.17.1 [INFO] [stderr] Checking gfx_device_gl v0.15.5 [INFO] [stderr] Checking gfx_window_glutin v0.22.0 [INFO] [stderr] Checking imgui v0.0.19 [INFO] [stderr] Checking imgui-gfx-renderer v0.0.19 [INFO] [stderr] Checking hello_imgui v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx` is imported redundantly [INFO] [stdout] --> src/support_gfx/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use gfx::{self, Device}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate gfx; [INFO] [stdout] | ----------------- the item `gfx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_window_glutin` is imported redundantly [INFO] [stdout] --> src/support_gfx/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use gfx_window_glutin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern crate gfx_window_glutin; [INFO] [stdout] | ------------------------------- the item `gfx_window_glutin` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glutin` is imported redundantly [INFO] [stdout] --> src/support_gfx/mod.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use glutin::{self, GlContext}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate glutin; [INFO] [stdout] | -------------------- the item `glutin` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx` is imported redundantly [INFO] [stdout] --> src/support_gfx/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use gfx::{self, Device}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate gfx; [INFO] [stdout] | ----------------- the item `gfx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_window_glutin` is imported redundantly [INFO] [stdout] --> src/support_gfx/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use gfx_window_glutin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern crate gfx_window_glutin; [INFO] [stdout] | ------------------------------- the item `gfx_window_glutin` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glutin` is imported redundantly [INFO] [stdout] --> src/support_gfx/mod.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use glutin::{self, GlContext}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate glutin; [INFO] [stdout] | -------------------- the item `glutin` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/support_gfx/mod.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | let ui = imgui.frame(size_points, size_pixels, delta_s); [INFO] [stdout] | ^^^^^ ----------- ----------- ------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/support_gfx/mod.rs:240:26 [INFO] [stdout] | [INFO] [stdout] 240 | imgui.set_mouse_down(&[ [INFO] [stdout] | __________________________^ [INFO] [stdout] 241 | | mouse_state.pressed.0, [INFO] [stdout] 242 | | mouse_state.pressed.1, [INFO] [stdout] 243 | | mouse_state.pressed.2, [INFO] [stdout] 244 | | false, [INFO] [stdout] 245 | | false, [INFO] [stdout] 246 | | ]); [INFO] [stdout] | |_____^ expected array `[bool; 5]`, found `&[bool; 5]` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 240 | imgui.set_mouse_down([ [INFO] [stdout] 241 | mouse_state.pressed.0, [INFO] [stdout] 242 | mouse_state.pressed.1, [INFO] [stdout] 243 | mouse_state.pressed.2, [INFO] [stdout] 244 | false, [INFO] [stdout] 245 | false, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_imgui` [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[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/support_gfx/mod.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | let ui = imgui.frame(size_points, size_pixels, delta_s); [INFO] [stdout] | ^^^^^ ----------- ----------- ------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/support_gfx/mod.rs:240:26 [INFO] [stdout] | [INFO] [stdout] 240 | imgui.set_mouse_down(&[ [INFO] [stdout] | __________________________^ [INFO] [stdout] 241 | | mouse_state.pressed.0, [INFO] [stdout] 242 | | mouse_state.pressed.1, [INFO] [stdout] 243 | | mouse_state.pressed.2, [INFO] [stdout] 244 | | false, [INFO] [stdout] 245 | | false, [INFO] [stdout] 246 | | ]); [INFO] [stdout] | |_____^ expected array `[bool; 5]`, found `&[bool; 5]` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 240 | imgui.set_mouse_down([ [INFO] [stdout] 241 | mouse_state.pressed.0, [INFO] [stdout] 242 | mouse_state.pressed.1, [INFO] [stdout] 243 | mouse_state.pressed.2, [INFO] [stdout] 244 | false, [INFO] [stdout] 245 | false, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [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" "1f8582ba719c91085c7bd2a1aed6121a170c3f97f552b0ae759c5c273a9dc30d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f8582ba719c91085c7bd2a1aed6121a170c3f97f552b0ae759c5c273a9dc30d", kill_on_drop: false }` [INFO] [stdout] 1f8582ba719c91085c7bd2a1aed6121a170c3f97f552b0ae759c5c273a9dc30d