[INFO] fetching crate lprs 2.0.0-rc.2... [INFO] checking lprs-2.0.0-rc.2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate lprs 2.0.0-rc.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate lprs 2.0.0-rc.2 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate lprs 2.0.0-rc.2 [INFO] finished tweaking crates.io crate lprs 2.0.0-rc.2 [INFO] tweaked toml for crates.io crate lprs 2.0.0-rc.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate lprs 2.0.0-rc.2 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2b00a866ddd566398e362eb237605454727f98aade34e72f0e229dcb10fb50a [INFO] running `Command { std: "docker" "start" "-a" "e2b00a866ddd566398e362eb237605454727f98aade34e72f0e229dcb10fb50a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2b00a866ddd566398e362eb237605454727f98aade34e72f0e229dcb10fb50a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2b00a866ddd566398e362eb237605454727f98aade34e72f0e229dcb10fb50a", kill_on_drop: false }` [INFO] [stdout] e2b00a866ddd566398e362eb237605454727f98aade34e72f0e229dcb10fb50a [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 175b984a16ce474295abe7d386bf9da85d5eebdf31f56dc70906ce59f26dbee2 [INFO] running `Command { std: "docker" "start" "-a" "175b984a16ce474295abe7d386bf9da85d5eebdf31f56dc70906ce59f26dbee2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (2 fixes) [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking rustls-pki-types v1.3.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling rustls v0.22.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rustls-pemfile v2.0.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking totp-lite v2.0.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking base32 v0.5.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling random-number-macro-impl v0.1.7 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking random-number v0.1.8 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking random-pick v1.2.16 [INFO] [stderr] Checking passwords v3.1.16 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking clap_complete v4.5.2 [INFO] [stderr] Checking rustls-webpki v0.102.2 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking lprs v2.0.0-rc.2 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `lprs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/main.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | unsafe { env::set_var("RUST_LOG", "lprs") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-F unsafe-code` [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | env::set_var("RUST_LOG", "lprs"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 58 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 59 ~ unsafe { env::set_var("RUST_LOG", "lprs") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | if let Ok(Ok(response)) = BlockingClient::new() [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________________| [INFO] [stdout] 174 | || .get("https://crates.io/api/v1/crates/lprs") [INFO] [stdout] 175 | || .header( [INFO] [stdout] 176 | || "User-Agent", [INFO] [stdout] ... || [INFO] [stdout] 179 | || .send() [INFO] [stdout] 180 | || .map(|r| r.text()) [INFO] [stdout] | ||______________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 173 ~ match BlockingClient::new() [INFO] [stdout] 174 | .get("https://crates.io/api/v1/crates/lprs") [INFO] [stdout] ... [INFO] [stdout] 180 | .map(|r| r.text()) [INFO] [stdout] 181 ~ { Ok(Ok(response)) => { [INFO] [stdout] 182 | let re = regex::Regex::new(r#""max_stable_version":"(?\d+\.\d+\.\d+)""#) [INFO] [stdout] ... [INFO] [stdout] 186 | } [INFO] [stdout] 187 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(cap) = re.captures(&response) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 184 ~ match re.captures(&response) { Some(cap) => { [INFO] [stdout] 185 | return Ok(cap.name("version").map(|m| m.as_str().to_string())); [INFO] [stdout] 186 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `lprs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/main.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | unsafe { env::set_var("RUST_LOG", "lprs") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-F unsafe-code` [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | env::set_var("RUST_LOG", "lprs"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 58 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 59 ~ unsafe { env::set_var("RUST_LOG", "lprs") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | if let Ok(Ok(response)) = BlockingClient::new() [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________________| [INFO] [stdout] 174 | || .get("https://crates.io/api/v1/crates/lprs") [INFO] [stdout] 175 | || .header( [INFO] [stdout] 176 | || "User-Agent", [INFO] [stdout] ... || [INFO] [stdout] 179 | || .send() [INFO] [stdout] 180 | || .map(|r| r.text()) [INFO] [stdout] | ||______________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 173 ~ match BlockingClient::new() [INFO] [stdout] 174 | .get("https://crates.io/api/v1/crates/lprs") [INFO] [stdout] ... [INFO] [stdout] 180 | .map(|r| r.text()) [INFO] [stdout] 181 ~ { Ok(Ok(response)) => { [INFO] [stdout] 182 | let re = regex::Regex::new(r#""max_stable_version":"(?\d+\.\d+\.\d+)""#) [INFO] [stdout] ... [INFO] [stdout] 186 | } [INFO] [stdout] 187 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(cap) = re.captures(&response) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 184 ~ match re.captures(&response) { Some(cap) => { [INFO] [stdout] 185 | return Ok(cap.name("version").map(|m| m.as_str().to_string())); [INFO] [stdout] 186 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.05s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking lprs v2.0.0-rc.2 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | env::set_var("RUST_LOG", "lprs"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | env::set_var("RUST_LOG", "lprs"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lprs` (bin "lprs") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lprs` (bin "lprs" test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "175b984a16ce474295abe7d386bf9da85d5eebdf31f56dc70906ce59f26dbee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "175b984a16ce474295abe7d386bf9da85d5eebdf31f56dc70906ce59f26dbee2", kill_on_drop: false }` [INFO] [stdout] 175b984a16ce474295abe7d386bf9da85d5eebdf31f56dc70906ce59f26dbee2