[INFO] fetching crate rapture 0.2.0... [INFO] checking rapture-0.2.0 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate rapture 0.2.0 into /workspace/builds/worker-69/source [INFO] validating manifest of crates.io crate rapture 0.2.0 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rapture 0.2.0 [INFO] finished tweaking crates.io crate rapture 0.2.0 [INFO] tweaked toml for crates.io crate rapture 0.2.0 written to /workspace/builds/worker-69/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex_d_hex v1.0.1 [INFO] [stderr] Downloaded os_info v1.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2edef607dd1d544c285094e1fb81377b254dac54dfe44dd02ca5bc38f0745513 [INFO] running `Command { std: "docker" "start" "-a" "2edef607dd1d544c285094e1fb81377b254dac54dfe44dd02ca5bc38f0745513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2edef607dd1d544c285094e1fb81377b254dac54dfe44dd02ca5bc38f0745513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2edef607dd1d544c285094e1fb81377b254dac54dfe44dd02ca5bc38f0745513", kill_on_drop: false }` [INFO] [stdout] 2edef607dd1d544c285094e1fb81377b254dac54dfe44dd02ca5bc38f0745513 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "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" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3db7fde03873f18e10aeebe14a5f219850c8e6e6fc9d21e9b9d8702e6041dbf3 [INFO] running `Command { std: "docker" "start" "-a" "3db7fde03873f18e10aeebe14a5f219850c8e6e6fc9d21e9b9d8702e6041dbf3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling os_info v1.3.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking hex_d_hex v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking memchr v2.4.1 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.5.4 [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] running `Command { std: "docker" "inspect" "3db7fde03873f18e10aeebe14a5f219850c8e6e6fc9d21e9b9d8702e6041dbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db7fde03873f18e10aeebe14a5f219850c8e6e6fc9d21e9b9d8702e6041dbf3", kill_on_drop: false }` [INFO] [stdout] 3db7fde03873f18e10aeebe14a5f219850c8e6e6fc9d21e9b9d8702e6041dbf3