[INFO] crate game_features 0.1.0 is already in cache [INFO] extracting crate game_features 0.1.0 into work/ex/beta-1.37-6/sources/1.36.0/reg/game_features/0.1.0 [INFO] extracting crate game_features 0.1.0 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/game_features/0.1.0 [INFO] validating manifest of game_features-0.1.0 on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of game_features-0.1.0 on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/reg/game_features/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing game_features-0.1.0 against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-5/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "build" "--frozen"` [INFO] [stdout] b52f281dbe68b1e385eed4b3924b0afb81037f2ef3607dae3963f76803741970 [INFO] running `"docker" "start" "-a" "b52f281dbe68b1e385eed4b3924b0afb81037f2ef3607dae3963f76803741970"` [INFO] [stderr] Compiling dirty v0.2.0 [INFO] [stderr] Compiling partial_function v0.4.0 [INFO] [stderr] Compiling roman v0.1.6 [INFO] [stderr] Compiling derive-new v0.5.7 [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 5.56s [INFO] running `"docker" "inspect" "b52f281dbe68b1e385eed4b3924b0afb81037f2ef3607dae3963f76803741970"` [INFO] running `"docker" "rm" "-f" "b52f281dbe68b1e385eed4b3924b0afb81037f2ef3607dae3963f76803741970"` [INFO] [stdout] b52f281dbe68b1e385eed4b3924b0afb81037f2ef3607dae3963f76803741970 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-5/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 479a25ec0a430596028880943812022061cf5989e42ab2200e0c6aeb6e5ba571 [INFO] running `"docker" "start" "-a" "479a25ec0a430596028880943812022061cf5989e42ab2200e0c6aeb6e5ba571"` [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.71s [INFO] running `"docker" "inspect" "479a25ec0a430596028880943812022061cf5989e42ab2200e0c6aeb6e5ba571"` [INFO] running `"docker" "rm" "-f" "479a25ec0a430596028880943812022061cf5989e42ab2200e0c6aeb6e5ba571"` [INFO] [stdout] 479a25ec0a430596028880943812022061cf5989e42ab2200e0c6aeb6e5ba571 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-5/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "test" "--frozen"` [INFO] [stdout] dfe2fd91b6f07c0a9346c0ec1171eb5de033cae1e7001d270b8701b0b1cbb76c [INFO] running `"docker" "start" "-a" "dfe2fd91b6f07c0a9346c0ec1171eb5de033cae1e7001d270b8701b0b1cbb76c"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running /opt/crater/target/debug/deps/game_features-59ec06f9dd2647ff [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test item::test::complex_items ... ok [INFO] [stderr] Doc-tests game_features [INFO] [stdout] test item::test::inventory_insert_empty_fixed ... 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 `"docker" "inspect" "dfe2fd91b6f07c0a9346c0ec1171eb5de033cae1e7001d270b8701b0b1cbb76c"` [INFO] running `"docker" "rm" "-f" "dfe2fd91b6f07c0a9346c0ec1171eb5de033cae1e7001d270b8701b0b1cbb76c"` [INFO] [stdout] dfe2fd91b6f07c0a9346c0ec1171eb5de033cae1e7001d270b8701b0b1cbb76c