[INFO] updating cached repository https://github.com/RGafiyatullin/rust-hairy-closure
[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] 3bf3e3ae6bacdf5691cab7b572bbcebdf32b3b90
[INFO] checking RGafiyatullin/rust-hairy-closure against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRGafiyatullin%2Frust-hairy-closure" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/RGafiyatullin/rust-hairy-closure on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/RGafiyatullin/rust-hairy-closure
[INFO] finished tweaking git repo https://github.com/RGafiyatullin/rust-hairy-closure
[INFO] tweaked toml for git repo https://github.com/RGafiyatullin/rust-hairy-closure written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/RGafiyatullin/rust-hairy-closure already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 73e9dab724be418f80619a1fb51345a14d890a040cbd7cd492ab6693957a58b3
[INFO] running `"docker" "start" "-a" "73e9dab724be418f80619a1fb51345a14d890a040cbd7cd492ab6693957a58b3"`
[INFO] [stderr]     Checking tokio-io v0.1.12
[INFO] [stderr]     Checking mio v0.6.17
[INFO] [stderr]     Checking tokio-threadpool v0.1.14
[INFO] [stderr]     Checking parking_lot_core v0.4.0
[INFO] [stderr]     Checking tokio-codec v0.1.1
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking tokio-fs v0.1.6
[INFO] [stderr]     Checking tokio-reactor v0.1.9
[INFO] [stderr]     Checking tokio-udp v0.1.3
[INFO] [stderr]     Checking tokio-uds v0.2.5
[INFO] [stderr]     Checking tokio-tcp v0.1.3
[INFO] [stderr]     Checking tokio v0.1.20
[INFO] [stderr]     Checking memory-safety v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0597]: `s` does not live long enough
[INFO] [stderr]   --> src/main.rs:13:57
[INFO] [stderr]    |
[INFO] [stderr] 7  | fn fold_it(xs: Vec<()>) -> impl Future<Item = (), Error = ()> {
[INFO] [stderr]    |                            ---------------------------------- opaque type requires that `s` is borrowed for `'static`
[INFO] [stderr] ...
[INFO] [stderr] 12 |             |prev, ()| {
[INFO] [stderr]    |             ---------- value captured here
[INFO] [stderr] 13 |                 let fut = prev.and_then(|()| iteration(&s).into_future());
[INFO] [stderr]    |                                                         ^ borrowed value does not live long enough
[INFO] [stderr] ...
[INFO] [stderr] 17 | }
[INFO] [stderr]    | - `s` dropped here while still borrowed
[INFO] [stderr]    |
[INFO] [stderr] help: you can add a bound to the opaque type to make it last less than `'static` and match `'static`
[INFO] [stderr]    |
[INFO] [stderr] 7  | fn fold_it(xs: Vec<()>) -> impl Future<Item = (), Error = ()> + 'static {
[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 `memory-safety`.
[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[E0597]: `s` does not live long enough
[INFO] [stderr]   --> src/main.rs:13:57
[INFO] [stderr]    |
[INFO] [stderr] 7  | fn fold_it(xs: Vec<()>) -> impl Future<Item = (), Error = ()> {
[INFO] [stderr]    |                            ---------------------------------- opaque type requires that `s` is borrowed for `'static`
[INFO] [stderr] ...
[INFO] [stderr] 12 |             |prev, ()| {
[INFO] [stderr]    |             ---------- value captured here
[INFO] [stderr] 13 |                 let fut = prev.and_then(|()| iteration(&s).into_future());
[INFO] [stderr]    |                                                         ^ borrowed value does not live long enough
[INFO] [stderr] ...
[INFO] [stderr] 17 | }
[INFO] [stderr]    | - `s` dropped here while still borrowed
[INFO] [stderr]    |
[INFO] [stderr] help: you can add a bound to the opaque type to make it last less than `'static` and match `'static`
[INFO] [stderr]    |
[INFO] [stderr] 7  | fn fold_it(xs: Vec<()>) -> impl Future<Item = (), Error = ()> + 'static {
[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 `memory-safety`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "73e9dab724be418f80619a1fb51345a14d890a040cbd7cd492ab6693957a58b3"`
[INFO] running `"docker" "rm" "-f" "73e9dab724be418f80619a1fb51345a14d890a040cbd7cd492ab6693957a58b3"`
[INFO] [stdout] 73e9dab724be418f80619a1fb51345a14d890a040cbd7cd492ab6693957a58b3
