[INFO] fetching crate sliderule 0.2.1... [INFO] testing sliderule-0.2.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate sliderule 0.2.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate sliderule 0.2.1 [INFO] finished tweaking crates.io crate sliderule 0.2.1 [INFO] tweaked toml for crates.io crate sliderule 0.2.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sliderule 0.2.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 107 packages to latest compatible versions [INFO] [stderr] Adding git2 v0.8.0 (available: v0.20.2) [INFO] [stderr] Adding globwalk v0.6.0 (available: v0.9.1) [INFO] [stderr] Adding liquid v0.17.1 (available: v0.26.11) [INFO] [stderr] Adding os_info v1.3.3 (available: v3.12.0) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 949034c6531dc5ccdaa6d9592b14e53a1241acf521b3a8a5253eb5a27c23d1b7 [INFO] running `Command { std: "docker" "start" "-a" "949034c6531dc5ccdaa6d9592b14e53a1241acf521b3a8a5253eb5a27c23d1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "949034c6531dc5ccdaa6d9592b14e53a1241acf521b3a8a5253eb5a27c23d1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "949034c6531dc5ccdaa6d9592b14e53a1241acf521b3a8a5253eb5a27c23d1b7", kill_on_drop: false }` [INFO] [stdout] 949034c6531dc5ccdaa6d9592b14e53a1241acf521b3a8a5253eb5a27c23d1b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e7f59964aa75156205d680cc08d8ff7cb092bdfbf3144a3ac8714fd6ea60f60 [INFO] running `Command { std: "docker" "start" "-a" "6e7f59964aa75156205d680cc08d8ff7cb092bdfbf3144a3ac8714fd6ea60f60", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling liquid-error v0.16.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling os_info v1.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling globwalk v0.6.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling liquid-value v0.17.1 [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 liquid-interpreter v0.17.1 [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" "6e7f59964aa75156205d680cc08d8ff7cb092bdfbf3144a3ac8714fd6ea60f60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7f59964aa75156205d680cc08d8ff7cb092bdfbf3144a3ac8714fd6ea60f60", kill_on_drop: false }` [INFO] [stdout] 6e7f59964aa75156205d680cc08d8ff7cb092bdfbf3144a3ac8714fd6ea60f60