Oct 14 22:18:31.622 INFO testing droidkid/rust-tetris against try#40d4795669493f1965de7c44029c69552134fe1f for rustdoc-test-static-cling-1 Oct 14 22:18:31.624 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-7/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/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 +40d4795669493f1965de7c44029c69552134fe1f-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.099 INFO blam! e38fcd2d4d63c88e0525435dd63834f2899d48571e7e58ceaef2abbc423a1beb Oct 14 22:18:32.106 INFO running `"docker" "start" "-a" "e38fcd2d4d63c88e0525435dd63834f2899d48571e7e58ceaef2abbc423a1beb"` Oct 14 22:18:33.643 INFO kablam! usermod: no changes Oct 14 22:18:33.782 INFO kablam! Compiling sdl2-sys v0.31.0 Oct 14 22:18:33.787 INFO kablam! Compiling num-integer v0.1.39 Oct 14 22:18:36.067 INFO kablam! Compiling num-iter v0.1.37 Oct 14 22:18:36.599 INFO kablam! Compiling num v0.1.42 Oct 14 22:18:39.155 INFO kablam! Compiling sdl2 v0.31.0 Oct 14 22:18:44.891 INFO kablam! Compiling rust-tetris v0.1.0 (/source) Oct 14 22:18:45.327 INFO kablam! warning: unused import: `std::thread` Oct 14 22:18:45.327 INFO kablam! --> src/main.rs:17:5 Oct 14 22:18:45.327 INFO kablam! | Oct 14 22:18:45.327 INFO kablam! 17 | use std::thread; Oct 14 22:18:45.327 INFO kablam! | ^^^^^^^^^^^ Oct 14 22:18:45.327 INFO kablam! | Oct 14 22:18:45.327 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 22:18:45.327 INFO kablam! Oct 14 22:18:45.327 INFO kablam! warning: unnecessary parentheses around `for` head expression Oct 14 22:18:45.327 INFO kablam! --> src/main.rs:422:22 Oct 14 22:18:45.327 INFO kablam! | Oct 14 22:18:45.327 INFO kablam! 422 | for j in (1..self.width-1) { Oct 14 22:18:45.327 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:45.327 INFO kablam! | Oct 14 22:18:45.327 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 14 22:18:45.327 INFO kablam! Oct 14 22:18:45.327 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:45.327 INFO kablam! --> src/main.rs:473:16 Oct 14 22:18:45.327 INFO kablam! | Oct 14 22:18:45.327 INFO kablam! 473 | if (self.game_over_countdown > 0) { Oct 14 22:18:45.327 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:45.327 INFO kablam! Oct 14 22:18:45.327 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:45.327 INFO kablam! --> src/main.rs:483:12 Oct 14 22:18:45.327 INFO kablam! | Oct 14 22:18:45.327 INFO kablam! 483 | if (input.left_key_pressed) { Oct 14 22:18:45.327 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:45.327 INFO kablam! Oct 14 22:18:45.327 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:45.327 INFO kablam! --> src/main.rs:486:12 Oct 14 22:18:45.327 INFO kablam! | Oct 14 22:18:45.327 INFO kablam! 486 | if (input.right_key_pressed) { Oct 14 22:18:45.327 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:45.327 INFO kablam! Oct 14 22:18:45.327 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:45.327 INFO kablam! --> src/main.rs:489:12 Oct 14 22:18:45.327 INFO kablam! | Oct 14 22:18:45.327 INFO kablam! 489 | if (input.up_key_pressed) { Oct 14 22:18:45.327 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:45.327 INFO kablam! Oct 14 22:18:45.327 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:45.327 INFO kablam! --> src/main.rs:493:12 Oct 14 22:18:45.327 INFO kablam! | Oct 14 22:18:45.327 INFO kablam! 493 | if (input.down_key_pressed) { Oct 14 22:18:45.327 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:45.327 INFO kablam! Oct 14 22:18:45.327 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:45.327 INFO kablam! --> src/main.rs:500:12 Oct 14 22:18:45.327 INFO kablam! | Oct 14 22:18:45.327 INFO kablam! 500 | if (self.gravity_countdown > 0) { Oct 14 22:18:45.327 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:45.327 INFO kablam! Oct 14 22:18:45.327 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:45.327 INFO kablam! --> src/main.rs:503:12 Oct 14 22:18:45.327 INFO kablam! | Oct 14 22:18:45.327 INFO kablam! 503 | if (self.lock_delay_countdown > 0 && self.locking_state) { Oct 14 22:18:45.327 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:45.327 INFO kablam! Oct 14 22:18:45.327 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:45.327 INFO kablam! --> src/main.rs:539:12 Oct 14 22:18:45.327 INFO kablam! | Oct 14 22:18:45.327 INFO kablam! 539 | if (self.level >= 10) { Oct 14 22:18:45.327 INFO kablam! | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:45.327 INFO kablam! Oct 14 22:18:45.327 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 14 22:18:45.327 INFO kablam! --> src/main.rs:646:12 Oct 14 22:18:45.327 INFO kablam! | Oct 14 22:18:45.327 INFO kablam! 646 | if (event_pump.keyboard_state().is_scancode_pressed(Scancode::Down)) { Oct 14 22:18:45.327 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 22:18:45.327 INFO kablam! Oct 14 22:18:45.447 INFO kablam! warning: value assigned to `move_down_success` is never read Oct 14 22:18:45.447 INFO kablam! --> src/main.rs:508:17 Oct 14 22:18:45.447 INFO kablam! | Oct 14 22:18:45.447 INFO kablam! 508 | let mut move_down_success = true; Oct 14 22:18:45.447 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 14 22:18:45.447 INFO kablam! | Oct 14 22:18:45.447 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 14 22:18:45.447 INFO kablam! Oct 14 22:18:45.507 INFO kablam! warning: variable does not need to be mutable Oct 14 22:18:45.507 INFO kablam! --> src/main.rs:613:9 Oct 14 22:18:45.507 INFO kablam! | Oct 14 22:18:45.507 INFO kablam! 613 | let mut font = ttf_context.load_font(font_path, 28).unwrap(); Oct 14 22:18:45.507 INFO kablam! | ----^^^^ Oct 14 22:18:45.507 INFO kablam! | | Oct 14 22:18:45.507 INFO kablam! | help: remove this `mut` Oct 14 22:18:45.507 INFO kablam! | Oct 14 22:18:45.507 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 14 22:18:45.507 INFO kablam! Oct 14 22:18:45.507 INFO kablam! warning: method is never used: `is_row_empty` Oct 14 22:18:45.507 INFO kablam! --> src/main.rs:411:5 Oct 14 22:18:45.507 INFO kablam! | Oct 14 22:18:45.507 INFO kablam! 411 | fn is_row_empty(&self, row:usize) -> bool { Oct 14 22:18:45.507 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:45.507 INFO kablam! | Oct 14 22:18:45.507 INFO kablam! = note: #[warn(dead_code)] on by default Oct 14 22:18:45.507 INFO kablam! Oct 14 22:18:45.507 INFO kablam! warning: static variable `start_pos` should have an upper case name such as `START_POS` Oct 14 22:18:45.507 INFO kablam! --> src/main.rs:20:1 Oct 14 22:18:45.507 INFO kablam! | Oct 14 22:18:45.507 INFO kablam! 20 | / static start_pos: Pos2D = Pos2D { Oct 14 22:18:45.507 INFO kablam! 21 | | x: 5, Oct 14 22:18:45.507 INFO kablam! 22 | | y: 2 Oct 14 22:18:45.507 INFO kablam! 23 | | }; Oct 14 22:18:45.507 INFO kablam! | |__^ Oct 14 22:18:45.519 INFO kablam! | Oct 14 22:18:45.519 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 14 22:18:45.519 INFO kablam! Oct 14 22:18:45.519 INFO kablam! warning: static variable `tetris_board_width` should have an upper case name such as `TETRIS_BOARD_WIDTH` Oct 14 22:18:45.519 INFO kablam! --> src/main.rs:24:1 Oct 14 22:18:45.519 INFO kablam! | Oct 14 22:18:45.519 INFO kablam! 24 | static tetris_board_width : usize = 12; Oct 14 22:18:45.519 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:45.519 INFO kablam! Oct 14 22:18:45.519 INFO kablam! warning: static variable `tetris_board_height` should have an upper case name such as `TETRIS_BOARD_HEIGHT` Oct 14 22:18:45.519 INFO kablam! --> src/main.rs:25:1 Oct 14 22:18:45.519 INFO kablam! | Oct 14 22:18:45.519 INFO kablam! 25 | static tetris_board_height : usize = 24; Oct 14 22:18:45.519 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:45.519 INFO kablam! Oct 14 22:18:45.519 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 22:18:45.519 INFO kablam! --> src/main.rs:273:13 Oct 14 22:18:45.519 INFO kablam! | Oct 14 22:18:45.519 INFO kablam! 273 | canvas.fill_rect(rect); Oct 14 22:18:45.519 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:45.519 INFO kablam! | Oct 14 22:18:45.519 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 14 22:18:45.519 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 22:18:45.519 INFO kablam! Oct 14 22:18:45.519 INFO kablam! warning: variable `randomTetrisPieceGenerator` should have a snake case name such as `random_tetris_piece_generator` Oct 14 22:18:45.519 INFO kablam! --> src/main.rs:342:13 Oct 14 22:18:45.519 INFO kablam! | Oct 14 22:18:45.519 INFO kablam! 342 | let mut randomTetrisPieceGenerator = RandomTetrisPieceGenerator::new(); Oct 14 22:18:45.519 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:45.519 INFO kablam! | Oct 14 22:18:45.519 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 14 22:18:45.519 INFO kablam! Oct 14 22:18:45.519 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 22:18:45.519 INFO kablam! --> src/main.rs:556:9 Oct 14 22:18:45.519 INFO kablam! | Oct 14 22:18:45.519 INFO kablam! 556 | canvas.fill_rect(rect); Oct 14 22:18:45.519 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:45.519 INFO kablam! | Oct 14 22:18:45.519 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 22:18:45.519 INFO kablam! Oct 14 22:18:45.519 INFO kablam! warning: unused `std::result::Result` which must be used Oct 14 22:18:45.519 INFO kablam! --> src/main.rs:661:13 Oct 14 22:18:45.519 INFO kablam! | Oct 14 22:18:45.519 INFO kablam! 661 | canvas.fill_rect(Rect::new(0,0,width,height)); Oct 14 22:18:45.519 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 22:18:45.519 INFO kablam! | Oct 14 22:18:45.519 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 14 22:18:45.519 INFO kablam! Oct 14 22:18:46.487 INFO kablam! error: linking with `cc` failed: exit code: 1 Oct 14 22:18:46.487 INFO kablam! | Oct 14 22:18:46.487 INFO kablam! = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/rustup-home/toolchains/40d4795669493f1965de7c44029c69552134fe1f-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.0.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.1.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.10.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.11.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.12.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.13.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.14.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.15.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.2.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.3.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.4.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.5.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.6.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.7.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.8.rcgu.o" "/target/debug/deps/rust_tetris-08c5f671304351d5.rust_tetris.a9uuqm13-cgu.9.rcgu.o" "-o" "/target/debug/deps/rust_tetris-08c5f671304351d5" "/target/debug/deps/rust_tetris-08c5f671304351d5.2uwqf3dczk1nv6sp.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/target/debug/deps" "-L" "/rustup-home/toolchains/40d4795669493f1965de7c44029c69552134fe1f-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/target/debug/deps/libsdl2-4c59f12804085a79.rlib" "/target/debug/deps/librand-768555a123920aae.rlib" "/target/debug/deps/librand-04b7cdf55fa54473.rlib" "/target/debug/deps/libsdl2_sys-edcd9dd80b0e70dd.rlib" "/target/debug/deps/libbitflags-7527ab02102bf812.rlib" "/target/debug/deps/liblazy_static-8c83bfd6c78d6b0a.rlib" "/target/debug/deps/liblibc-d9a4bc3fcbc15852.rlib" "/target/debug/deps/libnum-001ea2101f8ac0cc.rlib" "/target/debug/deps/libnum_iter-df43b6910610a9a6.rlib" "/target/debug/deps/libnum_integer-6be979407f1ee03a.rlib" "/target/debug/deps/libnum_traits-dee8a646462fad37.rlib" "-Wl,--start-group" "/rustup-home/toolchains/40d4795669493f1965de7c44029c69552134fe1f-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7aa94b7c1528b009.rlib" "/rustup-home/toolchains/40d4795669493f1965de7c44029c69552134fe1f-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-450e1257915dad46.rlib" "/rustup-home/toolchains/40d4795669493f1965de7c44029c69552134fe1f-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-13637518f471c0d5.rlib" "/rustup-home/toolchains/40d4795669493f1965de7c44029c69552134fe1f-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-d41039333164c5af.rlib" "/rustup-home/toolchains/40d4795669493f1965de7c44029c69552134fe1f-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-cb45a6772959eb39.rlib" "/rustup-home/toolchains/40d4795669493f1965de7c44029c69552134fe1f-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-03d875e55603f5ce.rlib" "/rustup-home/toolchains/40d4795669493f1965de7c44029c69552134fe1f-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-cb3a1d6251b4a93a.rlib" "/rustup-home/toolchains/40d4795669493f1965de7c44029c69552134fe1f-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-51ce0fd0aa7c4719.rlib" "-Wl,--end-group" "/rustup-home/toolchains/40d4795669493f1965de7c44029c69552134fe1f-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e5b9ef4e29390a2c.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:46.487 INFO kablam! = note: /usr/bin/ld: cannot find -lSDL2_ttf Oct 14 22:18:46.487 INFO kablam! /usr/bin/ld: cannot find -lSDL2_image Oct 14 22:18:46.487 INFO kablam! /usr/bin/ld: cannot find -lSDL2 Oct 14 22:18:46.487 INFO kablam! collect2: error: ld returned 1 exit status Oct 14 22:18:46.487 INFO kablam! Oct 14 22:18:46.487 INFO kablam! Oct 14 22:18:46.503 INFO kablam! error: aborting due to previous error Oct 14 22:18:46.503 INFO kablam! Oct 14 22:18:46.515 INFO kablam! error: Could not compile `rust-tetris`. Oct 14 22:18:46.515 INFO kablam! Oct 14 22:18:46.515 INFO kablam! To learn more, run the command again with --verbose. Oct 14 22:18:46.519 INFO kablam! su: No module specific data is present Oct 14 22:18:47.733 INFO running `"docker" "rm" "-f" "e38fcd2d4d63c88e0525435dd63834f2899d48571e7e58ceaef2abbc423a1beb"` Oct 14 22:18:48.001 INFO blam! e38fcd2d4d63c88e0525435dd63834f2899d48571e7e58ceaef2abbc423a1beb