Oct 14 22:18:32.172 INFO testing droidkid/rust-tetris against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling-1 Oct 14 22:18:32.172 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-0/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 14 22:18:32.616 INFO blam! 6d77fd18b305a653749119c46eb5e98dfb17b758939a2e50ab4ed303609cf14e Oct 14 22:18:32.619 INFO running `"docker" "start" "-a" "6d77fd18b305a653749119c46eb5e98dfb17b758939a2e50ab4ed303609cf14e"` Oct 14 22:18:34.135 INFO kablam! usermod: no changes Oct 14 22:18:34.313 INFO kablam! Compiling num-integer v0.1.39 Oct 14 22:18:34.314 INFO kablam! Compiling sdl2-sys v0.31.0 Oct 14 22:18:38.111 INFO kablam! Compiling num-iter v0.1.37 Oct 14 22:18:38.864 INFO kablam! Compiling num v0.1.42 Oct 14 22:18:41.412 INFO kablam! Compiling sdl2 v0.31.0 Oct 14 22:18:47.367 INFO kablam! Compiling rust-tetris v0.1.0 (/source) Oct 14 22:18:47.803 INFO kablam! warning: unused import: `std::thread` Oct 14 22:18:47.803 INFO kablam! --> src/main.rs:17:5 Oct 14 22:18:47.803 INFO kablam! | Oct 14 22:18:47.803 INFO kablam! 17 | use std::thread; Oct 14 22:18:47.804 INFO kablam! | ^^^^^^^^^^^ Oct 14 22:18:47.804 INFO kablam! | Oct 14 22:18:47.804 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 22:18:47.804 INFO kablam! Oct 14 22:18:47.804 INFO kablam! warning: unnecessary parentheses around `for` head expression Oct 14 22:18:47.805 INFO kablam! --> src/main.rs:422:22 Oct 14 22:18:47.805 INFO kablam! | Oct 14 22:18:47.805 INFO kablam! 422 | for j in (1..self.width-1) { Oct 14 22:18:47.805 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:47.805 INFO kablam! | Oct 14 22:18:47.805 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 14 22:18:47.806 INFO kablam! Oct 14 22:18:47.806 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:47.806 INFO kablam! --> src/main.rs:473:16 Oct 14 22:18:47.806 INFO kablam! | Oct 14 22:18:47.806 INFO kablam! 473 | if (self.game_over_countdown > 0) { Oct 14 22:18:47.806 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:47.807 INFO kablam! Oct 14 22:18:47.807 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:47.807 INFO kablam! --> src/main.rs:483:12 Oct 14 22:18:47.807 INFO kablam! | Oct 14 22:18:47.807 INFO kablam! 483 | if (input.left_key_pressed) { Oct 14 22:18:47.808 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:47.808 INFO kablam! Oct 14 22:18:47.808 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:47.808 INFO kablam! --> src/main.rs:486:12 Oct 14 22:18:47.808 INFO kablam! | Oct 14 22:18:47.808 INFO kablam! 486 | if (input.right_key_pressed) { Oct 14 22:18:47.809 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:47.809 INFO kablam! Oct 14 22:18:47.809 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:47.809 INFO kablam! --> src/main.rs:489:12 Oct 14 22:18:47.809 INFO kablam! | Oct 14 22:18:47.809 INFO kablam! 489 | if (input.up_key_pressed) { Oct 14 22:18:47.810 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:47.810 INFO kablam! Oct 14 22:18:47.810 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:47.810 INFO kablam! --> src/main.rs:493:12 Oct 14 22:18:47.810 INFO kablam! | Oct 14 22:18:47.810 INFO kablam! 493 | if (input.down_key_pressed) { Oct 14 22:18:47.811 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:47.811 INFO kablam! Oct 14 22:18:47.811 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:47.811 INFO kablam! --> src/main.rs:500:12 Oct 14 22:18:47.811 INFO kablam! | Oct 14 22:18:47.811 INFO kablam! 500 | if (self.gravity_countdown > 0) { Oct 14 22:18:47.811 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:47.811 INFO kablam! Oct 14 22:18:47.811 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:47.811 INFO kablam! --> src/main.rs:503:12 Oct 14 22:18:47.811 INFO kablam! | Oct 14 22:18:47.811 INFO kablam! 503 | if (self.lock_delay_countdown > 0 && self.locking_state) { Oct 14 22:18:47.811 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:47.811 INFO kablam! Oct 14 22:18:47.811 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:47.811 INFO kablam! --> src/main.rs:539:12 Oct 14 22:18:47.811 INFO kablam! | Oct 14 22:18:47.811 INFO kablam! 539 | if (self.level >= 10) { Oct 14 22:18:47.811 INFO kablam! | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:47.811 INFO kablam! Oct 14 22:18:47.811 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:47.811 INFO kablam! --> src/main.rs:646:12 Oct 14 22:18:47.811 INFO kablam! | Oct 14 22:18:47.811 INFO kablam! 646 | if (event_pump.keyboard_state().is_scancode_pressed(Scancode::Down)) { Oct 14 22:18:47.811 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:47.811 INFO kablam! Oct 14 22:18:47.935 INFO kablam! warning: value assigned to `move_down_success` is never read Oct 14 22:18:47.935 INFO kablam! --> src/main.rs:508:17 Oct 14 22:18:47.936 INFO kablam! | Oct 14 22:18:47.936 INFO kablam! 508 | let mut move_down_success = true; Oct 14 22:18:47.936 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 14 22:18:47.937 INFO kablam! | Oct 14 22:18:47.937 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 14 22:18:47.937 INFO kablam! Oct 14 22:18:48.002 INFO kablam! warning: variable does not need to be mutable Oct 14 22:18:48.002 INFO kablam! --> src/main.rs:613:9 Oct 14 22:18:48.003 INFO kablam! | Oct 14 22:18:48.003 INFO kablam! 613 | let mut font = ttf_context.load_font(font_path, 28).unwrap(); Oct 14 22:18:48.003 INFO kablam! | ----^^^^ Oct 14 22:18:48.003 INFO kablam! | | Oct 14 22:18:48.003 INFO kablam! | help: remove this `mut` Oct 14 22:18:48.003 INFO kablam! | Oct 14 22:18:48.003 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 14 22:18:48.003 INFO kablam! Oct 14 22:18:48.003 INFO kablam! warning: method is never used: `is_row_empty` Oct 14 22:18:48.003 INFO kablam! --> src/main.rs:411:5 Oct 14 22:18:48.003 INFO kablam! | Oct 14 22:18:48.003 INFO kablam! 411 | fn is_row_empty(&self, row:usize) -> bool { Oct 14 22:18:48.003 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:48.003 INFO kablam! | Oct 14 22:18:48.003 INFO kablam! = note: #[warn(dead_code)] on by default Oct 14 22:18:48.003 INFO kablam! Oct 14 22:18:48.003 INFO kablam! warning: static variable `start_pos` should have an upper case name such as `START_POS` Oct 14 22:18:48.003 INFO kablam! --> src/main.rs:20:1 Oct 14 22:18:48.003 INFO kablam! | Oct 14 22:18:48.003 INFO kablam! 20 | / static start_pos: Pos2D = Pos2D { Oct 14 22:18:48.003 INFO kablam! 21 | | x: 5, Oct 14 22:18:48.003 INFO kablam! 22 | | y: 2 Oct 14 22:18:48.003 INFO kablam! 23 | | }; Oct 14 22:18:48.003 INFO kablam! | |__^ Oct 14 22:18:48.003 INFO kablam! | Oct 14 22:18:48.003 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 14 22:18:48.003 INFO kablam! Oct 14 22:18:48.004 INFO kablam! warning: static variable `tetris_board_width` should have an upper case name such as `TETRIS_BOARD_WIDTH` Oct 14 22:18:48.004 INFO kablam! --> src/main.rs:24:1 Oct 14 22:18:48.004 INFO kablam! | Oct 14 22:18:48.004 INFO kablam! 24 | static tetris_board_width : usize = 12; Oct 14 22:18:48.004 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:48.004 INFO kablam! Oct 14 22:18:48.004 INFO kablam! warning: static variable `tetris_board_height` should have an upper case name such as `TETRIS_BOARD_HEIGHT` Oct 14 22:18:48.004 INFO kablam! --> src/main.rs:25:1 Oct 14 22:18:48.004 INFO kablam! | Oct 14 22:18:48.004 INFO kablam! 25 | static tetris_board_height : usize = 24; Oct 14 22:18:48.004 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:48.004 INFO kablam! Oct 14 22:18:48.009 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 22:18:48.009 INFO kablam! --> src/main.rs:273:13 Oct 14 22:18:48.009 INFO kablam! | Oct 14 22:18:48.009 INFO kablam! 273 | canvas.fill_rect(rect); Oct 14 22:18:48.009 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:48.009 INFO kablam! | Oct 14 22:18:48.009 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 14 22:18:48.009 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 22:18:48.009 INFO kablam! Oct 14 22:18:48.009 INFO kablam! warning: variable `randomTetrisPieceGenerator` should have a snake case name such as `random_tetris_piece_generator` Oct 14 22:18:48.009 INFO kablam! --> src/main.rs:342:13 Oct 14 22:18:48.009 INFO kablam! | Oct 14 22:18:48.009 INFO kablam! 342 | let mut randomTetrisPieceGenerator = RandomTetrisPieceGenerator::new(); Oct 14 22:18:48.009 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:48.009 INFO kablam! | Oct 14 22:18:48.009 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 14 22:18:48.009 INFO kablam! Oct 14 22:18:48.010 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 22:18:48.010 INFO kablam! --> src/main.rs:556:9 Oct 14 22:18:48.010 INFO kablam! | Oct 14 22:18:48.010 INFO kablam! 556 | canvas.fill_rect(rect); Oct 14 22:18:48.010 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:48.010 INFO kablam! | Oct 14 22:18:48.010 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 22:18:48.010 INFO kablam! Oct 14 22:18:48.010 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 22:18:48.010 INFO kablam! --> src/main.rs:661:13 Oct 14 22:18:48.010 INFO kablam! | Oct 14 22:18:48.010 INFO kablam! 661 | canvas.fill_rect(Rect::new(0,0,width,height)); Oct 14 22:18:48.010 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:48.010 INFO kablam! | Oct 14 22:18:48.010 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 22:18:48.010 INFO kablam! Oct 14 22:18:48.888 INFO kablam! error: linking with `cc` failed: exit code: 1 Oct 14 22:18:48.889 INFO kablam! | Oct 14 22:18:48.898 INFO kablam! = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/rustup-home/toolchains/0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.0.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.1.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.10.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.11.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.12.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.13.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.14.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.15.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.2.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.3.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.4.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.5.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.6.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.7.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.8.rcgu.o" "/target/debug/deps/rust_tetris-122d129bca8c358d.rust_tetris.1e9h0x5q-cgu.9.rcgu.o" "-o" "/target/debug/deps/rust_tetris-122d129bca8c358d" "/target/debug/deps/rust_tetris-122d129bca8c358d.1ovxua92wfco18lf.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/target/debug/deps" "-L" "/rustup-home/toolchains/0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/target/debug/deps/libsdl2-4d0ec1a974ebfb9c.rlib" "/target/debug/deps/librand-31492fbd431f8da5.rlib" "/target/debug/deps/librand-bca961cff652e5b7.rlib" "/target/debug/deps/libsdl2_sys-b4559f254e8e6f8a.rlib" "/target/debug/deps/libbitflags-43cee68bd7e4762d.rlib" "/target/debug/deps/liblazy_static-aac9ad48051e9fc4.rlib" "/target/debug/deps/liblibc-6663d0b8734c6e6c.rlib" "/target/debug/deps/libnum-e144a14e8443d4d1.rlib" "/target/debug/deps/libnum_iter-230e1079e25eb4d8.rlib" "/target/debug/deps/libnum_integer-0b7d357df4cc58ef.rlib" "/target/debug/deps/libnum_traits-52ffea347d04a55f.rlib" "-Wl,--start-group" "/rustup-home/toolchains/0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0a3316275d5eec18.rlib" "/rustup-home/toolchains/0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-7849f97c364f3917.rlib" "/rustup-home/toolchains/0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-e4332ffcfd03e0c6.rlib" "/rustup-home/toolchains/0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-919a5ca34dc4b4ef.rlib" "/rustup-home/toolchains/0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-413bdfe2a4c46c37.rlib" "/rustup-home/toolchains/0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b4c58c6f1821e334.rlib" "/rustup-home/toolchains/0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-38821294a67a72b2.rlib" "/rustup-home/toolchains/0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-efd355fdcb71b1d5.rlib" "-Wl,--end-group" "/rustup-home/toolchains/0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-a513f50f7220962f.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" Oct 14 22:18:48.898 INFO kablam! = note: /usr/bin/ld: cannot find -lSDL2_ttf Oct 14 22:18:48.898 INFO kablam! /usr/bin/ld: cannot find -lSDL2_image Oct 14 22:18:48.899 INFO kablam! /usr/bin/ld: cannot find -lSDL2 Oct 14 22:18:48.899 INFO kablam! collect2: error: ld returned 1 exit status Oct 14 22:18:48.899 INFO kablam! Oct 14 22:18:48.900 INFO kablam! Oct 14 22:18:48.911 INFO kablam! error: aborting due to previous error Oct 14 22:18:48.916 INFO kablam! Oct 14 22:18:48.929 INFO kablam! error: Could not compile `rust-tetris`. Oct 14 22:18:48.929 INFO kablam! Oct 14 22:18:48.930 INFO kablam! To learn more, run the command again with --verbose. Oct 14 22:18:48.935 INFO kablam! su: No module specific data is present Oct 14 22:18:49.516 INFO running `"docker" "rm" "-f" "6d77fd18b305a653749119c46eb5e98dfb17b758939a2e50ab4ed303609cf14e"` Oct 14 22:18:49.802 INFO blam! 6d77fd18b305a653749119c46eb5e98dfb17b758939a2e50ab4ed303609cf14e