[INFO] crate game_features 0.1.0 is already in cache [INFO] extracting crate game_features 0.1.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/game_features/0.1.0 [INFO] extracting crate game_features 0.1.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/game_features/0.1.0 [INFO] validating manifest of game_features-0.1.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of game_features-0.1.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing game_features-0.1.0 [INFO] finished frobbing game_features-0.1.0 [INFO] frobbed toml for game_features-0.1.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/game_features/0.1.0/Cargo.toml [INFO] started frobbing game_features-0.1.0 [INFO] finished frobbing game_features-0.1.0 [INFO] frobbed toml for game_features-0.1.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/game_features/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing game_features-0.1.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/game_features/0.1.0:/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=warn" "-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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 7b711e6dd99ca5194a5941d700eb1f4da8127614cdd88c0e4543f0a127a8a86a [INFO] running `"docker" "start" "-a" "7b711e6dd99ca5194a5941d700eb1f4da8127614cdd88c0e4543f0a127a8a86a"` [INFO] [stderr] Compiling roman v0.1.6 [INFO] [stderr] Compiling dirty v0.2.0 [INFO] [stderr] Compiling partial_function v0.4.0 [INFO] [stderr] Compiling ron v0.2.2 [INFO] [stderr] Compiling game_features v0.1.0 (/opt/crater/workdir) [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: consider prefixing 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: consider prefixing 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: consider prefixing 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: consider prefixing 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] Finished dev [unoptimized + debuginfo] target(s) in 3.95s [INFO] running `"docker" "inspect" "7b711e6dd99ca5194a5941d700eb1f4da8127614cdd88c0e4543f0a127a8a86a"` [INFO] running `"docker" "rm" "-f" "7b711e6dd99ca5194a5941d700eb1f4da8127614cdd88c0e4543f0a127a8a86a"` [INFO] [stdout] 7b711e6dd99ca5194a5941d700eb1f4da8127614cdd88c0e4543f0a127a8a86a [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/game_features/0.1.0:/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=warn" "-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" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] fadc7b9768ce1e1d1d09bd45877c25f554cad9a6be9babdd9a7630a4ce18f15d [INFO] running `"docker" "start" "-a" "fadc7b9768ce1e1d1d09bd45877c25f554cad9a6be9babdd9a7630a4ce18f15d"` [INFO] [stderr] Compiling game_features v0.1.0 (/opt/crater/workdir) [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: consider prefixing 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: consider prefixing 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: consider prefixing 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: consider prefixing 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: consider prefixing 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] Finished dev [unoptimized + debuginfo] target(s) in 2.64s [INFO] running `"docker" "inspect" "fadc7b9768ce1e1d1d09bd45877c25f554cad9a6be9babdd9a7630a4ce18f15d"` [INFO] running `"docker" "rm" "-f" "fadc7b9768ce1e1d1d09bd45877c25f554cad9a6be9babdd9a7630a4ce18f15d"` [INFO] [stdout] fadc7b9768ce1e1d1d09bd45877c25f554cad9a6be9babdd9a7630a4ce18f15d [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/game_features/0.1.0:/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=warn" "-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" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 1fb8922caa27ed6c09f54a8f55f0f01c1476d9a75fdd0282a6de958aa442ae59 [INFO] running `"docker" "start" "-a" "1fb8922caa27ed6c09f54a8f55f0f01c1476d9a75fdd0282a6de958aa442ae59"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running /opt/crater/target/debug/deps/game_features-3374936fff71290e [INFO] [stdout] [INFO] [stdout] running 2 tests [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] [stderr] Doc-tests game_features [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 `"docker" "inspect" "1fb8922caa27ed6c09f54a8f55f0f01c1476d9a75fdd0282a6de958aa442ae59"` [INFO] running `"docker" "rm" "-f" "1fb8922caa27ed6c09f54a8f55f0f01c1476d9a75fdd0282a6de958aa442ae59"` [INFO] [stdout] 1fb8922caa27ed6c09f54a8f55f0f01c1476d9a75fdd0282a6de958aa442ae59