[INFO] updating cached repository https://github.com/alexjeffries/yams [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] 6e80f265cffe30813e6c626cb654b837a5f246f8 [INFO] testing alexjeffries/yams against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexjeffries%2Fyams" "/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/alexjeffries/yams on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/alexjeffries/yams [INFO] finished tweaking git repo https://github.com/alexjeffries/yams [INFO] tweaked toml for git repo https://github.com/alexjeffries/yams written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/alexjeffries/yams already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 752848c35d79cbcaa4c01e9715413ed05ed85a6ce5b5661fabaee523e5a0b9c5 [INFO] running `"docker" "start" "-a" "752848c35d79cbcaa4c01e9715413ed05ed85a6ce5b5661fabaee523e5a0b9c5"` [INFO] [stderr] Compiling futures v0.1.14 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling percent-encoding v1.0.0 [INFO] [stderr] Compiling iovec v0.1.0 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling textwrap v0.8.0 [INFO] [stderr] Compiling bytes v0.4.5 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling unicase v2.0.0 [INFO] [stderr] Compiling clap v2.26.2 [INFO] [stderr] Compiling mio v0.6.10 [INFO] [stderr] Compiling mime v0.3.3 [INFO] [stderr] Compiling tokio-io v0.1.3 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling futures-cpupool v0.1.5 [INFO] [stderr] Compiling tokio-core v0.1.9 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.2 [INFO] [stderr] Compiling yams v0.0.1+dev (/opt/rustwide/workdir) [INFO] [stderr] error: lifetime may not live long enough [INFO] [stderr] --> src/main.rs:70:50 [INFO] [stderr] | [INFO] [stderr] 70 | let server = Http::new().bind(&addr, move || Ok(YamsService { mocks: &mocks }))?; [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stderr] | | | [INFO] [stderr] | | return type of closure is std::result::Result, std::io::Error> [INFO] [stderr] | lifetime `'1` represents this closure's body [INFO] [stderr] | [INFO] [stderr] = note: closure implements `Fn`, so references to captured variables can't escape the closure [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `yams`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "752848c35d79cbcaa4c01e9715413ed05ed85a6ce5b5661fabaee523e5a0b9c5"` [INFO] running `"docker" "rm" "-f" "752848c35d79cbcaa4c01e9715413ed05ed85a6ce5b5661fabaee523e5a0b9c5"` [INFO] [stdout] 752848c35d79cbcaa4c01e9715413ed05ed85a6ce5b5661fabaee523e5a0b9c5