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

Building error #3

Open
meizeddin opened this issue Aug 8, 2024 · 0 comments
Open

Building error #3

meizeddin opened this issue Aug 8, 2024 · 0 comments

Comments

@meizeddin
Copy link

meizeddin commented Aug 8, 2024

I am trying to use your implementation for a dissertation project of mine however, I keep getting this error message when trying to build:

Is the code working on your side or are you guys still developing it?

2024-08-08T17:40:43.483274Z ERROR Flycheck failed to run the following command: CommandHandle { program: "C:\\Users\\meize\\.cargo\\bin\\cargo.exe", arguments: ["check", "--workspace", "--message-format=json-diagnostic-rendered-ansi", "--manifest-path", "E:\\DessTest\\rustpy_pswoosh\\Cargo.toml", "--keep-going", "--all-targets"], current_dir: Some("E:\\DessTest\\rustpy_pswoosh") }, error=Cargo watcher failed, the command produced no valid metadata (exit code: ExitStatus(ExitStatus(101))):
   Compiling pswoosh v0.1.0 (E:\DessTest\rustpy_pswoosh\pswoosh)
The following warnings were emitted during compilation:

warning: [email protected]: cl : Command line warning D9002 : ignoring unknown option '-march=native'
warning: [email protected]: cl : Command line warning D9002 : ignoring unknown option '-fomit-frame-pointer'
warning: [email protected]: cl : Command line warning D9002 : ignoring unknown option '-fwrapv'
warning: [email protected]: cl : Command line warning D9002 : ignoring unknown option '-fPIC'
warning: [email protected]: cl : Command line warning D9002 : ignoring unknown option '-fPIE'

error: failed to run custom build command for `pswoosh v0.1.0 (E:\DessTest\rustpy_pswoosh\pswoosh)`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `E:\DessTest\rustpy_pswoosh\target\debug\build\pswoosh-0b0c4defb57f6d54\build-script-build` (exit code: 1)
  --- stdout
  OUT_DIR = Some(E:\DessTest\rustpy_pswoosh\target\debug\build\pswoosh-f2656e90f29224b5\out)
  TARGET = Some(x86_64-pc-windows-msvc)
  OPT_LEVEL = Some(0)
  HOST = Some(x86_64-pc-windows-msvc)
  cargo:rerun-if-env-changed=VCINSTALLDIR
  VCINSTALLDIR = 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
  cargo:rerun-if-env-changed=PATH
  PATH = Some(E:\DessTest\rustpy_pswoosh\target\debug\deps;E:\DessTest\rustpy_pswoosh\target\debug;C:\Users\meize\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files\BellSoft\LibericaJDK-19-Full\bin\;C:\Program Files\Java\jdk-19\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\java8path;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\AdoptOpenJDK\jdk-11.0.10.9-hotspot\bin;C:\Program Files\Amazon Corretto\jdk11.0.10_9\bin;C:\Program Files\Amazon Corretto\jdk1.8.0_282\bin;C:\Program Files (x86)\Amazon Corretto\jdk1.8.0_282\bin;C:\Program Files\AdoptOpenJDK\jdk-8.0.282.8-hotspot\bin;C:\Program Files (x86)\AdoptOpenJDK\jdk-8.0.282.8-hotspot\bin;C:\Program Files\AdoptOpenJDK\jre-8.0.282.8-hotspot\bin;C:\Program Files\AdoptOpenJDK\jre-11.0.10.9-hotspot\bin;C:\Program Files (x86)\AdoptOpenJDK\jre-8.0.282.8-hotspot\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\dotnet\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Git\cmd;C:\Windows\SysWow64\;C:\Users\meize\.cargo\bin;C:\Users\meize\AppData\Local\Programs\Python\Python312\Scripts\;C:\Users\meize\AppData\Local\Programs\Python\Python312\;C:\Users\meize\AppData\Local\Microsoft\WindowsApps;%PhpStorm%;F:\ProgramFiles(64)\Microsoft VS Code\bin)
  cargo:rerun-if-env-changed=INCLUDE
  INCLUDE = None
  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 warning D9002 : ignoring unknown option '-march=native'
  cargo:warning=cl : Command line warning D9002 : ignoring unknown option '-fomit-frame-pointer'
  cargo:warning=cl : Command line warning D9002 : ignoring unknown option '-fwrapv'
  cargo:warning=cl : Command line warning D9002 : ignoring unknown option '-fPIC'
  cargo:warning=cl : Command line warning D9002 : ignoring unknown option '-fPIE'
  aesenc-int.c
  ./src/aesenc-int.c(84): warning C4068: unknown pragma 'unroll'
  ./src/aesenc-int.c(209): warning C4013: '__attribute__' undefined; assuming extern returning int
  ./src/aesenc-int.c(209): warning C4013: 'aligned' undefined; assuming extern returning int
  ./src/aesenc-int.c(209): error C2143: syntax error: missing ';' before 'type'
  ./src/aesenc-int.c(214): warning C4013: '__builtin_bswap64' undefined; assuming extern returning int
  ./src/aesenc-int.c(229): error C2143: syntax error: missing ';' before 'type'
  ./src/aesenc-int.c(229): error C2057: expected constant expression
  ./src/aesenc-int.c(229): error C2466: cannot allocate an array of constant size 0
  ./src/aesenc-int.c(229): error C2133: 'outni': unknown size
  ./src/aesenc-int.c(243): error C2143: syntax error: missing ';' before 'type'
  ./src/aesenc-int.c(263): error C2143: syntax error: missing ';' before 'type'
  ./src/aesenc-int.c(263): error C2057: expected constant expression
  ./src/aesenc-int.c(263): error C2466: cannot allocate an array of constant size 0
  ./src/aesenc-int.c(263): error C2133: 'outni': unknown size

  --- stderr


  error occurred: Command "F:\\ProgramFiles(64)\\Microsoft Visual Studio2022Community\\VC\\Tools\\MSVC\\14.40.33807\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-W4" "-march=native" "-fomit-frame-pointer" "-fwrapv" "-fPIC" "-fPIE" "-FoE:\\DessTest\\rustpy_pswoosh\\target\\debug\\build\\pswoosh-f2656e90f29224b5\\out\\341629401c88030c-aesenc-int.o" "-c" "./src/aesenc-int.c" with args cl.exe did not execute successfully (status code exit code: 2).
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

1 participant