[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] checking alexjeffries/yams against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [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 b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "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" "+b61e69433951e31f7bd746e22f516a48ad41623b" "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" "+b61e69433951e31f7bd746e22f516a48ad41623b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 9a83e7dc4fbaa33b40973b21054cb00bd48dd674e4a41a4130d4051d12f05c92 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "9a83e7dc4fbaa33b40973b21054cb00bd48dd674e4a41a4130d4051d12f05c92"` [INFO] [stderr] Checking iovec v0.1.0 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Compiling unicase v2.0.0 [INFO] [stderr] Checking futures-cpupool v0.1.5 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Checking bytes v0.4.5 [INFO] [stderr] Checking mio v0.6.10 [INFO] [stderr] Checking tokio-io v0.1.3 [INFO] [stderr] Checking mime v0.3.3 [INFO] [stderr] Checking tokio-core v0.1.9 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking hyper v0.11.2 [INFO] [stderr] Checking 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] warning: build failed, waiting for other jobs to finish... [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" "9a83e7dc4fbaa33b40973b21054cb00bd48dd674e4a41a4130d4051d12f05c92"` [INFO] running `"docker" "rm" "-f" "9a83e7dc4fbaa33b40973b21054cb00bd48dd674e4a41a4130d4051d12f05c92"` [INFO] [stdout] 9a83e7dc4fbaa33b40973b21054cb00bd48dd674e4a41a4130d4051d12f05c92