[INFO] cloning repository https://github.com/Danloa98/rustapi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Danloa98/rustapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanloa98%2Frustapi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanloa98%2Frustapi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e74e614562f8329a566f3026e411a1c927249855
[INFO] testing Danloa98/rustapi against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanloa98%2Frustapi" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Danloa98/rustapi
[INFO] finished tweaking git repo https://github.com/Danloa98/rustapi
[INFO] tweaked toml for git repo https://github.com/Danloa98/rustapi written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Danloa98/rustapi on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Danloa98/rustapi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fd7925f55d1312f785b0ab98fcdbde04b358c23230f1d016404f2dcc39638b6e
[INFO] running `Command { std: "docker" "start" "-a" "fd7925f55d1312f785b0ab98fcdbde04b358c23230f1d016404f2dcc39638b6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd7925f55d1312f785b0ab98fcdbde04b358c23230f1d016404f2dcc39638b6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd7925f55d1312f785b0ab98fcdbde04b358c23230f1d016404f2dcc39638b6e", kill_on_drop: false }`
[INFO] [stdout] fd7925f55d1312f785b0ab98fcdbde04b358c23230f1d016404f2dcc39638b6e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 251aeaa47c9934e728b494d8e130e7eec1d97b9832575eeaede83c4eb6b262d7
[INFO] running `Command { std: "docker" "start" "-a" "251aeaa47c9934e728b494d8e130e7eec1d97b9832575eeaede83c4eb6b262d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling syn v1.0.90
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling pin-project-internal v0.4.29
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling backtrace v0.3.64
[INFO] [stderr]    Compiling gimli v0.26.1
[INFO] [stderr]    Compiling object v0.27.1
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling tracing v0.1.32
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling flate2 v1.0.22
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling subtle v1.0.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling err-derive v0.2.4
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling bytestring v1.0.0
[INFO] [stderr]    Compiling os_info v1.3.3
[INFO] [stderr]    Compiling hmac v0.7.1
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling hex v0.3.2
[INFO] [stderr]    Compiling md5 v0.6.1
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling md-5 v0.8.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling bufstream v0.1.4
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling addr2line v0.17.0
[INFO] [stderr]    Compiling pbkdf2 v0.3.0
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling webpki-roots v0.18.0
[INFO] [stderr]    Compiling rustls v0.16.0
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling darling_core v0.13.1
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling actix-macros v0.1.3
[INFO] [stderr]    Compiling async-trait v0.1.53
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling actix-web-codegen v0.2.2
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling typed-builder v0.3.0
[INFO] [stderr]    Compiling derivative v1.0.4
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling darling_macro v0.13.1
[INFO] [stderr]    Compiling pin-project v0.4.29
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling darling v0.13.1
[INFO] [stderr]    Compiling serde_with_macros v1.5.1
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling futures-executor v0.3.21
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling futures v0.3.21
[INFO] [stderr]    Compiling trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]    Compiling trust-dns-proto v0.19.7
[INFO] [stderr]    Compiling actix-utils v1.0.6
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling actix-tls v1.0.0
[INFO] [stderr]    Compiling actix-server v1.0.4
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.7
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling actix-router v0.2.7
[INFO] [stderr]    Compiling serde_with v1.12.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[INFO] [stdout] error[E0597]: `version_regex` does not live long enough
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/os_info-1.3.3/src/linux/file_release.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |               let version_regex = Regex::new(release_info.version_regex).unwrap();
[INFO] [stdout]    |                   ------------- binding `version_regex` declared here
[INFO] [stdout] 35 |
[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] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `os_info` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "251aeaa47c9934e728b494d8e130e7eec1d97b9832575eeaede83c4eb6b262d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "251aeaa47c9934e728b494d8e130e7eec1d97b9832575eeaede83c4eb6b262d7", kill_on_drop: false }`
[INFO] [stdout] 251aeaa47c9934e728b494d8e130e7eec1d97b9832575eeaede83c4eb6b262d7
