[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b3da2f679ff8350e11e4fce9f9c702f9c6c363d [INFO] testing Terkwood/hello_imgui against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerkwood%2Fhello_imgui" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Terkwood/hello_imgui on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-1/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fb428cb113b5ceedb5d1e32e5f03b9e63000cebb0e2902c816738a8fe79fe5e [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" "9fb428cb113b5ceedb5d1e32e5f03b9e63000cebb0e2902c816738a8fe79fe5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fb428cb113b5ceedb5d1e32e5f03b9e63000cebb0e2902c816738a8fe79fe5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fb428cb113b5ceedb5d1e32e5f03b9e63000cebb0e2902c816738a8fe79fe5e", kill_on_drop: false }` [INFO] [stdout] 9fb428cb113b5ceedb5d1e32e5f03b9e63000cebb0e2902c816738a8fe79fe5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 571734e6c9ef96cbb0f8e15e0b7de86f943397d726b5e35f2a1cc658a3f11065 [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" "571734e6c9ef96cbb0f8e15e0b7de86f943397d726b5e35f2a1cc658a3f11065", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling imgui-sys v0.0.19 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling glutin v0.14.0 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling wayland-window v0.13.3 [INFO] [stderr] Compiling winit v0.12.0 [INFO] [stderr] Compiling gfx_core v0.8.3 [INFO] [stderr] Compiling gfx v0.17.1 [INFO] [stderr] Compiling gfx_device_gl v0.15.5 [INFO] [stderr] Compiling gfx_window_glutin v0.22.0 [INFO] [stderr] Compiling imgui v0.0.19 [INFO] [stderr] Compiling imgui-gfx-renderer v0.0.19 [INFO] [stderr] Compiling 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] 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] running `Command { std: "docker" "inspect" "571734e6c9ef96cbb0f8e15e0b7de86f943397d726b5e35f2a1cc658a3f11065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "571734e6c9ef96cbb0f8e15e0b7de86f943397d726b5e35f2a1cc658a3f11065", kill_on_drop: false }` [INFO] [stdout] 571734e6c9ef96cbb0f8e15e0b7de86f943397d726b5e35f2a1cc658a3f11065