[INFO] updating cached repository https://github.com/hwchen/tetris-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b02ac0e13210fbe123cd10e39fe3b8739417de1c [INFO] testing hwchen/tetris-rs against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwchen%2Ftetris-rs" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hwchen/tetris-rs on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/hwchen/tetris-rs [INFO] finished tweaking git repo https://github.com/hwchen/tetris-rs [INFO] tweaked toml for git repo https://github.com/hwchen/tetris-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/hwchen/tetris-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/jeaye/ncurses-rs.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 14a76916142f0bc3510f82f1418fa561c0dd61bb66393af61325eced36677131 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "14a76916142f0bc3510f82f1418fa561c0dd61bb66393af61325eced36677131"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling ncurses v5.99.0 (https://github.com/jeaye/ncurses-rs.git#80894126) [INFO] [stderr] Compiling tetris v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:47:24 [INFO] [stderr] | [INFO] [stderr] 47 | for _ in range(0u,20) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:49:29 [INFO] [stderr] | [INFO] [stderr] 49 | for _ in range (0u,10) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:59:24 [INFO] [stderr] | [INFO] [stderr] 59 | for i in range(0u,20) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:61:28 [INFO] [stderr] | [INFO] [stderr] 61 | for j in range(0u,10) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/main.rs:23:3 [INFO] [stderr] | [INFO] [stderr] 23 | #[deriving( PartialEq, Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Empty` in this scope [INFO] [stderr] --> src/main.rs:45:20 [INFO] [stderr] | [INFO] [stderr] 45 | let cell = Empty; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 19 | use Cell::Empty; [INFO] [stderr] | [INFO] [stderr] 19 | use std::num::IntErrorKind::Empty; [INFO] [stderr] | [INFO] [stderr] 19 | use std::sync::mpsc::TryRecvError::Empty; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:47:18 [INFO] [stderr] | [INFO] [stderr] 47 | for _ in range(0u,20) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:49:22 [INFO] [stderr] | [INFO] [stderr] 49 | for _ in range (0u,10) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Straight` in this scope [INFO] [stderr] --> src/main.rs:54:52 [INFO] [stderr] | [INFO] [stderr] 54 | Game {score: 0, board: board, buffer: vec![Straight]} [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 19 | use Piece::Straight; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:59:18 [INFO] [stderr] | [INFO] [stderr] 59 | for i in range(0u,20) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:61:22 [INFO] [stderr] | [INFO] [stderr] 61 | for j in range(0u,10) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Filled` in this scope [INFO] [stderr] --> src/main.rs:62:40 [INFO] [stderr] | [INFO] [stderr] 62 | if self.board[i][j] == Filled { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 19 | use Cell::Filled; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(globs)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ncurses::*` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use ncurses::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Bent_L` should have an upper camel case name [INFO] [stderr] --> src/main.rs:33:23 [INFO] [stderr] | [INFO] [stderr] 33 | enum Piece {Straight, Bent_L, Bent_R, Zee_L, Zee_R, Tee, Square, } [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `BentL` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Bent_R` should have an upper camel case name [INFO] [stderr] --> src/main.rs:33:31 [INFO] [stderr] | [INFO] [stderr] 33 | enum Piece {Straight, Bent_L, Bent_R, Zee_L, Zee_R, Tee, Square, } [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `BentR` [INFO] [stderr] [INFO] [stderr] warning: variant `Zee_L` should have an upper camel case name [INFO] [stderr] --> src/main.rs:33:39 [INFO] [stderr] | [INFO] [stderr] 33 | enum Piece {Straight, Bent_L, Bent_R, Zee_L, Zee_R, Tee, Square, } [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case: `ZeeL` [INFO] [stderr] [INFO] [stderr] warning: variant `Zee_R` should have an upper camel case name [INFO] [stderr] --> src/main.rs:33:46 [INFO] [stderr] | [INFO] [stderr] 33 | enum Piece {Straight, Bent_L, Bent_R, Zee_L, Zee_R, Tee, Square, } [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case: `ZeeR` [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::vec::Vec>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:76:20 [INFO] [stderr] | [INFO] [stderr] 76 | println!("{}", game.board); [INFO] [stderr] | ^^^^^^^^^^ `std::vec::Vec>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::vec::Vec>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0425, E0554. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `tetris`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "14a76916142f0bc3510f82f1418fa561c0dd61bb66393af61325eced36677131"` [INFO] running `"docker" "rm" "-f" "14a76916142f0bc3510f82f1418fa561c0dd61bb66393af61325eced36677131"` [INFO] [stdout] 14a76916142f0bc3510f82f1418fa561c0dd61bb66393af61325eced36677131