[INFO] cloning repository https://github.com/snsvrno/lights-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snsvrno/lights-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnsvrno%2Flights-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnsvrno%2Flights-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32c4c97afa2ab07f32ef65a40ac170b514dd1d6d [INFO] checking snsvrno/lights-rs against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnsvrno%2Flights-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snsvrno/lights-rs on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/snsvrno/lights-rs [INFO] finished tweaking git repo https://github.com/snsvrno/lights-rs [INFO] tweaked toml for git repo https://github.com/snsvrno/lights-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/snsvrno/lights-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d25df5556ad52fdf32b9d950b04d6b49b40c06eb286ddc8029bebfebb660312 [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" "3d25df5556ad52fdf32b9d950b04d6b49b40c06eb286ddc8029bebfebb660312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d25df5556ad52fdf32b9d950b04d6b49b40c06eb286ddc8029bebfebb660312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d25df5556ad52fdf32b9d950b04d6b49b40c06eb286ddc8029bebfebb660312", kill_on_drop: false }` [INFO] [stdout] 3d25df5556ad52fdf32b9d950b04d6b49b40c06eb286ddc8029bebfebb660312 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb92b8f63b7a8081243388793d1e0a42252c6bb4b7b833914b89852b55101217 [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" "cb92b8f63b7a8081243388793d1e0a42252c6bb4b7b833914b89852b55101217", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling cc v1.0.24 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.20.12 [INFO] [stderr] Checking wayland-commons v0.20.12 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling glutin v0.18.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling lights v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking smithay-client-toolkit v0.3.0 [INFO] [stderr] Checking winit v0.17.2 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/lights-fc316f160409e927/out/test_gl_bindings.rs:1205:47 [INFO] [stdout] | [INFO] [stdout] 1205 | fn do_metaloadfn(loadfn: &mut FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void` [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] --> /opt/rustwide/target/debug/build/lights-fc316f160409e927/out/test_gl_bindings.rs:1205:47 [INFO] [stdout] | [INFO] [stdout] 1205 | fn do_metaloadfn(loadfn: &mut FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/support/opengl.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let mut vb = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/support/opengl.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let mut vao = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/support/opengl.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let mut vb = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/support/opengl.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let mut vao = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `touch` [INFO] [stdout] --> src/main.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | Touch(touch) => { /* implement later */ }, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_touch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `touch` [INFO] [stdout] --> src/main.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | Touch(touch) => { /* implement later */ }, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_touch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path_buf` [INFO] [stdout] --> src/definitions/gameloop.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | fn dropped_file(&self, file_path_buf : std::path::PathBuf) { } [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path_buf` [INFO] [stdout] --> src/definitions/gameloop.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | fn hovered_file(&self, file_path_buf : std::path::PathBuf) { } [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focus` [INFO] [stdout] --> src/definitions/gameloop.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | fn focused(&self, focus : bool) { } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/states/empty.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | fn update(&self, dt : f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path_buf` [INFO] [stdout] --> src/definitions/gameloop.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | fn dropped_file(&self, file_path_buf : std::path::PathBuf) { } [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path_buf` [INFO] [stdout] --> src/definitions/gameloop.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | fn hovered_file(&self, file_path_buf : std::path::PathBuf) { } [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focus` [INFO] [stdout] --> src/definitions/gameloop.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | fn focused(&self, focus : bool) { } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/states/empty.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | fn update(&self, dt : f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut state = states::empty::EmptyState::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut state = states::empty::EmptyState::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Error` [INFO] [stdout] --> src/definitions/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Error` [INFO] [stdout] --> src/definitions/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_X` should have a snake case name [INFO] [stdout] --> src/definitions/gameloop.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | fn resized(&self,_X : u32, _y : u32) { } [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_X` should have a snake case name [INFO] [stdout] --> src/definitions/gameloop.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | fn resized(&self,_X : u32, _y : u32) { } [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.81s [INFO] running `Command { std: "docker" "inspect" "cb92b8f63b7a8081243388793d1e0a42252c6bb4b7b833914b89852b55101217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb92b8f63b7a8081243388793d1e0a42252c6bb4b7b833914b89852b55101217", kill_on_drop: false }` [INFO] [stdout] cb92b8f63b7a8081243388793d1e0a42252c6bb4b7b833914b89852b55101217