[INFO] crate game_features 0.1.0 is already in cache [INFO] testing game_features-0.1.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate game_features 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate game_features 0.1.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate game_features 0.1.0 [INFO] finished tweaking crates.io crate game_features 0.1.0 [INFO] tweaked toml for crates.io crate game_features 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b23c47401ecf4b8ffdf8e145e1faf7d8224761fccaf6876856a827241970e60 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4b23c47401ecf4b8ffdf8e145e1faf7d8224761fccaf6876856a827241970e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b23c47401ecf4b8ffdf8e145e1faf7d8224761fccaf6876856a827241970e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b23c47401ecf4b8ffdf8e145e1faf7d8224761fccaf6876856a827241970e60", kill_on_drop: false }` [INFO] [stdout] 4b23c47401ecf4b8ffdf8e145e1faf7d8224761fccaf6876856a827241970e60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 661128483a16805adf6acf3f4a410843047bdac000b26118a2e85313480df54d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "661128483a16805adf6acf3f4a410843047bdac000b26118a2e85313480df54d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling roman v0.1.6 [INFO] [stderr] Compiling dirty v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling partial_function v0.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling ron v0.2.2 [INFO] [stderr] Compiling game_features v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/faction.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn claim_from(&mut self, other: &mut Faction, settings: &FactionSettings) -> FactionResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/faction.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn claim_from(&mut self, other: &mut Faction, settings: &FactionSettings) -> FactionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_overflow` [INFO] [stdout] --> src/item.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | with_overflow: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_overflow` [INFO] [stdout] --> src/item.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | with_overflow: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/item.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 251 | if let Some(Some(ii)) = self.content.get(from_idx) { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 252 | self.transfer(from_idx, target, to_idx, ii.quantity, with_overflow) [INFO] [stdout] | ^^^^ mutable borrow occurs here ----------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/item.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(Some(ii)) = self.content.get(from_idx) { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 291 | self.move_item(from_idx, to_idx, ii.quantity, with_overflow) [INFO] [stdout] | ^^^^ mutable borrow occurs here ----------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/item.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 355 | if let Some(Some(ii)) = self.content.get(idx) { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 356 | self.delete(idx, ii.quantity) [INFO] [stdout] | ^^^^ ----------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.71s [INFO] running `Command { std: "docker" "inspect" "661128483a16805adf6acf3f4a410843047bdac000b26118a2e85313480df54d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "661128483a16805adf6acf3f4a410843047bdac000b26118a2e85313480df54d", kill_on_drop: false }` [INFO] [stdout] 661128483a16805adf6acf3f4a410843047bdac000b26118a2e85313480df54d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84629d721f6881d29ea4300318b1b9f232f361a556793600df1d7fc1dbac0cd0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "84629d721f6881d29ea4300318b1b9f232f361a556793600df1d7fc1dbac0cd0", kill_on_drop: false }` [INFO] [stderr] Compiling game_features v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/faction.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn claim_from(&mut self, other: &mut Faction, settings: &FactionSettings) -> FactionResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/faction.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn claim_from(&mut self, other: &mut Faction, settings: &FactionSettings) -> FactionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_overflow` [INFO] [stdout] --> src/item.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | with_overflow: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_overflow` [INFO] [stdout] --> src/item.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | with_overflow: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/item.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 251 | if let Some(Some(ii)) = self.content.get(from_idx) { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 252 | self.transfer(from_idx, target, to_idx, ii.quantity, with_overflow) [INFO] [stdout] | ^^^^ mutable borrow occurs here ----------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/item.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(Some(ii)) = self.content.get(from_idx) { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 291 | self.move_item(from_idx, to_idx, ii.quantity, with_overflow) [INFO] [stdout] | ^^^^ mutable borrow occurs here ----------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/item.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 355 | if let Some(Some(ii)) = self.content.get(idx) { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 356 | self.delete(idx, ii.quantity) [INFO] [stdout] | ^^^^ ----------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/faction.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn claim_from(&mut self, other: &mut Faction, settings: &FactionSettings) -> FactionResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/faction.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn claim_from(&mut self, other: &mut Faction, settings: &FactionSettings) -> FactionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_overflow` [INFO] [stdout] --> src/item.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | with_overflow: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_overflow` [INFO] [stdout] --> src/item.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | with_overflow: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_def` [INFO] [stdout] --> src/item.rs:659:13 [INFO] [stdout] | [INFO] [stdout] 659 | let item_def = ItemDefinitionBuilder::default() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/item.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 251 | if let Some(Some(ii)) = self.content.get(from_idx) { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 252 | self.transfer(from_idx, target, to_idx, ii.quantity, with_overflow) [INFO] [stdout] | ^^^^ mutable borrow occurs here ----------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/item.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(Some(ii)) = self.content.get(from_idx) { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 291 | self.move_item(from_idx, to_idx, ii.quantity, with_overflow) [INFO] [stdout] | ^^^^ mutable borrow occurs here ----------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/item.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 355 | if let Some(Some(ii)) = self.content.get(idx) { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 356 | self.delete(idx, ii.quantity) [INFO] [stdout] | ^^^^ ----------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.23s [INFO] running `Command { std: "docker" "inspect" "84629d721f6881d29ea4300318b1b9f232f361a556793600df1d7fc1dbac0cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84629d721f6881d29ea4300318b1b9f232f361a556793600df1d7fc1dbac0cd0", kill_on_drop: false }` [INFO] [stdout] 84629d721f6881d29ea4300318b1b9f232f361a556793600df1d7fc1dbac0cd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9414cd145843363b65f25387610aaa1d5005862e40d597b2e7c6418d74f13922 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9414cd145843363b65f25387610aaa1d5005862e40d597b2e7c6418d74f13922", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/faction.rs:11:34 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn claim_from(&mut self, other: &mut Faction, settings: &FactionSettings) -> FactionResult { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `settings` [INFO] [stderr] --> src/faction.rs:11:55 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn claim_from(&mut self, other: &mut Faction, settings: &FactionSettings) -> FactionResult { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `with_overflow` [INFO] [stderr] --> src/item.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 229 | with_overflow: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_overflow` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `with_overflow` [INFO] [stderr] --> src/item.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 269 | with_overflow: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_overflow` [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/item.rs:252:13 [INFO] [stderr] | [INFO] [stderr] 251 | if let Some(Some(ii)) = self.content.get(from_idx) { [INFO] [stderr] | ------------ immutable borrow occurs here [INFO] [stderr] 252 | self.transfer(from_idx, target, to_idx, ii.quantity, with_overflow) [INFO] [stderr] | ^^^^ mutable borrow occurs here ----------- immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/item.rs:291:13 [INFO] [stderr] | [INFO] [stderr] 290 | if let Some(Some(ii)) = self.content.get(from_idx) { [INFO] [stderr] | ------------ immutable borrow occurs here [INFO] [stderr] 291 | self.move_item(from_idx, to_idx, ii.quantity, with_overflow) [INFO] [stderr] | ^^^^ mutable borrow occurs here ----------- immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/item.rs:356:13 [INFO] [stderr] | [INFO] [stderr] 355 | if let Some(Some(ii)) = self.content.get(idx) { [INFO] [stderr] | ------------ immutable borrow occurs here [INFO] [stderr] 356 | self.delete(idx, ii.quantity) [INFO] [stderr] | ^^^^ ----------- immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/faction.rs:11:34 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn claim_from(&mut self, other: &mut Faction, settings: &FactionSettings) -> FactionResult { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `settings` [INFO] [stderr] --> src/faction.rs:11:55 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn claim_from(&mut self, other: &mut Faction, settings: &FactionSettings) -> FactionResult { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `with_overflow` [INFO] [stderr] --> src/item.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 229 | with_overflow: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_overflow` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `with_overflow` [INFO] [stderr] --> src/item.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 269 | with_overflow: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_overflow` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `item_def` [INFO] [stderr] --> src/item.rs:659:13 [INFO] [stderr] | [INFO] [stderr] 659 | let item_def = ItemDefinitionBuilder::default() [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_def` [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/item.rs:252:13 [INFO] [stderr] | [INFO] [stderr] 251 | if let Some(Some(ii)) = self.content.get(from_idx) { [INFO] [stderr] | ------------ immutable borrow occurs here [INFO] [stderr] 252 | self.transfer(from_idx, target, to_idx, ii.quantity, with_overflow) [INFO] [stderr] | ^^^^ mutable borrow occurs here ----------- immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/item.rs:291:13 [INFO] [stderr] | [INFO] [stderr] 290 | if let Some(Some(ii)) = self.content.get(from_idx) { [INFO] [stderr] | ------------ immutable borrow occurs here [INFO] [stderr] 291 | self.move_item(from_idx, to_idx, ii.quantity, with_overflow) [INFO] [stderr] | ^^^^ mutable borrow occurs here ----------- immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/item.rs:356:13 [INFO] [stderr] | [INFO] [stderr] 355 | if let Some(Some(ii)) = self.content.get(idx) { [INFO] [stderr] | ------------ immutable borrow occurs here [INFO] [stderr] 356 | self.delete(idx, ii.quantity) [INFO] [stderr] | ^^^^ ----------- immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/game_features-1a1c9c8efeb111b3 [INFO] [stdout] running 2 tests [INFO] [stderr] Doc-tests game_features [INFO] [stdout] test item::test::inventory_insert_empty_fixed ... ok [INFO] [stdout] test item::test::complex_items ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9414cd145843363b65f25387610aaa1d5005862e40d597b2e7c6418d74f13922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9414cd145843363b65f25387610aaa1d5005862e40d597b2e7c6418d74f13922", kill_on_drop: false }` [INFO] [stdout] 9414cd145843363b65f25387610aaa1d5005862e40d597b2e7c6418d74f13922