[INFO] updating cached repository FredericHeem/rust-by-example [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/FredericHeem/rust-by-example [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/FredericHeem/rust-by-example" "work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/FredericHeem/rust-by-example"` [INFO] [stderr] Cloning into 'work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/FredericHeem/rust-by-example'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/FredericHeem/rust-by-example" "work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/gh/FredericHeem/rust-by-example"` [INFO] [stderr] Cloning into 'work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/gh/FredericHeem/rust-by-example'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5ba1425ab145779f67b9ef2474e867945577c80b [INFO] sha for GitHub repo FredericHeem/rust-by-example: 5ba1425ab145779f67b9ef2474e867945577c80b [INFO] validating manifest of FredericHeem/rust-by-example on toolchain master#5f9c0448dde167128d668da4555879f64e56af1d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of FredericHeem/rust-by-example on toolchain try#8ec8125bea94852768b56958f05da47666c21ab0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing FredericHeem/rust-by-example [INFO] finished frobbing FredericHeem/rust-by-example [INFO] frobbed toml for FredericHeem/rust-by-example written to work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/FredericHeem/rust-by-example/Cargo.toml [INFO] started frobbing FredericHeem/rust-by-example [INFO] finished frobbing FredericHeem/rust-by-example [INFO] frobbed toml for FredericHeem/rust-by-example written to work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/gh/FredericHeem/rust-by-example/Cargo.toml [INFO] crate FredericHeem/rust-by-example already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking FredericHeem/rust-by-example against master#5f9c0448dde167128d668da4555879f64e56af1d for pr-62133 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62133/worker-2/master#5f9c0448dde167128d668da4555879f64e56af1d:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/FredericHeem/rust-by-example:/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" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] f8c6f189d2b000113b13921da02f0eb106bd64272e481e194410dcfcc9802fa4 [INFO] running `"docker" "start" "-a" "f8c6f189d2b000113b13921da02f0eb106bd64272e481e194410dcfcc9802fa4"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rayon-core v1.0.2 [INFO] [stderr] Checking rayon v0.7.1 [INFO] [stderr] Checking rust-by-example v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `root` [INFO] [stderr] --> src/tree.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | Some(root) => println!("has root"), [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_root` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `key_pair` as mutable, as it is a captured variable in a `Fn` closure [INFO] [stderr] --> src/parallel.rs:16:59 [INFO] [stderr] | [INFO] [stderr] 16 | passwords.par_iter().find_any(|&&x| check_password(x, &mut key_pair)); [INFO] [stderr] | ^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stderr] | [INFO] [stderr] help: consider changing this to accept closures that implement `FnMut` [INFO] [stderr] --> src/parallel.rs:16:35 [INFO] [stderr] | [INFO] [stderr] 16 | passwords.par_iter().find_any(|&&x| check_password(x, &mut key_pair)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [INFO] [stderr] error: Could not compile `rust-by-example`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/parallel.rs:27:46 [INFO] [stderr] | [INFO] [stderr] 27 | let result = check_passwords(&passwords, &mut key_pair); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found mutable reference [INFO] [stderr] | help: consider removing the borrow: `key_pair` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `&mut std::string::String` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `rust-by-example`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f8c6f189d2b000113b13921da02f0eb106bd64272e481e194410dcfcc9802fa4"` [INFO] running `"docker" "rm" "-f" "f8c6f189d2b000113b13921da02f0eb106bd64272e481e194410dcfcc9802fa4"` [INFO] [stdout] f8c6f189d2b000113b13921da02f0eb106bd64272e481e194410dcfcc9802fa4