Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rust] Reuse driver mirror URL (when available) to discover Firefox versions (#13941) #14493

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

bonigarcia
Copy link
Member

@bonigarcia bonigarcia commented Sep 12, 2024

User description

Description

This PR makes SM to reuse the driver URL value (--driver-mirror-ur), when specified. to discover the geckodriver versions, which currently is done using this URL:

https://raw.githubusercontent.com/SeleniumHQ/selenium/trunk/common/geckodriver/geckodriver-support.json

As proposed by @BernMcCarty in #13941, instead of that URL, the driver mirror URL is used, concatenating /geckodriver-support.json at the end of the URL. For example:

selenium-manager.exe --browser firefox --debug --driver-mirror-url http://localhost:8080

[2024-09-12T14:41:20.940Z DEBUG] geckodriver not found in PATH
[2024-09-12T14:41:20.941Z DEBUG] firefox detected at C:\Program Files\Mozilla Firefox\firefox.exe
[2024-09-12T14:41:20.942Z DEBUG] Running command: wmic datafile where name='C:\\Program Files\\Mozilla Firefox\\firefox.exe' get Version /value
[2024-09-12T14:41:21.025Z DEBUG] Output: "\r\r\n\r\r\nVersion=127.0.1.8935\r\r\n\r\r\n\r\r\n\r"
[2024-09-12T14:41:21.029Z DEBUG] Detected browser: firefox 127.0.1.8935
[2024-09-12T14:41:21.030Z DEBUG] Using mirror URL to discover driver versions: http://localhost:8080/geckodriver-support.json
[2024-09-12T14:41:21.346Z DEBUG] Valid geckodriver versions for firefox 127: ["0.35.0", "0.34.0"]
[2024-09-12T14:41:21.347Z DEBUG] Required driver: geckodriver 0.35.0
[2024-09-12T14:41:21.348Z DEBUG] Downloading geckodriver 0.35.0 from http://localhost:8080/download/v0.35.0/geckodriver-v0.35.0-win64.zip
[2024-09-12T14:41:21.665Z ERROR] Unsuccessful response (404 Not Found) for URL http://localhost:8080/download/v0.35.0/geckodriver-v0.35.0-win64.zip

(this example fail at the end since I only mirrored the geckodriver-support.json locally, but a real mirror should also mirror the driver artifacts).

Motivation and Context

It will help to improve user experience related to Firefox driver mirrors, as informed in #13941.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

PR Type

enhancement


Description

  • Enhanced the FirefoxManager to reuse the driver mirror URL for discovering geckodriver versions, improving flexibility in driver management.
  • Introduced a new function get_driver_mirror_versions_url_or_default to construct a URL for fetching driver versions based on a custom mirror URL.
  • Replaced the static driver version URL with a dynamic one, allowing the use of a specified mirror URL.

Changes walkthrough 📝

Relevant files
Enhancement
firefox.rs
Use custom driver mirror URL for geckodriver versions       

rust/src/firefox.rs

  • Added logic to use a custom driver mirror URL for fetching geckodriver
    versions.
  • Replaced the default driver version URL with a dynamic one based on
    the mirror URL.
  • +3/-1     
    lib.rs
    Add function for custom driver mirror versions URL             

    rust/src/lib.rs

  • Introduced a new function to get a driver mirror versions URL or
    default.
  • Implemented logic to construct the URL based on the provided mirror
    URL.
  • +20/-0   

    💡 PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    Copy link
    Contributor

    PR Reviewer Guide 🔍

    ⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ Key issues to review

    Error Handling
    The new function get_driver_mirror_versions_url_or_default doesn't handle the case where default_url doesn't contain a '/' character, which could lead to unexpected behavior.

    Code Duplication
    The URL construction logic in get_driver_mirror_versions_url_or_default is similar to existing code elsewhere. Consider refactoring to reduce duplication.

    Copy link
    Contributor

    PR Code Suggestions ✨

    CategorySuggestion                                                                                                                                    Score
    Error handling
    Add error handling for unexpected input in URL parsing

    Consider adding error handling for the case where rfind('/') returns None. This
    would make the function more robust against unexpected input.

    rust/src/lib.rs [1294-1300]

     let driver_versions_path = default_url.rfind('/').map(|i| &default_url[i + 1..]);
    -if let Some(path) = driver_versions_path {
    -    let driver_mirror_versions_url = if driver_mirror_url.ends_with('/') {
    -        format!("{}{}", driver_mirror_url, path)
    -    } else {
    -        format!("{}/{}", driver_mirror_url, path)
    -    };
    +match driver_versions_path {
    +    Some(path) => {
    +        let driver_mirror_versions_url = if driver_mirror_url.ends_with('/') {
    +            format!("{}{}", driver_mirror_url, path)
    +        } else {
    +            format!("{}/{}", driver_mirror_url, path)
    +        };
    +        // ... rest of the code ...
    +    }
    +    None => {
    +        self.get_logger().warn("Unable to extract path from default URL");
    +        return default_url.to_string();
    +    }
    +}
     
    Suggestion importance[1-10]: 9

    Why: Adding error handling for cases where rfind('/') returns None significantly improves the robustness of the function, ensuring that unexpected input is managed gracefully and logged appropriately.

    9
    Enhancement
    Use a dedicated URL manipulation library for more robust URL handling

    Consider using the url crate to handle URL manipulation and concatenation. This
    would provide a more robust way to handle URL construction and avoid potential
    issues with slashes.

    rust/src/lib.rs [1296-1300]

    -let driver_mirror_versions_url = if driver_mirror_url.ends_with('/') {
    -    format!("{}{}", driver_mirror_url, path)
    -} else {
    -    format!("{}/{}", driver_mirror_url, path)
    -};
    +use url::Url;
    +let base_url = Url::parse(driver_mirror_url).expect("Invalid driver mirror URL");
    +let driver_mirror_versions_url = base_url.join(path).expect("Failed to join URL").to_string();
     
    • Apply this suggestion
    Suggestion importance[1-10]: 8

    Why: Using the url crate for URL manipulation is a robust approach that reduces the risk of errors related to manual string concatenation and handling of slashes. This suggestion improves code reliability and maintainability.

    8
    Best practice
    Use more precise string manipulation for URL path handling

    Consider using the strip_suffix method instead of ends_with for more precise string
    manipulation when removing the trailing slash from the URL.

    rust/src/lib.rs [1296-1300]

    -let driver_mirror_versions_url = if driver_mirror_url.ends_with('/') {
    -    format!("{}{}", driver_mirror_url, path)
    -} else {
    -    format!("{}/{}", driver_mirror_url, path)
    +let driver_mirror_versions_url = match driver_mirror_url.strip_suffix('/') {
    +    Some(url) => format!("{}/{}", url, path),
    +    None => format!("{}/{}", driver_mirror_url, path),
     };
     
    • Apply this suggestion
    Suggestion importance[1-10]: 7

    Why: The use of strip_suffix is a more precise method for handling trailing slashes in URLs, which enhances code clarity and reduces potential errors in string manipulation.

    7

    Copy link
    Contributor

    CI Failure Feedback 🧐

    Action: Rust / Tests (windows) / Tests (windows)

    Failed stage: Run Bazel [❌]

    Failure summary:

    The action failed due to multiple instances of a ToolExecError during the build process.
    Specifically:

  • The cl.exe compiler from Microsoft Visual Studio failed to execute successfully with an exit code of
    2.
  • This error occurred during the compiler family detection step for various build scripts, including
    those for bzip2-sys, ring, zstd-sys, libz-sys, and lzma-sys.
  • Additionally, there were command line warnings (D9002) about ignoring unknown options like
    -fvisibility=hidden.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Microsoft Windows Server 2022
    ...
    
    457:  �[32m[1 / 1]�[0m checking cached actions
    458:  �[32mAnalyzing:�[0m 40 targets (445 packages loaded, 16043 targets configured)
    459:  �[32m[1 / 12]�[0m [Prepa] Writing repo mapping manifest for @@rules_rust//util/process_wrapper:process_wrapper [for tool]
    460:  �[32mAnalyzing:�[0m 40 targets (445 packages loaded, 16062 targets configured)
    461:  �[32m[160 / 512]�[0m [Prepa] Writing file external/rules_rust/tools/runfiles/workspace_name.env [for tool]
    462:  �[32mINFO: �[0mAnalyzed 40 targets (445 packages loaded, 16062 targets configured).
    463:  �[32m[260 / 569]�[0m Compiling Rust bin anyhow_bs_ (36 files) [for tool]; 0s disk-cache
    464:  �[32mINFO: �[0mFrom Running Cargo build script bzip2-sys:
    465:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__bzip2-sys-0.1.11-1.0.8/bzip2-sys_bs.out_dir\\lib\\16765532395030103576detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    466:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__bzip2-sys-0.1.11-1.0.8/bzip2-sys_bs.out_dir\\lib\\11005750865896490860detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    467:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__bzip2-sys-0.1.11-1.0.8/bzip2-sys_bs.out_dir\\lib\\14975521605609218046detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    468:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__bzip2-sys-0.1.11-1.0.8/bzip2-sys_bs.out_dir\\lib\\10259289330760624021detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    469:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__bzip2-sys-0.1.11-1.0.8/bzip2-sys_bs.out_dir\\lib\\5443666563956077290detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    470:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__bzip2-sys-0.1.11-1.0.8/bzip2-sys_bs.out_dir\\lib\\9459633458319042844detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    471:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__bzip2-sys-0.1.11-1.0.8/bzip2-sys_bs.out_dir\\lib\\15656688910179093559detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    472:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__bzip2-sys-0.1.11-1.0.8/bzip2-sys_bs.out_dir\\lib\\12855160850316100953detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    473:  �[32mINFO: �[0mFrom Running Cargo build script ring:
    474:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\5979100077902640570detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    475:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\10145828020414308169detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    476:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\14953062536252097420detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    477:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\16652461797092704275detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    478:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\5527699912010292380detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    479:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\7263827563401651376detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    480:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\16599635935862239561detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    481:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\18030955059177934891detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    482:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\2790502546764097121detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    483:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\5090556512724024234detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    484:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\8060385588221669723detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    485:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\6167518239498843136detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    486:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\1309408263113989003detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    487:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\15694358374012768768detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    488:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\226508818779560164detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    489:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\923422772441560231detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    490:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\13385827732097941701detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    491:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\1848343892957752205detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    492:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\12061148304696702813detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    493:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__ring-0.17.8/ring_bs.out_dir\\2641975549840349362detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    494:  �[32mINFO: �[0mFrom Running Cargo build script zstd-sys:
    495:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\10998260155308701326detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    496:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\11542945134236044897detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    497:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\13981764085502603638detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    498:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\640939070503367490detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    499:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\12588025722491751011detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    500:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    501:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\18066495922616717525detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    502:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    503:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\6637852174571754958detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    504:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    505:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\5898328286856415265detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    506:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    507:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\8617467759389126919detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    508:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    509:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\4303029593927259177detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    510:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    511:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\3534402525977065983detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    512:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    513:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\15934253472440959435detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    514:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    515:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\4733450009892668778detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    516:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    517:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\5836418292583528436detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    518:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    519:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    520:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\6560814591336353601detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    521:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    522:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\7812358829043546018detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    523:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    524:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\14467643213136292983detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    525:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    526:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\10299013754643034811detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    527:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    528:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\1443437699756431208detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    529:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    530:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\7793557625885081364detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    531:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    532:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\11528801503402237017detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    533:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    534:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\3771341034889092575detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    535:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    536:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\11287154893280938136detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    537:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    538:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\6971461278284530997detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    539:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    540:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\9520803465916493780detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    541:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    542:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\11305326830000203356detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    543:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    544:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\2016838697802778674detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    545:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    546:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\10128599829253653119detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    547:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    548:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\5718660014679749543detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    549:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    550:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\9450762539581276819detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    551:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    552:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\15946433218022194554detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    553:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    554:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\13339673623594531023detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    555:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    556:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    557:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\8864790013236977666detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    558:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    559:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\1329765734575757066detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    560:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    561:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\1737027878577900539detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    562:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    563:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\12473029824079974487detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    564:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    565:  Build Script Warning: cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    566:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__zstd-sys-2.0.10-zstd.1.5.6/zstd-sys_bs.out_dir\\14512488672906272210detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    567:  �[32mINFO: �[0mFrom Running Cargo build script libz-sys:
    568:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__libz-sys-1.1.16/libz-sys_bs.out_dir\\lib\\5727225335090679075detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    569:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__libz-sys-1.1.16/libz-sys_bs.out_dir\\lib\\10552913273410753762detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    570:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__libz-sys-1.1.16/libz-sys_bs.out_dir\\lib\\15044370308148399552detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    571:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__libz-sys-1.1.16/libz-sys_bs.out_dir\\lib\\12532163277813060487detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    572:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__libz-sys-1.1.16/libz-sys_bs.out_dir\\lib\\12089436063928975556detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    573:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__libz-sys-1.1.16/libz-sys_bs.out_dir\\lib\\11244283672441118517detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    574:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__libz-sys-1.1.16/libz-sys_bs.out_dir\\lib\\8520740083211468341detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    575:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__libz-sys-1.1.16/libz-sys_bs.out_dir\\lib\\11710654380203833650detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    576:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__libz-sys-1.1.16/libz-sys_bs.out_dir\\lib\\8354187731768352647detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    577:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__libz-sys-1.1.16/libz-sys_bs.out_dir\\lib\\1580158812033611501detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    578:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__libz-sys-1.1.16/libz-sys_bs.out_dir\\lib\\14981924725760362091detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    579:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__libz-sys-1.1.16/libz-sys_bs.out_dir\\lib\\16574107240550808603detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    580:  �[32mINFO: �[0mFrom Running Cargo build script lzma-sys:
    581:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\2272500575903633644detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    582:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\1984545547212909605detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    583:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\9817474950723560896detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    584:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\1934186249889944793detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    585:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\514965785106889540detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    586:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\2369688814512087954detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    587:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\7481994928102282069detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    588:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\3535929665270670396detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    589:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\1539836639103856565detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    590:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\13910978172988938347detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    591:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\4566105001008987442detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    592:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\3093211211773321065detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    593:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\11481292300869070738detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    594:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\7039729423862608296detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    595:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\3797152074953225539detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    596:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\5840775807134327447detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    597:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\15086329237842894822detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    598:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\15241413692817410757detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    599:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\7980830930151166623detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    600:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\15265171243240340683detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    601:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\9259052100745569169detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    602:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\3092172086335524814detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    603:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\12521730117012268113detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    604:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\7982632564511389000detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    605:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\16706434631434585769detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    606:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\9936351943793704547detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    607:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\76047375798621719detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    608:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\1261094386737924942detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    609:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\15066322665704757780detect_compiler_family.c" with args C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe did not execute successfully (status code exit code: 2).
    610:  Build Script Warning: Compiler family detection failed due to error: ToolExecError: Command "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/cl.exe" "-E" "D:\\_bazel\\execroot\\_main\\bazel-out/x64_windows-fastbuild/bin/external/crates__lzma-sys-0.1.20/lzma-sys_bs.out_dir\\16439257727191438192detect_compiler_family.c" with args C:/Program Files/Microso...

    @dongfangtianyu
    Copy link

    (this example fail at the end since I only mirrored the geckodriver-support.json locally, but a real mirror should also mirror the driver artifacts).

    I used a real mirror server and it worked very well!
    Thanks again!

    selenium-manager.exe --browser firefox --trace --driver-mirror-url http://192.168.2.11:8080/selenium
    [2024-09-13T09:49:37.828Z TRACE] Reading metadata from C:\Users\Administrator\.cache\selenium\se-metadata.json
    [2024-09-13T09:49:37.830Z TRACE] Checking geckodriver in PATH
    [2024-09-13T09:49:37.849Z DEBUG] geckodriver not found in PATH
    [2024-09-13T09:49:37.850Z DEBUG] firefox detected at C:\Program Files\Mozilla Firefox\firefox.exe
    [2024-09-13T09:49:37.851Z TRACE] Path C:\Program Files\Mozilla Firefox\firefox.exe has been escaped to C:\\Program Files\\Mozilla Firefox\\firefox.exe
    [2024-09-13T09:49:37.851Z TRACE] Using shell command to find out firefox version
    [2024-09-13T09:49:37.851Z DEBUG] Running command: wmic datafile where name='C:\\Program Files\\Mozilla Firefox\\firefox.exe' get Version /value
    [2024-09-13T09:49:37.930Z DEBUG] Output: "\r\r\n\r\r\nVersion=122.0.0.8783\r\r\n\r\r\n\r\r\n\r"
    [2024-09-13T09:49:37.934Z TRACE] The version of firefox is 122.0.0.8783
    [2024-09-13T09:49:37.935Z DEBUG] Detected browser: firefox 122.0.0.8783
    [2024-09-13T09:49:37.936Z TRACE] Reading metadata from C:\Users\Administrator\.cache\selenium\se-metadata.json
    [2024-09-13T09:49:37.937Z DEBUG] Using mirror URL to discover driver versions: http://192.168.2.11:8080/selenium/geckodriver-support.json
    [2024-09-13T09:49:38.389Z DEBUG] Valid geckodriver versions for firefox 122: ["0.35.0", "0.34.0"]
    [2024-09-13T09:49:38.391Z TRACE] Writing metadata to C:\Users\Administrator\.cache\selenium\se-metadata.json
    [2024-09-13T09:49:38.392Z DEBUG] Required driver: geckodriver 0.35.0
    [2024-09-13T09:49:38.393Z DEBUG] Downloading geckodriver 0.35.0 from http://192.168.2.11:8080/selenium/download/v0.35.0/geckodriver-v0.35.0-win64.zip
    [2024-09-13T09:49:38.396Z TRACE] Downloading http://192.168.2.11:8080/selenium/download/v0.35.0/geckodriver-v0.35.0-win64.zip to temporal folder "C:\\Users\\Administrator\\AppData\\Local\\Temp\\selenium-managerePJlhs"
    [2024-09-13T09:49:39.403Z TRACE] File to be downloaded: geckodriver-v0.35.0-win64.zip
    [2024-09-13T09:49:39.404Z TRACE] File downloaded to temporal folder: C:\Users\Administrator\AppData\Local\Temp\selenium-managerePJlhs\geckodriver-v0.35.0-win64.zip
    [2024-09-13T09:49:39.564Z TRACE] The detected extension of the compressed file is zip
    [2024-09-13T09:49:39.565Z TRACE] Unzipping C:\Users\Administrator\AppData\Local\Temp\selenium-managerePJlhs\geckodriver-v0.35.0-win64.zip to C:\Users\Administrator\.cache\selenium\geckodriver\win64\0.35.0
    [2024-09-13T09:49:39.617Z TRACE] File extracted to C:\Users\Administrator\AppData\Local\Temp\selenium-managerePJlhs\geckodriver.exe (4274760 bytes)
    [2024-09-13T09:49:39.619Z TRACE] Copying C:\Users\Administrator\AppData\Local\Temp\selenium-managerePJlhs\geckodriver.exe to C:\Users\Administrator\.cache\selenium\geckodriver\win64\0.35.0\geckodriver.exe
    [2024-09-13T09:49:39.629Z INFO ] Driver path: C:\Users\Administrator\.cache\selenium\geckodriver\win64\0.35.0\geckodriver.exe
    [2024-09-13T09:49:39.630Z INFO ] Browser path: C:\Program Files\Mozilla Firefox\firefox.exe
    

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    Status: Done
    Development

    Successfully merging this pull request may close these issues.

    3 participants