[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-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/cheezgi/pet-sim"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/cheezgi/pet-sim'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/cheezgi/pet-sim" "work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/cheezgi/pet-sim"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/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#e305df1846a6d985315917ae0c81b74af8b4e641 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of cheezgi/pet-sim on toolchain try#99a7498759a22b5684caf798a98b7e90ad9d2443 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-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-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/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-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/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" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking cheezgi/pet-sim against try#99a7498759a22b5684caf798a98b7e90ad9d2443 for pr-60039-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-60039-1/worker-3/try#99a7498759a22b5684caf798a98b7e90ad9d2443:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/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" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 92300f49c3e1a7fa397c3e375fc1a49b8feb59b46843bbf9ba9471c30d7aa3a1 [INFO] running `"docker" "start" "-a" "92300f49c3e1a7fa397c3e375fc1a49b8feb59b46843bbf9ba9471c30d7aa3a1"` [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/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/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/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] 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] | [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.99s [INFO] running `"docker" "inspect" "92300f49c3e1a7fa397c3e375fc1a49b8feb59b46843bbf9ba9471c30d7aa3a1"` [INFO] running `"docker" "rm" "-f" "92300f49c3e1a7fa397c3e375fc1a49b8feb59b46843bbf9ba9471c30d7aa3a1"` [INFO] [stdout] 92300f49c3e1a7fa397c3e375fc1a49b8feb59b46843bbf9ba9471c30d7aa3a1