[INFO] updating cached repository christiansakai/leetcode_rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/christiansakai/leetcode_rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/christiansakai/leetcode_rust" "work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/christiansakai/leetcode_rust"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/christiansakai/leetcode_rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/christiansakai/leetcode_rust" "work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/christiansakai/leetcode_rust"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/christiansakai/leetcode_rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c3cc0c03cb0f7b2a5f9b95ae9df86fc3f1a04e9d [INFO] sha for GitHub repo christiansakai/leetcode_rust: c3cc0c03cb0f7b2a5f9b95ae9df86fc3f1a04e9d [INFO] validating manifest of christiansakai/leetcode_rust 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 christiansakai/leetcode_rust 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 christiansakai/leetcode_rust [INFO] finished frobbing christiansakai/leetcode_rust [INFO] frobbed toml for christiansakai/leetcode_rust written to work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/christiansakai/leetcode_rust/Cargo.toml [INFO] started frobbing christiansakai/leetcode_rust [INFO] finished frobbing christiansakai/leetcode_rust [INFO] frobbed toml for christiansakai/leetcode_rust written to work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/christiansakai/leetcode_rust/Cargo.toml [INFO] crate christiansakai/leetcode_rust already has a lockfile, it will not be regenerated [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 christiansakai/leetcode_rust against master#39401465da4ce27aeeb2c2a26133ac35c63aa515 for pr-60914 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60914/worker-3/master#39401465da4ce27aeeb2c2a26133ac35c63aa515:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/christiansakai/leetcode_rust:/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" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 61e8457af6924e3b7058afffcb4636bcbd498acd7a218c16af8ab5dfbddaeb41 [INFO] running `"docker" "start" "-a" "61e8457af6924e3b7058afffcb4636bcbd498acd7a218c16af8ab5dfbddaeb41"` [INFO] [stderr] Checking leetcode_rust v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/easy/n_repeated_element_in_size_2n_array.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 6 | match map.get(el) { [INFO] [stderr] | --- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 11 | map.insert(*el, n + 1); [INFO] [stderr] | ^^^ - immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs 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 `map` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/easy/n_repeated_element_in_size_2n_array.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 6 | match map.get(el) { [INFO] [stderr] | --- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 11 | map.insert(*el, n + 1); [INFO] [stderr] | ^^^ - immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs 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] Finished dev [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `"docker" "inspect" "61e8457af6924e3b7058afffcb4636bcbd498acd7a218c16af8ab5dfbddaeb41"` [INFO] running `"docker" "rm" "-f" "61e8457af6924e3b7058afffcb4636bcbd498acd7a218c16af8ab5dfbddaeb41"` [INFO] [stdout] 61e8457af6924e3b7058afffcb4636bcbd498acd7a218c16af8ab5dfbddaeb41