[INFO] cloning repository https://github.com/ronniesong0809/rust-project
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ronniesong0809/rust-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronniesong0809%2Frust-project", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronniesong0809%2Frust-project'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3ee31c87b2c8713247bd7ef43174095cf9bc1ad3
[INFO] testing ronniesong0809/rust-project against beta-2021-09-08 for beta-1.56-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronniesong0809%2Frust-project" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ronniesong0809/rust-project on toolchain beta-2021-09-08
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ronniesong0809/rust-project
[INFO] finished tweaking git repo https://github.com/ronniesong0809/rust-project
[INFO] tweaked toml for git repo https://github.com/ronniesong0809/rust-project written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_with v1.10.0
[INFO] [stderr]   Downloaded derivative v1.0.4
[INFO] [stderr]   Downloaded serde_with_macros v1.5.0
[INFO] [stderr]   Downloaded os_info v1.3.3
[INFO] [stderr]   Downloaded typed-builder v0.3.0
[INFO] [stderr]   Downloaded mongodb v0.9.2
[INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 87d09e266b94ab915a8a9bb01b60de2a9f5f92541979f084fd04fbcb3e5fa100
[INFO] running `Command { std: "docker" "start" "-a" "87d09e266b94ab915a8a9bb01b60de2a9f5f92541979f084fd04fbcb3e5fa100", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "87d09e266b94ab915a8a9bb01b60de2a9f5f92541979f084fd04fbcb3e5fa100", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87d09e266b94ab915a8a9bb01b60de2a9f5f92541979f084fd04fbcb3e5fa100", kill_on_drop: false }`
[INFO] [stdout] 87d09e266b94ab915a8a9bb01b60de2a9f5f92541979f084fd04fbcb3e5fa100
[INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d366b3ad6eb10ec830a67932b5f208f7a6b615fcfe5c74356e6d9847b3310d33
[INFO] running `Command { std: "docker" "start" "-a" "d366b3ad6eb10ec830a67932b5f208f7a6b615fcfe5c74356e6d9847b3310d33", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]    Compiling serde_json v1.0.67
[INFO] [stderr]    Compiling rustversion v1.0.5
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling object v0.26.2
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling darling_core v0.13.0
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling async-trait v0.1.51
[INFO] [stderr]    Compiling synstructure v0.12.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling html5ever v0.23.0
[INFO] [stderr]    Compiling md-5 v0.8.0
[INFO] [stderr]    Compiling derivative v1.0.4
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling typed-builder v0.3.0
[INFO] [stderr]    Compiling bstr v0.2.16
[INFO] [stderr]    Compiling os_info v1.3.3
[INFO] [stderr]    Compiling hmac v0.7.1
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stdout] error[E0597]: `version_regex` does not live long enough
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/os_info-1.3.3/src/linux/file_release.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |               version_regex
[INFO] [stdout]    |               -^^^^^^^^^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |  _____________borrowed value does not live long enough
[INFO] [stdout]    | |
[INFO] [stdout] 37 | |                 .captures_iter(&file_content)
[INFO] [stdout]    | |_____________________________________________- a temporary with access to the borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 41 |           } else {
[INFO] [stdout]    |           -
[INFO] [stdout]    |           |
[INFO] [stdout]    |           `version_regex` dropped here while still borrowed
[INFO] [stdout]    |           ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `regex::CaptureMatches<'_, '_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 36 ~             let x = version_regex
[INFO] [stdout] 37 |                 .captures_iter(&file_content)
[INFO] [stdout] 38 |                 .next()
[INFO] [stdout] 39 |                 .and_then(|c| c.get(1))
[INFO] [stdout] 40 ~                 .map(|v| v.as_str().trim_end().to_owned()); x
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `os_info` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "d366b3ad6eb10ec830a67932b5f208f7a6b615fcfe5c74356e6d9847b3310d33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d366b3ad6eb10ec830a67932b5f208f7a6b615fcfe5c74356e6d9847b3310d33", kill_on_drop: false }`
[INFO] [stdout] d366b3ad6eb10ec830a67932b5f208f7a6b615fcfe5c74356e6d9847b3310d33
