[INFO] cloning repository https://github.com/ElArtista/Charge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ElArtista/Charge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElArtista%2FCharge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElArtista%2FCharge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 667fadb24e5cd7befef227bff39321d61079c4b3 [INFO] testing ElArtista/Charge against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElArtista%2FCharge" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ElArtista/Charge on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ElArtista/Charge [INFO] removed path dependency gl from git repo https://github.com/ElArtista/Charge [INFO] finished tweaking git repo https://github.com/ElArtista/Charge [INFO] tweaked toml for git repo https://github.com/ElArtista/Charge written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/ElArtista/Charge already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (gl) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [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-9/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (gl) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f049c3a6670f5e2bff5eb271cc79a59014b2ac5d5279ab849ad00f125301b97 [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" "0f049c3a6670f5e2bff5eb271cc79a59014b2ac5d5279ab849ad00f125301b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f049c3a6670f5e2bff5eb271cc79a59014b2ac5d5279ab849ad00f125301b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f049c3a6670f5e2bff5eb271cc79a59014b2ac5d5279ab849ad00f125301b97", kill_on_drop: false }` [INFO] [stdout] 0f049c3a6670f5e2bff5eb271cc79a59014b2ac5d5279ab849ad00f125301b97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 902d1d91d14efc913e1121a5088fefedc71e366d3175bb011f07839e3bb9397c [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" "902d1d91d14efc913e1121a5088fefedc71e366d3175bb011f07839e3bb9397c", kill_on_drop: false }` [INFO] [stderr] warning: dependency (gl) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling tobj v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling wayland-sys v0.28.2 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.28.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling generic-array v0.11.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling alga v0.7.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling nalgebra v0.16.14 [INFO] [stderr] Compiling wayland-client v0.28.2 [INFO] [stderr] Compiling wayland-protocols v0.28.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling wayland-commons v0.28.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.20.1 [INFO] [stderr] Compiling wayland-cursor v0.28.2 [INFO] [stderr] Compiling wayland-egl v0.28.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.0 [INFO] [stderr] Compiling nalgebra-glm v0.1.3 [INFO] [stderr] Compiling glutin v0.25.1 [INFO] [stderr] Compiling charge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `glutin::ElementState`, `glutin::Event`, `glutin::EventsLoop`, `glutin::GlContext`, `glutin::GlWindow`, `glutin::VirtualKeyCode`, `glutin::WindowBuilder`, `glutin::WindowEvent` [INFO] [stdout] --> src/game.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | dpi::*, Api, ContextBuilder, ElementState, Event, EventsLoop, GlContext, GlProfile, GlRequest, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ no `GlContext` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `EventsLoop` in the root [INFO] [stdout] | | no `Event` in the root [INFO] [stdout] | no `ElementState` in the root [INFO] [stdout] 5 | GlWindow, VirtualKeyCode, WindowBuilder, WindowEvent, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ no `WindowEvent` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `WindowBuilder` in the root [INFO] [stdout] | | no `VirtualKeyCode` in the root [INFO] [stdout] | no `GlWindow` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 4 | dpi::*, Api, ContextBuilder, ElementState, event, EventsLoop, GlContext, GlProfile, GlRequest, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 4 | dpi::*, Api, ContextBuilder, ElementState, Event, event_loop, GlContext, GlProfile, GlRequest, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 4 | dpi::*, Api, ContextBuilder, ElementState, Event, EventsLoop, Context, GlProfile, GlRequest, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assets/image.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | let _bytes_read = try!(buf.read_to_end(&mut data).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assets/image.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | let mut img = try!(image::load_from_memory(&data).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assets/model.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let mut m = try!(Self::load_obj(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assets/model.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | let obj = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assets/mod.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let file = try!(File::open(&fullpath).map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/mod.rs:17:52 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn load>(path: P) -> Result, String> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/game.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | let mut mdl_data = try!(load(Path::new(fpath))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/game.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | let mut model = try!(Model::from_buf(&mut mdl_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mainloop.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | update_cb: Box bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T, f32) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mainloop.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | render_cb: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, f32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mainloop.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | perf_cb: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T, f32, f32, f32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mainloop.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | update_cb: Box bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T, f32) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mainloop.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | render_cb: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, f32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mainloop.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | perf_cb: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T, f32, f32, f32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `charge` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "902d1d91d14efc913e1121a5088fefedc71e366d3175bb011f07839e3bb9397c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "902d1d91d14efc913e1121a5088fefedc71e366d3175bb011f07839e3bb9397c", kill_on_drop: false }` [INFO] [stdout] 902d1d91d14efc913e1121a5088fefedc71e366d3175bb011f07839e3bb9397c