[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 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElArtista%2FCharge" "/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/ElArtista/Charge on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-8/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" "+1.49.0" "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] 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" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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] 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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b4d0f0b0aae3e011f1440df7efd2e1e1d84ac8187c87416c402f135d11a1601 [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" "7b4d0f0b0aae3e011f1440df7efd2e1e1d84ac8187c87416c402f135d11a1601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b4d0f0b0aae3e011f1440df7efd2e1e1d84ac8187c87416c402f135d11a1601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b4d0f0b0aae3e011f1440df7efd2e1e1d84ac8187c87416c402f135d11a1601", kill_on_drop: false }` [INFO] [stdout] 7b4d0f0b0aae3e011f1440df7efd2e1e1d84ac8187c87416c402f135d11a1601 [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=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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1087476740f4739c428dc7c4a9c46d10f2d940776177973c059285f774fcfc87 [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" "1087476740f4739c428dc7c4a9c46d10f2d940776177973c059285f774fcfc87", 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.81 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling tobj v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling generic-array v0.11.1 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling alga v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [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 wayland-client v0.28.3 [INFO] [stderr] Compiling wayland-protocols v0.28.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [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 parking_lot_core v0.8.2 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling mio v0.6.23 [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 xcursor v0.3.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling nalgebra v0.16.14 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling wayland-commons v0.28.3 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling image v0.20.1 [INFO] [stderr] Compiling wayland-cursor v0.28.3 [INFO] [stderr] Compiling wayland-egl v0.28.3 [INFO] [stderr] Compiling nalgebra-glm v0.1.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.2 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [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: 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/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: 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" "1087476740f4739c428dc7c4a9c46d10f2d940776177973c059285f774fcfc87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1087476740f4739c428dc7c4a9c46d10f2d940776177973c059285f774fcfc87", kill_on_drop: false }` [INFO] [stdout] 1087476740f4739c428dc7c4a9c46d10f2d940776177973c059285f774fcfc87