selenium icon indicating copy to clipboard operation
selenium copied to clipboard

[🐛 Bug]: Selenium 4.37 (and master) fails to build in nightly-2025-07-07

Open Felixoid opened this issue 2 months ago • 1 comments

Description

https://github.com/SeleniumHQ/selenium/blob/trunk/rust/src/lib.rs#L628 causes the following issue:

Compiling selenium-manager v0.4.37 (/home/felixoid/.cache/yay/selenium-manager/src/selenium-selenium-4.37.0/rust)
error[E0658]: `let` expressions in this position are unstable
   --> src/lib.rs:628:24
    |
628 |                     && let Some(snap_path) = self.get_snap_path()
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information

error[E0658]: `let` expressions in this position are unstable
  --> src/lock.rs:73:8
   |
73 |     if let Some(lock) = get_lock_path()
   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information

For more information about this error, try `rustc --explain E0658`.

Reproducible Code

rustup toolchain install nightly-2025-07-07
cd ${GIT_ROOT}
export CARGO_TARGET_DIR=target
cargo build --frozen --release --all-features

Felixoid avatar Oct 22 '25 10:10 Felixoid

@Felixoid, thank you for creating this issue. We will troubleshoot it as soon as we can.

Selenium Triage Team: remember to follow the Triage Guide

selenium-ci avatar Oct 22 '25 10:10 selenium-ci