[INFO] updating cached repository https://github.com/dre-hh/rest [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 16286efaf10d2c3ae6c4cbfe21501da33a230ff9 [INFO] checking dre-hh/rest against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdre-hh%2Frest" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dre-hh/rest on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/dre-hh/rest [INFO] finished tweaking git repo https://github.com/dre-hh/rest [INFO] tweaked toml for git repo https://github.com/dre-hh/rest written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/dre-hh/rest already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 82f2bfb1a43bc0149453f1e1672594c73ea93502d4267be0f3e5c02b554d5b8f [INFO] running `"docker" "start" "-a" "82f2bfb1a43bc0149453f1e1672594c73ea93502d4267be0f3e5c02b554d5b8f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking encoding_rs v0.8.10 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking serde_json v1.0.32 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Checking tokio-io v0.1.9 [INFO] [stderr] Checking http v0.1.13 [INFO] [stderr] Checking libflate v0.1.18 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.36 [INFO] [stderr] Checking phf_shared v0.7.23 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking mime v0.3.9 [INFO] [stderr] Checking crossbeam-deque v0.6.1 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Checking tokio-threadpool v0.1.7 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking h2 v0.1.12 [INFO] [stderr] Checking tokio-fs v0.1.3 [INFO] [stderr] Compiling openssl v0.10.12 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-reactor v0.1.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Checking tokio-uds v0.2.2 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio v0.1.11 [INFO] [stderr] Checking hyper v0.12.11 [INFO] [stderr] Checking serde_urlencoded v0.5.3 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.2 [INFO] [stderr] Checking rest v0.1.0 (/opt/rustwide/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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "82f2bfb1a43bc0149453f1e1672594c73ea93502d4267be0f3e5c02b554d5b8f"` [INFO] running `"docker" "rm" "-f" "82f2bfb1a43bc0149453f1e1672594c73ea93502d4267be0f3e5c02b554d5b8f"` [INFO] [stdout] 82f2bfb1a43bc0149453f1e1672594c73ea93502d4267be0f3e5c02b554d5b8f