[INFO] crate rgen3-save 0.1.0 is already in cache [INFO] extracting crate rgen3-save 0.1.0 into work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/rgen3-save/0.1.0 [INFO] extracting crate rgen3-save 0.1.0 into work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/rgen3-save/0.1.0 [INFO] validating manifest of rgen3-save-0.1.0 on toolchain master#39401465da4ce27aeeb2c2a26133ac35c63aa515 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rgen3-save-0.1.0 on toolchain try#f45cc3094ee337acd688771b9234318046b0572d [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing rgen3-save-0.1.0 [INFO] removed path dependency rgen3-string from rgen3-save-0.1.0 [INFO] finished frobbing rgen3-save-0.1.0 [INFO] frobbed toml for rgen3-save-0.1.0 written to work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/rgen3-save/0.1.0/Cargo.toml [INFO] started frobbing rgen3-save-0.1.0 [INFO] removed path dependency rgen3-string from rgen3-save-0.1.0 [INFO] finished frobbing rgen3-save-0.1.0 [INFO] frobbed toml for rgen3-save-0.1.0 written to work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/rgen3-save/0.1.0/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking rgen3-save-0.1.0 against try#f45cc3094ee337acd688771b9234318046b0572d for pr-60914 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60914/worker-3/try#f45cc3094ee337acd688771b9234318046b0572d:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/rgen3-save/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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=forbid" "-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" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7127d440ad63abb2cbf3aa833e8fac850ac17345695c000ce7903c4be3bc71cf [INFO] running `"docker" "start" "-a" "7127d440ad63abb2cbf3aa833e8fac850ac17345695c000ce7903c4be3bc71cf"` [INFO] [stderr] Checking rgen3-string v0.1.0 [INFO] [stderr] Checking rgen3-save v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0503]: cannot use `block.sections[_].data` because it was mutably borrowed [INFO] [stderr] --> src/lib.rs:56:35 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn sections(&mut self) -> SaveSections { [INFO] [stderr] | - let's call the lifetime of this reference `'1` [INFO] [stderr] 49 | let block = &mut self.blocks[self.most_recent_index]; [INFO] [stderr] 50 | let team_and_items = if let SectionData::TeamAndItems(ref mut data) = [INFO] [stderr] | ------------ borrow of `block.sections[_].data.0` occurs here [INFO] [stderr] ... [INFO] [stderr] 56 | let trainer_info = if let SectionData::TrainerInfo(ref mut data) = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of borrowed `block.sections[_].data.0` [INFO] [stderr] ... [INFO] [stderr] 62 | / SaveSections { [INFO] [stderr] 63 | | team: &mut team_and_items.team, [INFO] [stderr] 64 | | trainer: trainer_info, [INFO] [stderr] 65 | | } [INFO] [stderr] | |_________- returning this value requires that `block.sections[_].data.0` is borrowed for `'1` [INFO] [stderr] [INFO] [stderr] error[E0503]: cannot use `block.sections[_].data` because it was mutably borrowed [INFO] [stderr] --> src/lib.rs:56:35 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn sections(&mut self) -> SaveSections { [INFO] [stderr] | - let's call the lifetime of this reference `'1` [INFO] [stderr] 49 | let block = &mut self.blocks[self.most_recent_index]; [INFO] [stderr] 50 | let team_and_items = if let SectionData::TeamAndItems(ref mut data) = [INFO] [stderr] | ------------ borrow of `block.sections[_].data.0` occurs here [INFO] [stderr] ... [INFO] [stderr] 56 | let trainer_info = if let SectionData::TrainerInfo(ref mut data) = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of borrowed `block.sections[_].data.0` [INFO] [stderr] ... [INFO] [stderr] 62 | / SaveSections { [INFO] [stderr] 63 | | team: &mut team_and_items.team, [INFO] [stderr] 64 | | trainer: trainer_info, [INFO] [stderr] 65 | | } [INFO] [stderr] | |_________- returning this value requires that `block.sections[_].data.0` is borrowed for `'1` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0503`. [INFO] [stderr] error: Could not compile `rgen3-save`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0503`. [INFO] [stderr] error: Could not compile `rgen3-save`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7127d440ad63abb2cbf3aa833e8fac850ac17345695c000ce7903c4be3bc71cf"` [INFO] running `"docker" "rm" "-f" "7127d440ad63abb2cbf3aa833e8fac850ac17345695c000ce7903c4be3bc71cf"` [INFO] [stdout] 7127d440ad63abb2cbf3aa833e8fac850ac17345695c000ce7903c4be3bc71cf