[INFO] cloning repository https://github.com/cheezgi/pet-sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cheezgi/pet-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcheezgi%2Fpet-sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcheezgi%2Fpet-sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6361ac055853107317b24caf3b6863ca86f262f [INFO] checking cheezgi/pet-sim against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcheezgi%2Fpet-sim" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cheezgi/pet-sim on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cheezgi/pet-sim [INFO] finished tweaking git repo https://github.com/cheezgi/pet-sim [INFO] tweaked toml for git repo https://github.com/cheezgi/pet-sim written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/cheezgi/pet-sim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2332a0d0fdd2342b1b495b0e6a34ad07a2db743d240c2ee5e25af78f1489a266 [INFO] running `Command { std: "docker" "start" "-a" "2332a0d0fdd2342b1b495b0e6a34ad07a2db743d240c2ee5e25af78f1489a266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2332a0d0fdd2342b1b495b0e6a34ad07a2db743d240c2ee5e25af78f1489a266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2332a0d0fdd2342b1b495b0e6a34ad07a2db743d240c2ee5e25af78f1489a266", kill_on_drop: false }` [INFO] [stdout] 2332a0d0fdd2342b1b495b0e6a34ad07a2db743d240c2ee5e25af78f1489a266 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da118bb08f6180d013ca0906935db289b75ad890476ca563b316b0340f4de5fc [INFO] running `Command { std: "docker" "start" "-a" "da118bb08f6180d013ca0906935db289b75ad890476ca563b316b0340f4de5fc", kill_on_drop: false }` [INFO] [stderr] Checking serde v1.0.11 [INFO] [stderr] Checking dtoa v0.4.1 [INFO] [stderr] Checking libc v0.2.24 [INFO] [stderr] Checking itoa v0.3.1 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling serde_derive v1.0.11 [INFO] [stderr] Checking serde_json v1.0.2 [INFO] [stderr] Checking pet-sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/amt.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | 1...24 => Amount::Little, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/amt.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | 25...49 => Amount::Bit, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/amt.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | 1...24 => Amount::Little, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/amt.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | 25...49 => Amount::Bit, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/amt.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | 50...75 => Amount::Some, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/amt.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | 50...75 => Amount::Some, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | (lhs as i16 + rhs.scale(scale) as i16).clamp(0, 100) as u8 [INFO] [stdout] | ^^^^^ multiple `clamp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Clamp` for the type `T` [INFO] [stdout] --> src/clamp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn clamp(self, lower: T, upper: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Ord` for the type `i16` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 59 | Clamp::clamp((lhs as i16 + rhs.scale(scale) as i16), 0, 100) as u8 [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 59 | Ord::clamp((lhs as i16 + rhs.scale(scale) as i16), 0, 100) as u8 [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | (lhs as i16 - rhs.scale(scale) as i16).clamp(0, 100) as u8 [INFO] [stdout] | ^^^^^ multiple `clamp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Clamp` for the type `T` [INFO] [stdout] --> src/clamp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn clamp(self, lower: T, upper: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Ord` for the type `i16` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 63 | Clamp::clamp((lhs as i16 - rhs.scale(scale) as i16), 0, 100) as u8 [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 63 | Ord::clamp((lhs as i16 - rhs.scale(scale) as i16), 0, 100) as u8 [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | (lhs as i16 + rhs.scale(scale) as i16).clamp(0, 100) as u8 [INFO] [stdout] | ^^^^^ multiple `clamp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Clamp` for the type `T` [INFO] [stdout] --> src/clamp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn clamp(self, lower: T, upper: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Ord` for the type `i16` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 59 | Clamp::clamp((lhs as i16 + rhs.scale(scale) as i16), 0, 100) as u8 [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 59 | Ord::clamp((lhs as i16 + rhs.scale(scale) as i16), 0, 100) as u8 [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | (lhs as i16 - rhs.scale(scale) as i16).clamp(0, 100) as u8 [INFO] [stdout] | ^^^^^ multiple `clamp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Clamp` for the type `T` [INFO] [stdout] --> src/clamp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn clamp(self, lower: T, upper: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Ord` for the type `i16` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 63 | Clamp::clamp((lhs as i16 - rhs.scale(scale) as i16), 0, 100) as u8 [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 63 | Ord::clamp((lhs as i16 - rhs.scale(scale) as i16), 0, 100) as u8 [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pet.rs:141:45 [INFO] [stdout] | [INFO] [stdout] 141 | self.age = (self.age as i16 + 1i16).clamp(0, 255) as u8; [INFO] [stdout] | ^^^^^ multiple `clamp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Clamp` for the type `T` [INFO] [stdout] --> src/clamp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn clamp(self, lower: T, upper: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Ord` for the type `i16` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 141 | self.age = Clamp::clamp((self.age as i16 + 1i16), 0, 255) as u8; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 141 | self.age = Ord::clamp((self.age as i16 + 1i16), 0, 255) as u8; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | assert_eq!(50, i.clamp(0, 100)); [INFO] [stdout] | ^^^^^ multiple `clamp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Clamp` for the type `T` [INFO] [stdout] --> src/clamp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn clamp(self, lower: T, upper: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `Ord` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 73 | assert_eq!(50, Clamp::clamp(i, 0, 100)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 73 | assert_eq!(50, Ord::clamp(i, 0, 100)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(100, i.clamp(0, 100)); [INFO] [stdout] | ^^^^^ multiple `clamp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Clamp` for the type `T` [INFO] [stdout] --> src/clamp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn clamp(self, lower: T, upper: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `Ord` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(100, Clamp::clamp(i, 0, 100)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(100, Ord::clamp(i, 0, 100)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(0, i.clamp(0, 100)); [INFO] [stdout] | ^^^^^ multiple `clamp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Clamp` for the type `T` [INFO] [stdout] --> src/clamp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn clamp(self, lower: T, upper: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `Ord` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(0, Clamp::clamp(i, 0, 100)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(0, Ord::clamp(i, 0, 100)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/pet.rs:141:45 [INFO] [stdout] | [INFO] [stdout] 141 | self.age = (self.age as i16 + 1i16).clamp(0, 255) as u8; [INFO] [stdout] | ^^^^^ multiple `clamp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Clamp` for the type `T` [INFO] [stdout] --> src/clamp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn clamp(self, lower: T, upper: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Ord` for the type `i16` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 141 | self.age = Clamp::clamp((self.age as i16 + 1i16), 0, 255) as u8; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 141 | self.age = Ord::clamp((self.age as i16 + 1i16), 0, 255) as u8; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> src/pet.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | self.inventory.remove_item(item); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> src/pet.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | self.inventory.remove_item(item); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clamp::Clamp` [INFO] [stdout] --> src/pet.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clamp::Clamp; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clamp::Clamp` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use clamp::Clamp; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pet-sim` due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `clamp::Clamp` [INFO] [stdout] --> src/pet.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clamp::Clamp; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clamp::Clamp` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use clamp::Clamp; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::clamp::Clamp` [INFO] [stdout] --> src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | use ::clamp::Clamp; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "da118bb08f6180d013ca0906935db289b75ad890476ca563b316b0340f4de5fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da118bb08f6180d013ca0906935db289b75ad890476ca563b316b0340f4de5fc", kill_on_drop: false }` [INFO] [stdout] da118bb08f6180d013ca0906935db289b75ad890476ca563b316b0340f4de5fc