[INFO] fetching crate network_peers_discovery 0.0.2... [INFO] testing network_peers_discovery-0.0.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate network_peers_discovery 0.0.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate network_peers_discovery 0.0.2 [INFO] finished tweaking crates.io crate network_peers_discovery 0.0.2 [INFO] tweaked toml for crates.io crate network_peers_discovery 0.0.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate network_peers_discovery 0.0.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 241 packages to latest compatible versions [INFO] [stderr] Adding assert_cmd v0.10.2 (available: v2.0.17) [INFO] [stderr] Adding mongodb v0.9.2 (available: v3.3.0) [INFO] [stderr] Adding ra_common v0.0.2 (available: v0.1.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b740ffacac6136eab5b1408264208aa7bbb7ad77c0f97abea2411db77bf379fd [INFO] running `Command { std: "docker" "start" "-a" "b740ffacac6136eab5b1408264208aa7bbb7ad77c0f97abea2411db77bf379fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b740ffacac6136eab5b1408264208aa7bbb7ad77c0f97abea2411db77bf379fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b740ffacac6136eab5b1408264208aa7bbb7ad77c0f97abea2411db77bf379fd", kill_on_drop: false }` [INFO] [stdout] b740ffacac6136eab5b1408264208aa7bbb7ad77c0f97abea2411db77bf379fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a0bd34d577468735259aa34ae3ee41637fb5bef926f3c7cc50bdfadd5d13bd1 [INFO] running `Command { std: "docker" "start" "-a" "8a0bd34d577468735259aa34ae3ee41637fb5bef926f3c7cc50bdfadd5d13bd1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling os_info v1.3.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling resolv-conf v0.7.5 [INFO] [stderr] Compiling md-5 v0.8.0 [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] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling bufstream v0.1.4 [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" "8a0bd34d577468735259aa34ae3ee41637fb5bef926f3c7cc50bdfadd5d13bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a0bd34d577468735259aa34ae3ee41637fb5bef926f3c7cc50bdfadd5d13bd1", kill_on_drop: false }` [INFO] [stdout] 8a0bd34d577468735259aa34ae3ee41637fb5bef926f3c7cc50bdfadd5d13bd1