[INFO] crate game_features 0.1.0 is already in cache [INFO] checking game_features-0.1.0 against try#85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 for pr-73323 [INFO] extracting crate game_features 0.1.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate game_features 0.1.0 on toolchain 85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 301a47c07bbb26cf6109a47dc2ab6e8782afb2fac772a57ef9143f722da0f1ff [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" "301a47c07bbb26cf6109a47dc2ab6e8782afb2fac772a57ef9143f722da0f1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "301a47c07bbb26cf6109a47dc2ab6e8782afb2fac772a57ef9143f722da0f1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301a47c07bbb26cf6109a47dc2ab6e8782afb2fac772a57ef9143f722da0f1ff", kill_on_drop: false }` [INFO] [stdout] 301a47c07bbb26cf6109a47dc2ab6e8782afb2fac772a57ef9143f722da0f1ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d1cadcdb4870ce50303053d8289ba7d035f4c532c80a07dd9c8de6bcb651e1a [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" "5d1cadcdb4870ce50303053d8289ba7d035f4c532c80a07dd9c8de6bcb651e1a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking dirty v0.2.0 [INFO] [stderr] Checking partial_function v0.4.0 [INFO] [stderr] Checking roman v0.1.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking 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] Checking serde v1.0.114 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Checking ron v0.2.2 [INFO] [stderr] Checking 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: 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: 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.51s [INFO] running `Command { std: "docker" "inspect" "5d1cadcdb4870ce50303053d8289ba7d035f4c532c80a07dd9c8de6bcb651e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d1cadcdb4870ce50303053d8289ba7d035f4c532c80a07dd9c8de6bcb651e1a", kill_on_drop: false }` [INFO] [stdout] 5d1cadcdb4870ce50303053d8289ba7d035f4c532c80a07dd9c8de6bcb651e1a