[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#6250d56355d72264ece721e8d0dc95b16a6824b1 for pr-68350 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexjeffries%2Fyams" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexjeffries/yams on toolchain 6250d56355d72264ece721e8d0dc95b16a6824b1 [INFO] running `"/workspace/cargo-home/bin/cargo" "+6250d56355d72264ece721e8d0dc95b16a6824b1" "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-0/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" "+6250d56355d72264ece721e8d0dc95b16a6824b1" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+6250d56355d72264ece721e8d0dc95b16a6824b1" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c2e89975bdb6612544685156f29aa836100f1965f34885d05dc4b024233b508c [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" "c2e89975bdb6612544685156f29aa836100f1965f34885d05dc4b024233b508c"` [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Checking futures v0.1.14 [INFO] [stderr] Checking iovec v0.1.0 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking num_cpus v1.6.2 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking textwrap v0.8.0 [INFO] [stderr] Checking bytes v0.4.5 [INFO] [stderr] Checking mio v0.6.10 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Checking tokio-io v0.1.3 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking futures-cpupool v0.1.5 [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" "c2e89975bdb6612544685156f29aa836100f1965f34885d05dc4b024233b508c"` [INFO] running `"docker" "rm" "-f" "c2e89975bdb6612544685156f29aa836100f1965f34885d05dc4b024233b508c"` [INFO] [stdout] c2e89975bdb6612544685156f29aa836100f1965f34885d05dc4b024233b508c