[INFO] updating cached repository ian-h-chamberlain/borrowck_examples [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ian-h-chamberlain/borrowck_examples [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ian-h-chamberlain/borrowck_examples" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/ian-h-chamberlain/borrowck_examples"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/ian-h-chamberlain/borrowck_examples'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ian-h-chamberlain/borrowck_examples" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/ian-h-chamberlain/borrowck_examples"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/ian-h-chamberlain/borrowck_examples'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3c974e3a8d2cc0852e9a9f3c04bbf9d21b8e11ac [INFO] sha for GitHub repo ian-h-chamberlain/borrowck_examples: 3c974e3a8d2cc0852e9a9f3c04bbf9d21b8e11ac [INFO] validating manifest of ian-h-chamberlain/borrowck_examples on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of ian-h-chamberlain/borrowck_examples on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing ian-h-chamberlain/borrowck_examples [INFO] finished frobbing ian-h-chamberlain/borrowck_examples [INFO] frobbed toml for ian-h-chamberlain/borrowck_examples written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/ian-h-chamberlain/borrowck_examples/Cargo.toml [INFO] started frobbing ian-h-chamberlain/borrowck_examples [INFO] finished frobbing ian-h-chamberlain/borrowck_examples [INFO] frobbed toml for ian-h-chamberlain/borrowck_examples written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/ian-h-chamberlain/borrowck_examples/Cargo.toml [INFO] crate ian-h-chamberlain/borrowck_examples already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking ian-h-chamberlain/borrowck_examples against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-7/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/ian-h-chamberlain/borrowck_examples:/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=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" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3d6f909fe89bad0706cd2fe60ad0b25b608ddab65635c2ce1cdf05a7ed50d047 [INFO] running `"docker" "start" "-a" "3d6f909fe89bad0706cd2fe60ad0b25b608ddab65635c2ce1cdf05a7ed50d047"` [INFO] [stderr] Checking borrowck_lightning_talk v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0499]: cannot borrow `foo` as mutable more than once at a time [INFO] [stderr] --> src/borrow.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 6 | let bar = &mut foo; [INFO] [stderr] | -------- first mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 10 | let baz = &mut foo; [INFO] [stderr] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 15 | *bar += 1; [INFO] [stderr] | --------- first borrow later used here [INFO] [stderr] [INFO] [stderr] error[E0502]: cannot borrow `my_string` as immutable because it is also borrowed as mutable [INFO] [stderr] --> src/borrow.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 23 | let ref1 = &mut my_string; [INFO] [stderr] | -------------- mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 26 | let ref2 = &my_string; [INFO] [stderr] | ^^^^^^^^^^ immutable borrow occurs here [INFO] [stderr] 27 | [INFO] [stderr] 28 | *ref1 = String::from("foo"); [INFO] [stderr] | ----- mutable borrow later used here [INFO] [stderr] [INFO] [stderr] error[E0502]: cannot borrow `my_string` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/borrow.rs:40:16 [INFO] [stderr] | [INFO] [stderr] 36 | let ref1 = &my_string; [INFO] [stderr] | ---------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 40 | let ref3 = &mut my_string; [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 44 | println!("Example 3: {}, {}", *ref1, *ref2); [INFO] [stderr] | ----- immutable borrow later used here [INFO] [stderr] [INFO] [stderr] error[E0597]: `my_string` does not live long enough [INFO] [stderr] --> src/borrow.rs:53:16 [INFO] [stderr] | [INFO] [stderr] 53 | ref1 = &mut my_string; [INFO] [stderr] | ^^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stderr] 54 | } [INFO] [stderr] | - `my_string` dropped here while still borrowed [INFO] [stderr] 55 | [INFO] [stderr] 56 | *ref1 = String::from("my fair lady"); [INFO] [stderr] | ----- borrow later used here [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0499, E0502, E0597. [INFO] [stderr] For more information about an error, try `rustc --explain E0499`. [INFO] [stderr] error: Could not compile `borrowck_lightning_talk`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0499]: cannot borrow `foo` as mutable more than once at a time [INFO] [stderr] --> src/borrow.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 6 | let bar = &mut foo; [INFO] [stderr] | -------- first mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 10 | let baz = &mut foo; [INFO] [stderr] | ^^^^^^^^ second mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 15 | *bar += 1; [INFO] [stderr] | --------- first borrow later used here [INFO] [stderr] [INFO] [stderr] error[E0502]: cannot borrow `my_string` as immutable because it is also borrowed as mutable [INFO] [stderr] --> src/borrow.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 23 | let ref1 = &mut my_string; [INFO] [stderr] | -------------- mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 26 | let ref2 = &my_string; [INFO] [stderr] | ^^^^^^^^^^ immutable borrow occurs here [INFO] [stderr] 27 | [INFO] [stderr] 28 | *ref1 = String::from("foo"); [INFO] [stderr] | ----- mutable borrow later used here [INFO] [stderr] [INFO] [stderr] error[E0502]: cannot borrow `my_string` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/borrow.rs:40:16 [INFO] [stderr] | [INFO] [stderr] 36 | let ref1 = &my_string; [INFO] [stderr] | ---------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 40 | let ref3 = &mut my_string; [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 44 | println!("Example 3: {}, {}", *ref1, *ref2); [INFO] [stderr] | ----- immutable borrow later used here [INFO] [stderr] [INFO] [stderr] error[E0597]: `my_string` does not live long enough [INFO] [stderr] --> src/borrow.rs:53:16 [INFO] [stderr] | [INFO] [stderr] 53 | ref1 = &mut my_string; [INFO] [stderr] | ^^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stderr] 54 | } [INFO] [stderr] | - `my_string` dropped here while still borrowed [INFO] [stderr] 55 | [INFO] [stderr] 56 | *ref1 = String::from("my fair lady"); [INFO] [stderr] | ----- borrow later used here [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0499, E0502, E0597. [INFO] [stderr] For more information about an error, try `rustc --explain E0499`. [INFO] [stderr] error: Could not compile `borrowck_lightning_talk`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3d6f909fe89bad0706cd2fe60ad0b25b608ddab65635c2ce1cdf05a7ed50d047"` [INFO] running `"docker" "rm" "-f" "3d6f909fe89bad0706cd2fe60ad0b25b608ddab65635c2ce1cdf05a7ed50d047"` [INFO] [stdout] 3d6f909fe89bad0706cd2fe60ad0b25b608ddab65635c2ce1cdf05a7ed50d047