Aug 29 18:23:27.282 INFO checking elipmoc/rust_dxlib against master#545f22340f72ee0efaf6463efb43a2840e3d35db for pr-53699 Aug 29 18:23:27.283 INFO running: cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets Aug 29 18:23:27.283 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-1/pr-53699/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-1/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 29 18:23:27.529 INFO blam! e52808dc7a70bea63a8d50534de09e55ecf45b1dca0d429b8ab8a4cc3c785b3d Aug 29 18:23:27.531 INFO running `"docker" "start" "-a" "e52808dc7a70bea63a8d50534de09e55ecf45b1dca0d429b8ab8a4cc3c785b3d"` Aug 29 18:23:28.358 INFO kablam! Compiling rust_dxlib v0.1.0 (file:///source) Aug 29 18:23:29.399 INFO kablam! warning: unused import: `std::os::raw::c_char` Aug 29 18:23:29.399 INFO kablam! --> src/functions.rs:2:5 Aug 29 18:23:29.399 INFO kablam! | Aug 29 18:23:29.399 INFO kablam! 2 | use std::os::raw::c_char; Aug 29 18:23:29.399 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 18:23:29.399 INFO kablam! | Aug 29 18:23:29.399 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 18:23:29.399 INFO kablam! Aug 29 18:23:29.439 INFO kablam! warning: unused import: `std::os::raw::c_char` Aug 29 18:23:29.439 INFO kablam! --> src/functions.rs:2:5 Aug 29 18:23:29.439 INFO kablam! | Aug 29 18:23:29.439 INFO kablam! 2 | use std::os::raw::c_char; Aug 29 18:23:29.440 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 18:23:29.440 INFO kablam! | Aug 29 18:23:29.440 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 18:23:29.440 INFO kablam! Aug 29 18:23:29.798 INFO kablam! warning: function `dx_ClearDrawScreen` should have a snake case name such as `dx_clear_draw_screen` Aug 29 18:23:29.798 INFO kablam! --> src/functions.rs:38:1 Aug 29 18:23:29.798 INFO kablam! | Aug 29 18:23:29.798 INFO kablam! 38 | / pub fn dx_ClearDrawScreen() -> i32 { Aug 29 18:23:29.798 INFO kablam! 39 | | let mut tmp = RECT { Aug 29 18:23:29.798 INFO kablam! 40 | | left: -1, Aug 29 18:23:29.798 INFO kablam! 41 | | right: -1, Aug 29 18:23:29.798 INFO kablam! ... | Aug 29 18:23:29.798 INFO kablam! 45 | | unsafe { hidden::dx_ClearDrawScreen(&mut tmp) } Aug 29 18:23:29.798 INFO kablam! 46 | | } Aug 29 18:23:29.798 INFO kablam! | |_^ Aug 29 18:23:29.798 INFO kablam! | Aug 29 18:23:29.798 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 29 18:23:29.798 INFO kablam! Aug 29 18:23:29.799 INFO kablam! warning: function `dx_LoadGraph` should have a snake case name such as `dx_load_graph` Aug 29 18:23:29.799 INFO kablam! --> src/functions.rs:48:1 Aug 29 18:23:29.799 INFO kablam! | Aug 29 18:23:29.799 INFO kablam! 48 | / pub fn dx_LoadGraph(FileName: &str) -> i32 { Aug 29 18:23:29.799 INFO kablam! 49 | | unsafe { hidden::dx_LoadGraph(CString::new(FileName).unwrap().as_ptr(), FALSE) } Aug 29 18:23:29.799 INFO kablam! 50 | | } Aug 29 18:23:29.799 INFO kablam! | |_^ Aug 29 18:23:29.799 INFO kablam! Aug 29 18:23:29.799 INFO kablam! warning: variable `FileName` should have a snake case name such as `file_name` Aug 29 18:23:29.799 INFO kablam! --> src/functions.rs:48:21 Aug 29 18:23:29.799 INFO kablam! | Aug 29 18:23:29.799 INFO kablam! 48 | pub fn dx_LoadGraph(FileName: &str) -> i32 { Aug 29 18:23:29.799 INFO kablam! | ^^^^^^^^ Aug 29 18:23:29.799 INFO kablam! Aug 29 18:23:29.811 INFO kablam! warning: function `dx_ClearDrawScreen` should have a snake case name such as `dx_clear_draw_screen` Aug 29 18:23:29.812 INFO kablam! --> src/functions.rs:38:1 Aug 29 18:23:29.812 INFO kablam! | Aug 29 18:23:29.812 INFO kablam! 38 | / pub fn dx_ClearDrawScreen() -> i32 { Aug 29 18:23:29.812 INFO kablam! 39 | | let mut tmp = RECT { Aug 29 18:23:29.812 INFO kablam! 40 | | left: -1, Aug 29 18:23:29.812 INFO kablam! 41 | | right: -1, Aug 29 18:23:29.812 INFO kablam! ... | Aug 29 18:23:29.812 INFO kablam! 45 | | unsafe { hidden::dx_ClearDrawScreen(&mut tmp) } Aug 29 18:23:29.812 INFO kablam! 46 | | } Aug 29 18:23:29.812 INFO kablam! | |_^ Aug 29 18:23:29.812 INFO kablam! | Aug 29 18:23:29.812 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 29 18:23:29.812 INFO kablam! Aug 29 18:23:29.812 INFO kablam! warning: function `dx_LoadGraph` should have a snake case name such as `dx_load_graph` Aug 29 18:23:29.812 INFO kablam! --> src/functions.rs:48:1 Aug 29 18:23:29.812 INFO kablam! | Aug 29 18:23:29.812 INFO kablam! 48 | / pub fn dx_LoadGraph(FileName: &str) -> i32 { Aug 29 18:23:29.812 INFO kablam! 49 | | unsafe { hidden::dx_LoadGraph(CString::new(FileName).unwrap().as_ptr(), FALSE) } Aug 29 18:23:29.813 INFO kablam! 50 | | } Aug 29 18:23:29.813 INFO kablam! | |_^ Aug 29 18:23:29.813 INFO kablam! Aug 29 18:23:29.813 INFO kablam! warning: variable `FileName` should have a snake case name such as `file_name` Aug 29 18:23:29.813 INFO kablam! --> src/functions.rs:48:21 Aug 29 18:23:29.813 INFO kablam! | Aug 29 18:23:29.813 INFO kablam! 48 | pub fn dx_LoadGraph(FileName: &str) -> i32 { Aug 29 18:23:29.813 INFO kablam! | ^^^^^^^^ Aug 29 18:23:29.813 INFO kablam! Aug 29 18:23:30.048 INFO kablam! warning: unnecessary parentheses around `while` condition Aug 29 18:23:30.049 INFO kablam! --> examples/img_move.rs:22:15 Aug 29 18:23:30.049 INFO kablam! | Aug 29 18:23:30.049 INFO kablam! 22 | while (dx_ScreenFlip() == 0 && dx_ProcessMessage() == 0 && dx_ClearDrawScreen() == 0) { Aug 29 18:23:30.049 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 18:23:30.049 INFO kablam! | Aug 29 18:23:30.049 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 29 18:23:30.049 INFO kablam! help: remove these parentheses Aug 29 18:23:30.049 INFO kablam! | Aug 29 18:23:30.049 INFO kablam! 22 | while dx_ScreenFlip() == 0 && dx_ProcessMessage() == 0 && Aug 29 18:23:30.049 INFO kablam! 23 | dx_ClearDrawScreen() == 0 { Aug 29 18:23:30.049 INFO kablam! | Aug 29 18:23:30.049 INFO kablam! Aug 29 18:23:30.091 INFO kablam! warning: variable does not need to be mutable Aug 29 18:23:30.091 INFO kablam! --> examples/img_move.rs:17:13 Aug 29 18:23:30.091 INFO kablam! | Aug 29 18:23:30.091 INFO kablam! 17 | let mut Handle; Aug 29 18:23:30.091 INFO kablam! | ----^^^^^^ Aug 29 18:23:30.091 INFO kablam! | | Aug 29 18:23:30.091 INFO kablam! | help: remove this `mut` Aug 29 18:23:30.091 INFO kablam! | Aug 29 18:23:30.091 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 29 18:23:30.091 INFO kablam! Aug 29 18:23:30.092 INFO kablam! warning: variable `Handle` should have a snake case name such as `handle` Aug 29 18:23:30.092 INFO kablam! --> examples/img_move.rs:17:13 Aug 29 18:23:30.092 INFO kablam! | Aug 29 18:23:30.092 INFO kablam! 17 | let mut Handle; Aug 29 18:23:30.092 INFO kablam! | ^^^^^^^^^^ Aug 29 18:23:30.093 INFO kablam! | Aug 29 18:23:30.093 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 29 18:23:30.093 INFO kablam! Aug 29 18:23:30.104 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.77s Aug 29 18:23:30.111 INFO kablam! su: No module specific data is present Aug 29 18:23:30.541 INFO running `"docker" "rm" "-f" "e52808dc7a70bea63a8d50534de09e55ecf45b1dca0d429b8ab8a4cc3c785b3d"` Aug 29 18:23:30.639 INFO blam! e52808dc7a70bea63a8d50534de09e55ecf45b1dca0d429b8ab8a4cc3c785b3d