[INFO] updating cached repository cheezgi/pet-sim [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/cheezgi/pet-sim [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/cheezgi/pet-sim" "work/ex/pr-61753/sources/master#8e948df707ea8a3c88c65bf2ffdcb2f1cf5491be/gh/cheezgi/pet-sim"` [INFO] [stderr] Cloning into 'work/ex/pr-61753/sources/master#8e948df707ea8a3c88c65bf2ffdcb2f1cf5491be/gh/cheezgi/pet-sim'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/cheezgi/pet-sim" "work/ex/pr-61753/sources/try#af22dfc7f56a5057c6b6120a65c74e7b6c1530af/gh/cheezgi/pet-sim"` [INFO] [stderr] Cloning into 'work/ex/pr-61753/sources/try#af22dfc7f56a5057c6b6120a65c74e7b6c1530af/gh/cheezgi/pet-sim'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e6361ac055853107317b24caf3b6863ca86f262f [INFO] sha for GitHub repo cheezgi/pet-sim: e6361ac055853107317b24caf3b6863ca86f262f [INFO] validating manifest of cheezgi/pet-sim on toolchain master#8e948df707ea8a3c88c65bf2ffdcb2f1cf5491be [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8e948df707ea8a3c88c65bf2ffdcb2f1cf5491be-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of cheezgi/pet-sim on toolchain try#af22dfc7f56a5057c6b6120a65c74e7b6c1530af [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+af22dfc7f56a5057c6b6120a65c74e7b6c1530af-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing cheezgi/pet-sim [INFO] finished frobbing cheezgi/pet-sim [INFO] frobbed toml for cheezgi/pet-sim written to work/ex/pr-61753/sources/master#8e948df707ea8a3c88c65bf2ffdcb2f1cf5491be/gh/cheezgi/pet-sim/Cargo.toml [INFO] started frobbing cheezgi/pet-sim [INFO] finished frobbing cheezgi/pet-sim [INFO] frobbed toml for cheezgi/pet-sim written to work/ex/pr-61753/sources/try#af22dfc7f56a5057c6b6120a65c74e7b6c1530af/gh/cheezgi/pet-sim/Cargo.toml [INFO] crate cheezgi/pet-sim already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8e948df707ea8a3c88c65bf2ffdcb2f1cf5491be-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+af22dfc7f56a5057c6b6120a65c74e7b6c1530af-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking cheezgi/pet-sim against try#af22dfc7f56a5057c6b6120a65c74e7b6c1530af for pr-61753 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61753/worker-7/try#af22dfc7f56a5057c6b6120a65c74e7b6c1530af:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61753/sources/try#af22dfc7f56a5057c6b6120a65c74e7b6c1530af/gh/cheezgi/pet-sim:/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" "+af22dfc7f56a5057c6b6120a65c74e7b6c1530af-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d8e01e57280a53773a365cf50786c25ed5b28ddfc071f412476d94eff647a52b [INFO] running `"docker" "start" "-a" "d8e01e57280a53773a365cf50786c25ed5b28ddfc071f412476d94eff647a52b"` [INFO] [stderr] Checking pet-sim v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/amt.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | 1...24 => Amount::Little, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: #[warn(ellipsis_inclusive_range_patterns)] on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/amt.rs:37:15 [INFO] [stderr] | [INFO] [stderr] 37 | 25...49 => Amount::Bit, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/amt.rs:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | 50...75 => Amount::Some, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/amt.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | 1...24 => Amount::Little, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: #[warn(ellipsis_inclusive_range_patterns)] on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/amt.rs:37:15 [INFO] [stderr] | [INFO] [stderr] 37 | 25...49 => Amount::Bit, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/amt.rs:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | 50...75 => Amount::Some, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/lib.rs:59:44 [INFO] [stderr] | [INFO] [stderr] 59 | (lhs as i16 + rhs.scale(scale) as i16).clamp(0, 100) as u8 [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unstable_name_collisions)] on by default [INFO] [stderr] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `clamp::Clamp::clamp(...)` to keep using the current method [INFO] [stderr] = help: add #![feature(clamp)] to the crate attributes to enable `std::cmp::Ord::clamp` [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/lib.rs:63:44 [INFO] [stderr] | [INFO] [stderr] 63 | (lhs as i16 - rhs.scale(scale) as i16).clamp(0, 100) as u8 [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `clamp::Clamp::clamp(...)` to keep using the current method [INFO] [stderr] = help: add #![feature(clamp)] to the crate attributes to enable `std::cmp::Ord::clamp` [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/lib.rs:73:26 [INFO] [stderr] | [INFO] [stderr] 73 | assert_eq!(50, i.clamp(0, 100)); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `clamp::Clamp::clamp(...)` to keep using the current method [INFO] [stderr] = help: add #![feature(clamp)] to the crate attributes to enable `std::cmp::Ord::clamp` [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/lib.rs:79:27 [INFO] [stderr] | [INFO] [stderr] 79 | assert_eq!(100, i.clamp(0, 100)); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `clamp::Clamp::clamp(...)` to keep using the current method [INFO] [stderr] = help: add #![feature(clamp)] to the crate attributes to enable `std::cmp::Ord::clamp` [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/lib.rs:85:25 [INFO] [stderr] | [INFO] [stderr] 85 | assert_eq!(0, i.clamp(0, 100)); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `clamp::Clamp::clamp(...)` to keep using the current method [INFO] [stderr] = help: add #![feature(clamp)] to the crate attributes to enable `std::cmp::Ord::clamp` [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/pet.rs:141:45 [INFO] [stderr] | [INFO] [stderr] 141 | self.age = (self.age as i16 + 1i16).clamp(0, 255) as u8; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `clamp::Clamp::clamp(...)` to keep using the current method [INFO] [stderr] = help: add #![feature(clamp)] to the crate attributes to enable `std::cmp::Ord::clamp` [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/lib.rs:59:44 [INFO] [stderr] | [INFO] [stderr] 59 | (lhs as i16 + rhs.scale(scale) as i16).clamp(0, 100) as u8 [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unstable_name_collisions)] on by default [INFO] [stderr] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `clamp::Clamp::clamp(...)` to keep using the current method [INFO] [stderr] = help: add #![feature(clamp)] to the crate attributes to enable `std::cmp::Ord::clamp` [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/lib.rs:63:44 [INFO] [stderr] | [INFO] [stderr] 63 | (lhs as i16 - rhs.scale(scale) as i16).clamp(0, 100) as u8 [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `clamp::Clamp::clamp(...)` to keep using the current method [INFO] [stderr] = help: add #![feature(clamp)] to the crate attributes to enable `std::cmp::Ord::clamp` [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/pet.rs:141:45 [INFO] [stderr] | [INFO] [stderr] 141 | self.age = (self.age as i16 + 1i16).clamp(0, 255) as u8; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `clamp::Clamp::clamp(...)` to keep using the current method [INFO] [stderr] = help: add #![feature(clamp)] to the crate attributes to enable `std::cmp::Ord::clamp` [INFO] [stderr] [INFO] [stderr] warning: field is never used: `story` [INFO] [stderr] --> src/player.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | story: (), // TODO: add story progress marker [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `story` [INFO] [stderr] --> src/player.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | story: (), // TODO: add story progress marker [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player` [INFO] [stderr] --> src/main.rs:33:29 [INFO] [stderr] | [INFO] [stderr] 33 | fn game_loop(pet: &mut Pet, player: &mut Player) { [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_player` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player` [INFO] [stderr] --> src/main.rs:33:29 [INFO] [stderr] | [INFO] [stderr] 33 | fn game_loop(pet: &mut Pet, player: &mut Player) { [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_player` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.89s [INFO] running `"docker" "inspect" "d8e01e57280a53773a365cf50786c25ed5b28ddfc071f412476d94eff647a52b"` [INFO] running `"docker" "rm" "-f" "d8e01e57280a53773a365cf50786c25ed5b28ddfc071f412476d94eff647a52b"` [INFO] [stdout] d8e01e57280a53773a365cf50786c25ed5b28ddfc071f412476d94eff647a52b