[INFO] cloning repository PeteJodo/rdeck [INFO] running `"git" "clone" "--bare" "git://github.com/PeteJodo/rdeck.git" "work/cache/sources/gh/PeteJodo/rdeck"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/PeteJodo/rdeck'... [INFO] running `"git" "clone" "work/cache/sources/gh/PeteJodo/rdeck" "work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/PeteJodo/rdeck"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/PeteJodo/rdeck'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/PeteJodo/rdeck" "work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/PeteJodo/rdeck"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/PeteJodo/rdeck'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 63f97ee92049c4a10ef6ad3ec47fbed250723d30 [INFO] sha for GitHub repo PeteJodo/rdeck: 63f97ee92049c4a10ef6ad3ec47fbed250723d30 [INFO] validating manifest of PeteJodo/rdeck on toolchain master#9f06855064ed06a50c496577b21ca50f92a2e67d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of PeteJodo/rdeck on toolchain try#d3301713b54af69ca9de941a8c6b0d8287dbd6df [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing PeteJodo/rdeck [INFO] finished frobbing PeteJodo/rdeck [INFO] frobbed toml for PeteJodo/rdeck written to work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/PeteJodo/rdeck/Cargo.toml [INFO] started frobbing PeteJodo/rdeck [INFO] finished frobbing PeteJodo/rdeck [INFO] frobbed toml for PeteJodo/rdeck written to work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/PeteJodo/rdeck/Cargo.toml [INFO] crate PeteJodo/rdeck already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking PeteJodo/rdeck against try#d3301713b54af69ca9de941a8c6b0d8287dbd6df for pr-61874 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61874/worker-4/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/PeteJodo/rdeck:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c8c750b5bac0389a36cb1e9734179c0de9fdd923b3d6740b1df4f939bfd120b1 [INFO] running `"docker" "start" "-a" "c8c750b5bac0389a36cb1e9734179c0de9fdd923b3d6740b1df4f939bfd120b1"` [INFO] [stderr] Checking rdeck v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/beat_the_box.rs:124:26 [INFO] [stderr] | [INFO] [stderr] 124 | NoChoices => 0u [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/beat_the_box.rs:124:26 [INFO] [stderr] | [INFO] [stderr] 124 | NoChoices => 0u [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[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/deck.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rand::{thread_rng, Rng}; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/deck.rs:11:29 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | / iterable_enum! { Rank => [INFO] [stderr] 30 | | Two = 1, [INFO] [stderr] 31 | | Three = 2, [INFO] [stderr] 32 | | Four = 3, [INFO] [stderr] ... | [INFO] [stderr] 42 | | Ace = 13 [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/deck.rs:11:29 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | iterable_enum! { Suit => Clubs = 1, Diamonds = 2, Hearts = 3, Spades = 4 } [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/deck.rs:53:10 [INFO] [stderr] | [INFO] [stderr] 53 | #[derive(Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/beat_the_box.rs:164:47 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(game.cards_left_in_deck(), 52u - super::DECKS_ON_THE_FIELD); [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/beat_the_box.rs:168:40 [INFO] [stderr] | [INFO] [stderr] 168 | assert_eq!(d.cards_left(), 1u); [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/beat_the_box.rs:177:43 [INFO] [stderr] | [INFO] [stderr] 177 | assert_eq!(choices.num_choices(), 9u); [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[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/deck.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rand::{thread_rng, Rng}; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/deck.rs:11:29 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | / iterable_enum! { Rank => [INFO] [stderr] 30 | | Two = 1, [INFO] [stderr] 31 | | Three = 2, [INFO] [stderr] 32 | | Four = 3, [INFO] [stderr] ... | [INFO] [stderr] 42 | | Ace = 13 [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/deck.rs:11:29 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(PartialEq, Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | iterable_enum! { Suit => Clubs = 1, Diamonds = 2, Hearts = 3, Spades = 4 } [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/deck.rs:53:10 [INFO] [stderr] | [INFO] [stderr] 53 | #[derive(Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/deck.rs:22:34 [INFO] [stderr] | [INFO] [stderr] 22 | fn num_variants() -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 29 | / iterable_enum! { Rank => [INFO] [stderr] 30 | | Two = 1, [INFO] [stderr] 31 | | Three = 2, [INFO] [stderr] 32 | | Four = 3, [INFO] [stderr] ... | [INFO] [stderr] 42 | | Ace = 13 [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/deck.rs:22:34 [INFO] [stderr] | [INFO] [stderr] 22 | fn num_variants() -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 45 | iterable_enum! { Suit => Clubs = 1, Diamonds = 2, Hearts = 3, Spades = 4 } [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/deck.rs:106:33 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn cards_left(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/beat_the_box.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | const DECKS_ON_THE_FIELD: uint = 9; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/beat_the_box.rs:22:18 [INFO] [stderr] | [INFO] [stderr] 22 | for _ in range(0, DECKS_ON_THE_FIELD) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/beat_the_box.rs:32:41 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn cards_left_in_deck(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/beat_the_box.rs:37:42 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn spots_left_on_field(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/beat_the_box.rs:121:34 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn num_choices(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/beat_the_box.rs:129:15 [INFO] [stderr] | [INFO] [stderr] 129 | impl<'a> fmt::Show for GameCardChoices<'a> { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/beat_the_box.rs:139:16 [INFO] [stderr] | [INFO] [stderr] 139 | HigherThan(uint), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/beat_the_box.rs:140:15 [INFO] [stderr] | [INFO] [stderr] 140 | LowerThan(uint) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:17:27 [INFO] [stderr] | [INFO] [stderr] 17 | match card1.val0() as int > card2.val0() as int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:17:49 [INFO] [stderr] | [INFO] [stderr] 17 | match card1.val0() as int > card2.val0() as int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `GameCardChoices` [INFO] [stderr] --> src/main.rs:4:36 [INFO] [stderr] | [INFO] [stderr] 4 | use beat_the_box::{BeatTheBoxGame, GameCardChoices}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HigherThan`, `LowerThan` [INFO] [stderr] --> src/beat_the_box.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | use self::GameInputs::{HigherThan, LowerThan}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of lifetime arguments: expected 0, found 1 [INFO] [stderr] --> src/deck.rs:17:34 [INFO] [stderr] | [INFO] [stderr] 17 | fn variants() -> Map<'static, &'static $name, $name, Iter<'static, $name>> { [INFO] [stderr] | ^^^^^^^ unexpected lifetime argument [INFO] [stderr] ... [INFO] [stderr] 29 | / iterable_enum! { Rank => [INFO] [stderr] 30 | | Two = 1, [INFO] [stderr] 31 | | Three = 2, [INFO] [stderr] 32 | | Four = 3, [INFO] [stderr] ... | [INFO] [stderr] 42 | | Ace = 13 [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] error[E0530]: match bindings cannot shadow tuple variants [INFO] [stderr] --> src/beat_the_box.rs:200:21 [INFO] [stderr] | [INFO] [stderr] 156 | use super::GameMoveResults::*; [INFO] [stderr] | ------------------------- the tuple variant `Success` is imported here [INFO] [stderr] ... [INFO] [stderr] 200 | Success => return true, [INFO] [stderr] | ^^^^^^^ cannot be named the same as a tuple variant [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 3 [INFO] [stderr] --> src/deck.rs:17:66 [INFO] [stderr] | [INFO] [stderr] 17 | fn variants() -> Map<'static, &'static $name, $name, Iter<'static, $name>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ unexpected type argument [INFO] [stderr] ... [INFO] [stderr] 29 | / iterable_enum! { Rank => [INFO] [stderr] 30 | | Two = 1, [INFO] [stderr] 31 | | Three = 2, [INFO] [stderr] 32 | | Four = 3, [INFO] [stderr] ... | [INFO] [stderr] 42 | | Ace = 13 [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of lifetime arguments: expected 0, found 1 [INFO] [stderr] --> src/deck.rs:17:34 [INFO] [stderr] | [INFO] [stderr] 17 | fn variants() -> Map<'static, &'static $name, $name, Iter<'static, $name>> { [INFO] [stderr] | ^^^^^^^ unexpected lifetime argument [INFO] [stderr] ... [INFO] [stderr] 45 | iterable_enum! { Suit => Clubs = 1, Diamonds = 2, Hearts = 3, Spades = 4 } [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 3 [INFO] [stderr] --> src/deck.rs:17:66 [INFO] [stderr] | [INFO] [stderr] 17 | fn variants() -> Map<'static, &'static $name, $name, Iter<'static, $name>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ unexpected type argument [INFO] [stderr] ... [INFO] [stderr] 45 | iterable_enum! { Suit => Clubs = 1, Diamonds = 2, Hearts = 3, Spades = 4 } [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0405, E0412, E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: Could not compile `rdeck`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0530]: match bindings cannot shadow tuple variants [INFO] [stderr] --> src/beat_the_box.rs:205:21 [INFO] [stderr] | [INFO] [stderr] 156 | use super::GameMoveResults::*; [INFO] [stderr] | ------------------------- the tuple variant `Success` is imported here [INFO] [stderr] ... [INFO] [stderr] 205 | Success => return true, [INFO] [stderr] | ^^^^^^^ cannot be named the same as a tuple variant [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/deck.rs:22:34 [INFO] [stderr] | [INFO] [stderr] 22 | fn num_variants() -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 29 | / iterable_enum! { Rank => [INFO] [stderr] 30 | | Two = 1, [INFO] [stderr] 31 | | Three = 2, [INFO] [stderr] 32 | | Four = 3, [INFO] [stderr] ... | [INFO] [stderr] 42 | | Ace = 13 [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/deck.rs:22:34 [INFO] [stderr] | [INFO] [stderr] 22 | fn num_variants() -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 45 | iterable_enum! { Suit => Clubs = 1, Diamonds = 2, Hearts = 3, Spades = 4 } [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/deck.rs:106:33 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn cards_left(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/beat_the_box.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | const DECKS_ON_THE_FIELD: uint = 9; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/beat_the_box.rs:22:18 [INFO] [stderr] | [INFO] [stderr] 22 | for _ in range(0, DECKS_ON_THE_FIELD) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/beat_the_box.rs:32:41 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn cards_left_in_deck(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/beat_the_box.rs:37:42 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn spots_left_on_field(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/beat_the_box.rs:121:34 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn num_choices(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/beat_the_box.rs:129:15 [INFO] [stderr] | [INFO] [stderr] 129 | impl<'a> fmt::Show for GameCardChoices<'a> { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/beat_the_box.rs:139:16 [INFO] [stderr] | [INFO] [stderr] 139 | HigherThan(uint), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/beat_the_box.rs:140:15 [INFO] [stderr] | [INFO] [stderr] 140 | LowerThan(uint) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/beat_the_box.rs:198:25 [INFO] [stderr] | [INFO] [stderr] 198 | if *card as int > *topcard as int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/beat_the_box.rs:198:43 [INFO] [stderr] | [INFO] [stderr] 198 | if *card as int > *topcard as int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/beat_the_box.rs:203:35 [INFO] [stderr] | [INFO] [stderr] 203 | } else if *topcard as int > *card as int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/beat_the_box.rs:203:50 [INFO] [stderr] | [INFO] [stderr] 203 | } else if *topcard as int > *card as int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:17:27 [INFO] [stderr] | [INFO] [stderr] 17 | match card1.val0() as int > card2.val0() as int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:17:49 [INFO] [stderr] | [INFO] [stderr] 17 | match card1.val0() as int > card2.val0() as int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `GameCardChoices` [INFO] [stderr] --> src/main.rs:4:36 [INFO] [stderr] | [INFO] [stderr] 4 | use beat_the_box::{BeatTheBoxGame, GameCardChoices}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HigherThan`, `LowerThan` [INFO] [stderr] --> src/beat_the_box.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | use self::GameInputs::{HigherThan, LowerThan}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::GameMoveResults::*` [INFO] [stderr] --> src/beat_the_box.rs:156:9 [INFO] [stderr] | [INFO] [stderr] 156 | use super::GameMoveResults::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of lifetime arguments: expected 0, found 1 [INFO] [stderr] --> src/deck.rs:17:34 [INFO] [stderr] | [INFO] [stderr] 17 | fn variants() -> Map<'static, &'static $name, $name, Iter<'static, $name>> { [INFO] [stderr] | ^^^^^^^ unexpected lifetime argument [INFO] [stderr] ... [INFO] [stderr] 29 | / iterable_enum! { Rank => [INFO] [stderr] 30 | | Two = 1, [INFO] [stderr] 31 | | Three = 2, [INFO] [stderr] 32 | | Four = 3, [INFO] [stderr] ... | [INFO] [stderr] 42 | | Ace = 13 [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 3 [INFO] [stderr] --> src/deck.rs:17:66 [INFO] [stderr] | [INFO] [stderr] 17 | fn variants() -> Map<'static, &'static $name, $name, Iter<'static, $name>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ unexpected type argument [INFO] [stderr] ... [INFO] [stderr] 29 | / iterable_enum! { Rank => [INFO] [stderr] 30 | | Two = 1, [INFO] [stderr] 31 | | Three = 2, [INFO] [stderr] 32 | | Four = 3, [INFO] [stderr] ... | [INFO] [stderr] 42 | | Ace = 13 [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of lifetime arguments: expected 0, found 1 [INFO] [stderr] --> src/deck.rs:17:34 [INFO] [stderr] | [INFO] [stderr] 17 | fn variants() -> Map<'static, &'static $name, $name, Iter<'static, $name>> { [INFO] [stderr] | ^^^^^^^ unexpected lifetime argument [INFO] [stderr] ... [INFO] [stderr] 45 | iterable_enum! { Suit => Clubs = 1, Diamonds = 2, Hearts = 3, Spades = 4 } [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 3 [INFO] [stderr] --> src/deck.rs:17:66 [INFO] [stderr] | [INFO] [stderr] 17 | fn variants() -> Map<'static, &'static $name, $name, Iter<'static, $name>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ unexpected type argument [INFO] [stderr] ... [INFO] [stderr] 45 | iterable_enum! { Suit => Clubs = 1, Diamonds = 2, Hearts = 3, Spades = 4 } [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error: aborting due to 31 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0405, E0412, E0425, E0432, E0530. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: Could not compile `rdeck`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c8c750b5bac0389a36cb1e9734179c0de9fdd923b3d6740b1df4f939bfd120b1"` [INFO] running `"docker" "rm" "-f" "c8c750b5bac0389a36cb1e9734179c0de9fdd923b3d6740b1df4f939bfd120b1"` [INFO] [stdout] c8c750b5bac0389a36cb1e9734179c0de9fdd923b3d6740b1df4f939bfd120b1