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

This crate breaks with the latest version of rustls (0.23.13) #153

Open
darklajid opened this issue Oct 4, 2024 · 2 comments
Open

This crate breaks with the latest version of rustls (0.23.13) #153

darklajid opened this issue Oct 4, 2024 · 2 comments
Assignees

Comments

@darklajid
Copy link

darklajid commented Oct 4, 2024

Rustls panics with

thread 'main' panicked at C:\Users\Ben.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustls-0.23.13\src\crypto\mod.rs:265:14:
no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

with the version in the Cargo.lock pointing to the latest release. The release notes seem to enable disabling default providers and it seems this crate did just that.

Cargo.toml

axum-server = { version = "0.7", features = ["tls-rustls"], default-features = false }

https://github.com/rustls/rustls/releases/tag/v%2F0.23.13

@Madoshakalaka
Copy link
Contributor

I confirm. Suddenly stopped working for me with the same error.

@klownie
Copy link

klownie commented Nov 9, 2024

yup im running into the same issue on windows with tls-rustls feature on windows.

axum-server = { version = "0.7.1", features = ["tls-rustls"] }
The following warnings were emitted during compilation:                                                                                                                                                                                                                                                                                                                              

warning: [email protected]: Building with: CMake
warning: [email protected]: Symbol Prefix: Some("aws_lc_0_22_0")
warning: [email protected]: CMAKE environment variable set: cmake
warning: [email protected]: cl : Command line error D8021 : invalid numeric argument '/Wno-unused-parameter'
warning: [email protected]: Compilation of 'c11.c' failed - Err(Error { kind: ToolExecError, message: "Command \"C:\\\\Program Files\\\\Microsoft Visual Studio\\\\2022\\\\Community\\\\VC\\\\Tools\\\\MSVC\\\\14.40.33807\\\\bin\\\\HostX64\\\\x64\\\\cl.exe\" \"-nologo\" \"-MD\" \"-Z7\" \"-Brepro\" \"-I\" \"C:\\\\Users\\\\klownie\\\\.cargo\\\\registry\\\\src\\\\index.crates.io-6f17d22bba15001f\\\\aws-lc-sys-0.22.0\\\\generated-include\" \"-I\" \"C:\\\\Users\\\\klownie\\\\.cargo\\\\registry\\\\src\\\\index.crates.io-6f17d22bba15001f\\\\aws-lc-sys-0.22.0\\\\include\" \"-I\" \"C:\\\\Users\\\\klownie\\\\.cargo\\\\registry\\\\src\\\\index.crates.io-6f17d22bba15001f\\\\aws-lc-sys-0.22.0\\\\aws-lc\\\\include\" \"-I\" \"C:\\\\Users\\\\klownie\\\\.cargo\\\\registry\\\\src\\\\index.crates.io-6f17d22bba15001f\\\\aws-lc-sys-0.22.0\\\\aws-lc\\\\third_party\\\\s2n-bignum\\\\include\" \"-W4\" \"-Wno-unused-parameter\" \"-DBORINGSSL_IMPLEMENTATION=1\" \"-DBORINGSSL_PREFIX=aws_lc_0_22_0\" \"-WX\" \"-FoC:\\\\Users\\\\klownie\\\\Documents\\\\Art\\\\PortofolioWebsite\\\\AxumHtmxAskamaPortofolioWebsite\\\\target\\\\debug\\\\build\\\\aws-lc-sys-7dad5723691bd22f\\\\out\\\\out-c11\\\\89767f12a4c16522-c11.o\" \"-c\" \"C:\\\\Users\\\\klownie\\\\.cargo\\\\registry\\\\src\\\\index.crates.io-6f17d22bba15001f\\\\aws-lc-sys-0.22.0\\\\aws-lc\\\\tests\\\\compiler_features_tests\\\\c11.c\" with args cl.exe did not execute successfully (status code exit code: 2)." }).
warning: [email protected]: Setting CFLAGS: "-nologo -MD -Z7 -Brepro -std:c99 -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\generated-include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\aws-lc\\include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\aws-lc\\third_party\\s2n-bignum\\include -W4 -DBORINGSSL_IMPLEMENTATION=1 -DBORINGSSL_PREFIX=aws_lc_0_22_0"
warning: [email protected]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
warning: [email protected]: !!!   Using pre-built NASM binaries   !!!
warning: [email protected]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

error: failed to run custom build command for `aws-lc-sys v0.22.0`

Caused by:
  process didn't exit successfully: `C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-aa13f1ca5ef2e838\build-script-main` (exit code: 101)
  --- stdout
  cargo:rerun-if-env-changed=AWS_LC_SYS_NO_PREFIX
  cargo:rerun-if-env-changed=AWS_LC_SYS_PREGENERATING_BINDINGS
  cargo:rerun-if-env-changed=AWS_LC_SYS_EXTERNAL_BINDGEN
  cargo:rerun-if-env-changed=AWS_LC_SYS_NO_ASM
  cargo:rerun-if-env-changed=AWS_LC_SYS_CFLAGS
  cargo:rerun-if-env-changed=AWS_LC_SYS_PREBUILT_NASM
  cargo:rerun-if-env-changed=AWS_LC_SYS_C_STD
  cargo:rustc-cfg=x86_64_pc_windows_msvc
  cargo:rerun-if-env-changed=AWS_LC_SYS_CMAKE_BUILDER
  cargo:rerun-if-env-changed=AWS_LC_SYS_STATIC
  default_for Target: 'x86_64-pc-windows-msvc'
  cargo:rerun-if-env-changed=AWS_LC_SYS_STATIC
  cargo:rerun-if-env-changed=CMAKE
  cargo:warning=Building with: CMake
  cargo:warning=Symbol Prefix: Some("aws_lc_0_22_0")
  cargo:rerun-if-env-changed=CMAKE
  cargo:warning=CMAKE environment variable set: cmake
  cargo:rerun-if-env-changed=AWS_LC_SYS_STATIC
  OPT_LEVEL = Some(0)
  TARGET = Some(x86_64-pc-windows-msvc)
  cargo:rerun-if-env-changed=VCINSTALLDIR
  VCINSTALLDIR = None
  cargo:rerun-if-env-changed=VSTEL_MSBuildProjectFullPath
  VSTEL_MSBuildProjectFullPath = None
  cargo:rerun-if-env-changed=VSCMD_ARG_VCVARS_SPECTRE
  VSCMD_ARG_VCVARS_SPECTRE = None
  cargo:rerun-if-env-changed=WindowsSdkDir
  WindowsSdkDir = None
  cargo:rerun-if-env-changed=WindowsSDKVersion
  WindowsSDKVersion = None
  cargo:rerun-if-env-changed=LIB
  LIB = None
  PATH = Some(C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\deps;C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug;C:\Users\klownie\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Users\klownie\.cargo\bin;C:\Program Files\Common Files\Ora
cle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\ProgramData\chocolatey\lib\mpv.install\tools;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\ZeroTier\One\;C:\Program Files\Gi
t\cmd;C:\ProgramData\chocolatey\lib\mpvio.install\tools;C:\Program Files (x86)\cloudflared\;C:\Users\klownie\scoop\apps\llvm\current\bin;C:\Users\klownie\scoop\apps\python\current\Scripts;C:\Users\klownie\scoop\apps\python\current;C:\Users\klownie\scoop\shims;C:\Users\klownie\.cargo\bin;C:\Users\klownie\AppData\Local\Microsoft\WindowsApps;C:\Users\klownie\AppData\Local\spicetify;C:\Users\klownie\.dotnet\tools;C:\Program Files\qemu;;C:\Program Files\OpenSSL-Win64\bin)
  cargo:rerun-if-env-changed=INCLUDE
  INCLUDE = None
  HOST = Some(x86_64-pc-windows-msvc)
  cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc
  CC_x86_64-pc-windows-msvc = None
  cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc
  CC_x86_64_pc_windows_msvc = None
  cargo:rerun-if-env-changed=HOST_CC
  HOST_CC = None
  cargo:rerun-if-env-changed=CC
  CC = None
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
  DEBUG = Some(true)
  cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc
  CFLAGS_x86_64-pc-windows-msvc = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc
  CFLAGS_x86_64_pc_windows_msvc = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  OPT_LEVEL = Some(0)
  TARGET = Some(x86_64-pc-windows-msvc)
  cargo:rerun-if-env-changed=VCINSTALLDIR
  VCINSTALLDIR = None
  cargo:rerun-if-env-changed=VSTEL_MSBuildProjectFullPath
  VSTEL_MSBuildProjectFullPath = None
  cargo:rerun-if-env-changed=VSCMD_ARG_VCVARS_SPECTRE
  VSCMD_ARG_VCVARS_SPECTRE = None
  cargo:rerun-if-env-changed=WindowsSdkDir
  WindowsSdkDir = None
  cargo:rerun-if-env-changed=WindowsSDKVersion
  WindowsSDKVersion = None
  cargo:rerun-if-env-changed=LIB
  LIB = None
  PATH = Some(C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\deps;C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug;C:\Users\klownie\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Users\klownie\.cargo\bin;C:\Program Files\Common Files\Ora
cle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\ProgramData\chocolatey\lib\mpv.install\tools;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\ZeroTier\One\;C:\Program Files\Gi
t\cmd;C:\ProgramData\chocolatey\lib\mpvio.install\tools;C:\Program Files (x86)\cloudflared\;C:\Users\klownie\scoop\apps\llvm\current\bin;C:\Users\klownie\scoop\apps\python\current\Scripts;C:\Users\klownie\scoop\apps\python\current;C:\Users\klownie\scoop\shims;C:\Users\klownie\.cargo\bin;C:\Users\klownie\AppData\Local\Microsoft\WindowsApps;C:\Users\klownie\AppData\Local\spicetify;C:\Users\klownie\.dotnet\tools;C:\Program Files\qemu;;C:\Program Files\OpenSSL-Win64\bin)
  cargo:rerun-if-env-changed=INCLUDE
  INCLUDE = None
  HOST = Some(x86_64-pc-windows-msvc)
  cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc
  CC_x86_64-pc-windows-msvc = None
  cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc
  CC_x86_64_pc_windows_msvc = None
  cargo:rerun-if-env-changed=HOST_CC
  HOST_CC = None
  cargo:rerun-if-env-changed=CC
  CC = None
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
  DEBUG = Some(true)
  cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc
  CFLAGS_x86_64-pc-windows-msvc = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc
  CFLAGS_x86_64_pc_windows_msvc = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:warning=cl : Command line error D8021 : invalid numeric argument '/Wno-unused-parameter'
  cargo:warning=Compilation of 'c11.c' failed - Err(Error { kind: ToolExecError, message: "Command \"C:\\\\Program Files\\\\Microsoft Visual Studio\\\\2022\\\\Community\\\\VC\\\\Tools\\\\MSVC\\\\14.40.33807\\\\bin\\\\HostX64\\\\x64\\\\cl.exe\" \"-nologo\" \"-MD\" \"-Z7\" \"-Brepro\" \"-I\" \"C:\\\\Users\\\\klownie\\\\.cargo\\\\registry\\\\src\\\\index.crates.io-6f17d22bba
15001f\\\\aws-lc-sys-0.22.0\\\\generated-include\" \"-I\" \"C:\\\\Users\\\\klownie\\\\.cargo\\\\registry\\\\src\\\\index.crates.io-6f17d22bba15001f\\\\aws-lc-sys-0.22.0\\\\include\" \"-I\" \"C:\\\\Users\\\\klownie\\\\.cargo\\\\registry\\\\src\\\\index.crates.io-6f17d22bba15001f\\\\aws-lc-sys-0.22.0\\\\aws-lc\\\\include\" \"-I\" \"C:\\\\Users\\\\klownie\\\\.cargo\\\\regist
ry\\\\src\\\\index.crates.io-6f17d22bba15001f\\\\aws-lc-sys-0.22.0\\\\aws-lc\\\\third_party\\\\s2n-bignum\\\\include\" \"-W4\" \"-Wno-unused-parameter\" \"-DBORINGSSL_IMPLEMENTATION=1\" \"-DBORINGSSL_PREFIX=aws_lc_0_22_0\" \"-WX\" \"-FoC:\\\\Users\\\\klownie\\\\Documents\\\\Art\\\\PortofolioWebsite\\\\AxumHtmxAskamaPortofolioWebsite\\\\target\\\\debug\\\\build\\\\aws-lc-sys-7dad5723691bd22f\\\\out\\\\out-c11\\\\89767f12a4c16522-c11.o\" \"-c\" \"C:\\\\Users\\\\klownie\\\\.cargo\\\\registry\\\\src\\\\index.crates.io-6f17d22bba15001f\\\\aws-lc-sys-0.22.0\\\\aws-lc\\\\tests\\\\compiler_features_tests\\\\c11.c\" with args cl.exe did not execute successfully (status code exit code: 2)." }).
  cargo:rerun-if-env-changed=CC
  cargo:rerun-if-env-changed=CXX
  cargo:warning=Setting CFLAGS: "-nologo -MD -Z7 -Brepro -std:c99 -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\generated-include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\aws-lc\\include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\aws-lc\\third_party\\s2n-bignum\\include -W4 -DBORINGSSL_IMPLEMENTATION=1 -DBORINGSSL_PREFIX=aws_lc_0_22_0"
  cargo:rerun-if-env-changed=CMAKE_TOOLCHAIN_FILE
  cargo:rerun-if-env-changed=CMAKE_TOOLCHAIN_FILE_x86_64_pc_windows_msvc
  cargo:warning=!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  cargo:warning=!!!   Using pre-built NASM binaries   !!!
  cargo:warning=!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  CMAKE_TOOLCHAIN_FILE_x86_64-pc-windows-msvc = None
  CMAKE_TOOLCHAIN_FILE_x86_64_pc_windows_msvc = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_x86_64-pc-windows-msvc = None
  CMAKE_GENERATOR_x86_64_pc_windows_msvc = None
  HOST_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None
  CMAKE_PREFIX_PATH_x86_64-pc-windows-msvc = None
  CMAKE_PREFIX_PATH_x86_64_pc_windows_msvc = None
  HOST_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_x86_64-pc-windows-msvc = None
  CMAKE_x86_64_pc_windows_msvc = None
  HOST_CMAKE = None
  CMAKE = Some("cmake")
  running: "cmake" "C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0" "-G" "Visual Studio 17 2022" "-Thost=x64" "-Ax64" "-DBUILD_SHARED_LIBS=0" "-DCMAKE_BUILD_TYPE=debug" "-DBORINGSSL_PREFIX=aws_lc_0_22_0_" "-DBORINGSSL_PREFIX_HEADERS=C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.
0\\generated-include" "-DBUILD_TESTING=OFF" "-DBUILD_LIBSSL=OFF" "-DDISABLE_PERL=ON" "-DDISABLE_GO=ON" "-DCMAKE_ASM_NASM_COMPILER=C:/Users/klownie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/aws-lc-sys-0.22.0/builder/prebuilt-nasm.bat" "-DCMAKE_INSTALL_PREFIX=C:\\Users\\klownie\\Documents\\Art\\PortofolioWebsite\\AxumHtmxAskamaPortofolioWebsite\\target\\debug\\bu
ild\\aws-lc-sys-7dad5723691bd22f\\out" "-DCMAKE_C_FLAGS= -nologo -MD -Brepro -nologo -MD -Z7 -Brepro -std:c99 -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\generated-include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\include -I C:\\Users\\klownie\\.cargo\\registry\
\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\aws-lc\\include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\aws-lc\\third_party\\s2n-bignum\\include -W4 -DBORINGSSL_IMPLEMENTATION=1 -DBORINGSSL_PREFIX=aws_lc_0_22_0" "-DCMAKE_C_FLAGS_DEBUG= -nologo -MD -Brepro -nologo -MD -Z7 -Brepro -std:c99 -I C:\\Users\\k
lownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\generated-include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\aws-lc\\include -I C:\\Users\\klownie\\.cargo\\registry\\src\\inde
x.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\aws-lc\\third_party\\s2n-bignum\\include -W4 -DBORINGSSL_IMPLEMENTATION=1 -DBORINGSSL_PREFIX=aws_lc_0_22_0" "-DCMAKE_CXX_FLAGS= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS= -nologo -MD -Brepro -nologo -MD -Z7 -Brepro -std:c99 -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crat
es.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\generated-include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\aws-lc\\include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-
0.22.0\\aws-lc\\third_party\\s2n-bignum\\include -W4 -DBORINGSSL_IMPLEMENTATION=1 -DBORINGSSL_PREFIX=aws_lc_0_22_0" "-DCMAKE_ASM_FLAGS_DEBUG= -nologo -MD -Brepro -nologo -MD -Z7 -Brepro -std:c99 -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\generated-include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-
6f17d22bba15001f\\aws-lc-sys-0.22.0\\include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\aws-lc\\include -I C:\\Users\\klownie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\aws-lc-sys-0.22.0\\aws-lc\\third_party\\s2n-bignum\\include -W4 -DBORINGSSL_IMPLEMENTATION=1 -DBORINGSSL_PREFIX=aws_lc_0_22_0" "--no-warn-unused-cli"
  Not searching for unused variables given on the command line.
  -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
  -- The C compiler identification is MSVC 19.40.33811.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - failed
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe - broken
  -- Configuring incomplete, errors occurred!

  --- stderr
  CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
    Compatibility with CMake < 3.5 will be removed from a future version of
    CMake.

    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.


  CMake Error at C:/Users/klownie/scoop/apps/cmake/3.30.2/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake:67 (message):
    The C compiler

      "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: 'C:/Users/klownie/Documents/Art/PortofolioWebsite/AxumHtmxAskamaPortofolioWebsite/target/debug/build/aws-lc-sys-7dad5723691bd22f/out/build/CMakeFiles/CMakeScratch/TryCompile-i8245c'

      Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_c4a6b.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n
      MSBuild version 17.10.4+10fbfbf2e for .NET Framework
      Build started 11/9/2024 10:38:27 AM.

      Project "C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj" on node 1 (default targets).
      PrepareForBuild:
        Creating directory "cmTC_c4a6b.dir\Debug\".
        Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
        Creating directory "C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\Debug\".
        Creating directory "cmTC_c4a6b.dir\Debug\cmTC_c4a6b.tlog\".
      InitializeBuildStatus:
        Creating "cmTC_c4a6b.dir\Debug\cmTC_c4a6b.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
        Touching "cmTC_c4a6b.dir\Debug\cmTC_c4a6b.tlog\unsuccessfulbuild".
      ClCompile:
        C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\HostX64\x64\CL.exe /c /I"C:\Users\klownie\.cargo\registry\src\index.crates.io-6f17d22bba15001f\aws-lc-sys-0.22.0\generated-include" /I"C:\Users\klownie\.cargo\registry\src\index.crates.io-6f17d22bba15001f\aws-lc-sys-0.22.0\include" /I"C:\Users\klownie\.cargo\registry\src\index.cr
ates.io-6f17d22bba15001f\aws-lc-sys-0.22.0\aws-lc\include" /I"C:\Users\klownie\.cargo\registry\src\index.crates.io-6f17d22bba15001f\aws-lc-sys-0.22.0\aws-lc\third_party\s2n-bignum\include" /Zi /nologo /W4 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D BORINGSSL_IMPLEMENTATION=1 /D BORINGSSL_PREFIX=aws_lc_0_22_0 /D "CMAKE_INTDIR=\"Debug\"" /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_c4a6b.dir\Debug\\" /Fd"cmTC_c4a6b.dir\Debug\vc143.pdb" /external:W4 /Gd /TC /errorReport:queue  -Brepro -Brepro -std:c99 "C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\testCCompiler.c"
      cl : command line  warning D9002: ignoring unknown option '-std:c99' [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
        testCCompiler.c
      Link:
        C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\Debug\cmTC_c4a6b.exe" /INCREMENTAL /ILK:"cmTC_c4a6b.di
r\Debug\cmTC_c4a6b.ilk" /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/klownie/Documents/Art/PortofolioWebsite/AxumHtmxAskamaPortofolioWebsite/target/debug/build/aws-lc-sys-7dad5723691bd22f/out/buil
d/CMakeFiles/CMakeScratch/TryCompile-i8245c/Debug/cmTC_c4a6b.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/klownie/Documents/Art/PortofolioWebsite/AxumHtmxAskamaPortofolioWebsite/target/debug/build/aws-lc-sys-7dad5723691bd22f/out/build/CMakeFiles/CMakeScratch/TryCompile-i8245c/Debug/cmTC_c4a6b.lib" /MACHINE:X64  /machine:x64 cmTC_c4a6b.dir\Debug\testCCompiler.obj
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003: The specified task executable "link.exe" could not be run. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.dir\Debug\cmTC_c4a6b.tlog'. [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at System.IO.FileSystemEnumerableIterator`1.CommonInit() [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at System.IO.Directory.GetFiles(String path, String searchPattern) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at Microsoft.Build.Utilities.TrackedDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.DeleteFiles(ITaskItem[] filesToDelete) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.PostExecuteTool(Int32 exitCode) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      Done Building Project "C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj" (default targets) -- FAILED.

      Build FAILED.

      "C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj" (default target) (1) ->
      (ClCompile target) ->
        cl : command line  warning D9002: ignoring unknown option '-std:c99' [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]


      "C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj" (default target) (1) ->
      (Link target) ->
        C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003: The specified task executable "link.exe" could not be run. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.dir\Debug\cmTC_c4a6b.tlog'. [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at System.IO.FileSystemEnumerableIterator`1.CommonInit() [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at System.IO.Directory.GetFiles(String path, String searchPattern) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at Microsoft.Build.Utilities.TrackedDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.DeleteFiles(ITaskItem[] filesToDelete) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.PostExecuteTool(Int32 exitCode) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [C:\Users\klownie\Documents\Art\PortofolioWebsite\AxumHtmxAskamaPortofolioWebsite\target\debug\build\aws-lc-sys-7dad5723691bd22f\out\build\CMakeFiles\CMakeScratch\TryCompile-i8245c\cmTC_c4a6b.vcxproj]

          1 Warning(s)
          1 Error(s)

      Time Elapsed 00:00:00.27





    CMake will not be able to correctly generate this project.
  Call Stack (most recent call first):
    CMakeLists.txt:7 (enable_language)


  thread 'main' panicked at C:\Users\klownie\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cmake-0.1.51\src/lib.rs:1100:5:

  command did not execute successfully, got: exit code: 1

  build script failed, must exit now
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants