[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-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/cheezgi/pet-sim"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/cheezgi/pet-sim'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/cheezgi/pet-sim" "work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/cheezgi/pet-sim"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/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#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of cheezgi/pet-sim on toolchain try#58b21121d0b447ceb3f1a655155d802191acf044 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-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-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/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-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/cheezgi/pet-sim/Cargo.toml [INFO] crate cheezgi/pet-sim already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking cheezgi/pet-sim against master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 for pr-61100 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-61100/worker-2/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/cheezgi/pet-sim:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] be30bba31fd131ee00bfe7f219877e71f27f701509d06884419b801067b2d79f [INFO] running `"docker" "start" "-a" "be30bba31fd131ee00bfe7f219877e71f27f701509d06884419b801067b2d79f"` [INFO] [stderr] Checking pet-sim v0.1.0 (/opt/crater/workdir) [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: 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: 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 2.23s [INFO] running `"docker" "inspect" "be30bba31fd131ee00bfe7f219877e71f27f701509d06884419b801067b2d79f"` [INFO] running `"docker" "rm" "-f" "be30bba31fd131ee00bfe7f219877e71f27f701509d06884419b801067b2d79f"` [INFO] [stdout] be30bba31fd131ee00bfe7f219877e71f27f701509d06884419b801067b2d79f