[INFO] updating cached repository soniceroy/RustBlockchain [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/soniceroy/RustBlockchain [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/soniceroy/RustBlockchain" "work/ex/beta-1.38-1/sources/1.37.0/gh/soniceroy/RustBlockchain"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/soniceroy/RustBlockchain'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/soniceroy/RustBlockchain" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/soniceroy/RustBlockchain"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/soniceroy/RustBlockchain'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c33433ce9ef133f14b9a808520b6b0bc275bbc9b [INFO] sha for GitHub repo soniceroy/RustBlockchain: c33433ce9ef133f14b9a808520b6b0bc275bbc9b [INFO] validating manifest of soniceroy/RustBlockchain on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of soniceroy/RustBlockchain on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing soniceroy/RustBlockchain [INFO] finished frobbing soniceroy/RustBlockchain [INFO] frobbed toml for soniceroy/RustBlockchain written to work/ex/beta-1.38-1/sources/1.37.0/gh/soniceroy/RustBlockchain/Cargo.toml [INFO] started frobbing soniceroy/RustBlockchain [INFO] finished frobbing soniceroy/RustBlockchain [INFO] frobbed toml for soniceroy/RustBlockchain written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/soniceroy/RustBlockchain/Cargo.toml [INFO] crate soniceroy/RustBlockchain already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing soniceroy/RustBlockchain against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/soniceroy/RustBlockchain:/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.37.0" "build" "--frozen"` [INFO] [stdout] 473f29394030b21b9c144a77b8ba7feda1370cac1fa8b8078739d79e2c495680 [INFO] running `"docker" "start" "-a" "473f29394030b21b9c144a77b8ba7feda1370cac1fa8b8078739d79e2c495680"` [INFO] [stderr] Compiling blockchain v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0495]: cannot infer an appropriate lifetime for lifetime parameter `'a` due to conflicting requirements [INFO] [stderr] --> src/main.rs:59:19 [INFO] [stderr] | [INFO] [stderr] 59 | let new_block = Block::new(0, self.current_transactions, 100, 0); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 57:2... [INFO] [stderr] --> src/main.rs:57:2 [INFO] [stderr] | [INFO] [stderr] 57 | fn new_block(&mut self) { [INFO] [stderr] | _____^ [INFO] [stderr] 58 | | [INFO] [stderr] 59 | | let new_block = Block::new(0, self.current_transactions, 100, 0); [INFO] [stderr] 60 | | self.chain.push(new_block); [INFO] [stderr] 61 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] note: ...so that reference does not outlive borrowed content [INFO] [stderr] --> src/main.rs:59:33 [INFO] [stderr] | [INFO] [stderr] 59 | let new_block = Block::new(0, self.current_transactions, 100, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: but, the lifetime must be valid for the lifetime 'a as defined on the impl at 50:7... [INFO] [stderr] --> src/main.rs:50:7 [INFO] [stderr] | [INFO] [stderr] 50 | impl <'a>Blockchain<'a> { [INFO] [stderr] | ^^ [INFO] [stderr] = note: ...so that the expression is assignable: [INFO] [stderr] expected Block<'a> [INFO] [stderr] found Block<'_> [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `blockchain`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "473f29394030b21b9c144a77b8ba7feda1370cac1fa8b8078739d79e2c495680"` [INFO] running `"docker" "rm" "-f" "473f29394030b21b9c144a77b8ba7feda1370cac1fa8b8078739d79e2c495680"` [INFO] [stdout] 473f29394030b21b9c144a77b8ba7feda1370cac1fa8b8078739d79e2c495680