[INFO] updating cached repository dre-hh/rest [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/dre-hh/rest [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/dre-hh/rest" "work/ex/pr-56896/sources/master#adbfec229ce07ff4b2a7bf2d6dec2d13cb224980/gh/dre-hh/rest"` [INFO] [stderr] Cloning into 'work/ex/pr-56896/sources/master#adbfec229ce07ff4b2a7bf2d6dec2d13cb224980/gh/dre-hh/rest'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/dre-hh/rest" "work/ex/pr-56896/sources/try#bad365140e1e8233b42b21af70a407f14ce5fec5/gh/dre-hh/rest"` [INFO] [stderr] Cloning into 'work/ex/pr-56896/sources/try#bad365140e1e8233b42b21af70a407f14ce5fec5/gh/dre-hh/rest'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 16286efaf10d2c3ae6c4cbfe21501da33a230ff9 [INFO] sha for GitHub repo dre-hh/rest: 16286efaf10d2c3ae6c4cbfe21501da33a230ff9 [INFO] validating manifest of dre-hh/rest on toolchain master#adbfec229ce07ff4b2a7bf2d6dec2d13cb224980 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+adbfec229ce07ff4b2a7bf2d6dec2d13cb224980-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of dre-hh/rest on toolchain try#bad365140e1e8233b42b21af70a407f14ce5fec5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+bad365140e1e8233b42b21af70a407f14ce5fec5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing dre-hh/rest [INFO] finished frobbing dre-hh/rest [INFO] frobbed toml for dre-hh/rest written to work/ex/pr-56896/sources/master#adbfec229ce07ff4b2a7bf2d6dec2d13cb224980/gh/dre-hh/rest/Cargo.toml [INFO] started frobbing dre-hh/rest [INFO] finished frobbing dre-hh/rest [INFO] frobbed toml for dre-hh/rest written to work/ex/pr-56896/sources/try#bad365140e1e8233b42b21af70a407f14ce5fec5/gh/dre-hh/rest/Cargo.toml [INFO] crate dre-hh/rest has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+adbfec229ce07ff4b2a7bf2d6dec2d13cb224980-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+bad365140e1e8233b42b21af70a407f14ce5fec5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking dre-hh/rest against try#bad365140e1e8233b42b21af70a407f14ce5fec5 for pr-56896 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-56896/worker-6/try#bad365140e1e8233b42b21af70a407f14ce5fec5:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-56896/sources/try#bad365140e1e8233b42b21af70a407f14ce5fec5/gh/dre-hh/rest:/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" "+bad365140e1e8233b42b21af70a407f14ce5fec5-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 94b5ee9a8459e1894fbfd2f8d5b89ceb5896317ff36981e97d1e57d7bcc08274 [INFO] running `"docker" "start" "-a" "94b5ee9a8459e1894fbfd2f8d5b89ceb5896317ff36981e97d1e57d7bcc08274"` [INFO] [stderr] Checking openssl v0.10.12 [INFO] [stderr] Checking native-tls v0.2.1 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.2 [INFO] [stderr] Checking rest v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0597]: `api` does not live long enough [INFO] [stderr] --> tests/cats.rs:14:29 [INFO] [stderr] | [INFO] [stderr] 14 | let cats = Cats { api: &api }; [INFO] [stderr] | ^^^ borrowed value does not live long enough [INFO] [stderr] ... [INFO] [stderr] 20 | } [INFO] [stderr] | - borrowed value only lives until here [INFO] [stderr] | [INFO] [stderr] note: borrowed value must be valid for the lifetime 'a as defined on the function body at 12:10... [INFO] [stderr] --> tests/cats.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | fn setup<'a>() -> Env<'a> { [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 E0597`. [INFO] [stderr] error: Could not compile `rest`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "94b5ee9a8459e1894fbfd2f8d5b89ceb5896317ff36981e97d1e57d7bcc08274"` [INFO] running `"docker" "rm" "-f" "94b5ee9a8459e1894fbfd2f8d5b89ceb5896317ff36981e97d1e57d7bcc08274"` [INFO] [stdout] 94b5ee9a8459e1894fbfd2f8d5b89ceb5896317ff36981e97d1e57d7bcc08274