[INFO] cloning repository dre-hh/rest [INFO] running `"git" "clone" "--bare" "git://github.com/dre-hh/rest.git" "work/cache/sources/gh/dre-hh/rest"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/dre-hh/rest'... [INFO] running `"git" "clone" "work/cache/sources/gh/dre-hh/rest" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/dre-hh/rest"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/dre-hh/rest'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/dre-hh/rest" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/dre-hh/rest"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of dre-hh/rest on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-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-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/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-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/dre-hh/rest/Cargo.toml [INFO] crate dre-hh/rest already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing dre-hh/rest against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-1/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] dec0c0ed5e7ca815abd729b54bb8ac0293fd4c2305751ae49285ffb2da7b78cf [INFO] running `"docker" "start" "-a" "dec0c0ed5e7ca815abd729b54bb8ac0293fd4c2305751ae49285ffb2da7b78cf"` [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling tokio-io v0.1.9 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stderr] Compiling openssl v0.10.12 [INFO] [stderr] Compiling serde_urlencoded v0.5.3 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.7 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.2 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling tokio v0.1.11 [INFO] [stderr] Compiling hyper v0.12.11 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling reqwest v0.9.2 [INFO] [stderr] Compiling rest v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.94s [INFO] running `"docker" "inspect" "dec0c0ed5e7ca815abd729b54bb8ac0293fd4c2305751ae49285ffb2da7b78cf"` [INFO] running `"docker" "rm" "-f" "dec0c0ed5e7ca815abd729b54bb8ac0293fd4c2305751ae49285ffb2da7b78cf"` [INFO] [stdout] dec0c0ed5e7ca815abd729b54bb8ac0293fd4c2305751ae49285ffb2da7b78cf [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-1/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] f9ca9e6be039a0771b184a61cb16d26d2aff396c34f34ef9de646c6798cd58f2 [INFO] running `"docker" "start" "-a" "f9ca9e6be039a0771b184a61cb16d26d2aff396c34f34ef9de646c6798cd58f2"` [INFO] [stderr] Compiling rest v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0515]: cannot return value referencing local variable `api` [INFO] [stderr] --> tests/cats.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 14 | let cats = Cats { api: &api }; [INFO] [stderr] | ---- `api` is borrowed here [INFO] [stderr] 15 | [INFO] [stderr] 16 | / Env { [INFO] [stderr] 17 | | cats: cats, [INFO] [stderr] 18 | | api: api, [INFO] [stderr] 19 | | } [INFO] [stderr] | |_____^ returns a value referencing data owned by the current function [INFO] [stderr] [INFO] [stderr] error[E0505]: cannot move out of `api` because it is borrowed [INFO] [stderr] --> tests/cats.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 12 | fn setup<'a>() -> Env<'a> { [INFO] [stderr] | -- lifetime `'a` defined here [INFO] [stderr] 13 | let api = test_helper::rest_api(); [INFO] [stderr] 14 | let cats = Cats { api: &api }; [INFO] [stderr] | ---- borrow of `api` occurs here [INFO] [stderr] 15 | [INFO] [stderr] 16 | / Env { [INFO] [stderr] 17 | | cats: cats, [INFO] [stderr] 18 | | api: api, [INFO] [stderr] | | ^^^ move out of `api` occurs here [INFO] [stderr] 19 | | } [INFO] [stderr] | |_____- returning this value requires that `api` is borrowed for `'a` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0505, E0515. [INFO] [stderr] For more information about an error, try `rustc --explain E0505`. [INFO] [stderr] error: Could not compile `rest`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "f9ca9e6be039a0771b184a61cb16d26d2aff396c34f34ef9de646c6798cd58f2"` [INFO] running `"docker" "rm" "-f" "f9ca9e6be039a0771b184a61cb16d26d2aff396c34f34ef9de646c6798cd58f2"` [INFO] [stdout] f9ca9e6be039a0771b184a61cb16d26d2aff396c34f34ef9de646c6798cd58f2