Skip to content

error: failed to run custom build command for nostrdb v0.2.0 #44

@themrvideouser

Description

@themrvideouser

xxxxx@DESKTOP-XXXXXX MINGW64 /e/Projekte/damus/sepiropht/android (master)
$ cargo run --release

warning: output filename collision.
The bin target `notedeck` in package `notedeck v0.1.0 (E:\Projekte\damus\sepiropht\android)` has the same output filename as the lib target `notedeck` in package `notedeck v0.1.0 (E:\Projekte\damus\sepiropht\android)`.
Colliding filename is: E:\Projekte\damus\sepiropht\android\target\release\deps\notedeck.pdb
The targets should have unique names.
Consider changing their names to be unique or compiling them separately.
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>.
warning: output filename collision.
The bin target `notedeck` in package `notedeck v0.1.0 (E:\Projekte\damus\sepiropht\android)` has the same output filename as the lib target `notedeck` in package `notedeck v0.1.0 (E:\Projekte\damus\sepiropht\android)`.
Colliding filename is: E:\Projekte\damus\sepiropht\android\target\release\notedeck.pdb
The targets should have unique names.
Consider changing their names to be unique or compiling them separately.
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>.
   Compiling nostrdb v0.2.0 (https://github.com/damus-io/nostrdb-rs?rev=c46ba31aa09d389466caef551a185dc0bd43aefd#c46ba31a)
warning: [email protected]: cl : Command line error D8021 : invalid numeric argument '/Wno-misleading-indentation'
error: failed to run custom build command for `nostrdb v0.2.0 (https://github.com/damus-io/nostrdb-rs?rev=c46ba31aa09d389466caef551a185dc0bd43aefd#c46ba31a)`

Caused by:
  process didn't exit successfully: `E:\Projekte\damus\sepiropht\android\target\release\build\nostrdb-77139680681d7ad6\build-script-build` (exit code: 1)
  --- stdout
  TARGET = Some("x86_64-pc-windows-msvc")
  OPT_LEVEL = Some("3")
  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,x87")
  DEBUG = Some("false")
  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
  running: "D:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-O2" "-Brepro" "-I" "nostrdb/deps/lmdb" "-I" "nostrdb/deps/flatcc/include" "-I" "nostrdb/deps/secp256k1/include" "-W4" "-Wno-misleading-indentation" "-Wno-unused-function" "-FoE:\\Projekte\\damus\\sepiropht\\android\\target\\release\\build\\nostrdb-266e80f50133837e\\out\\nostrdb/src/nostrdb.o" "-c" "nostrdb/src/nostrdb.c"
  cargo:warning=cl : Command line error D8021 : invalid numeric argument '/Wno-misleading-indentation'

  exit code: 2

  --- stderr


  error occurred: Command "D:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-O2" "-Brepro" "-I" "nostrdb/deps/lmdb" "-I" "nostrdb/deps/flatcc/include" "-I" "nostrdb/deps/secp256k1/include" "-W4" "-Wno-misleading-indentation" "-Wno-unused-function" "-FoE:\\Projekte\\damus\\sepiropht\\android\\target\\release\\build\\nostrdb-266e80f50133837e\\out\\nostrdb/src/nostrdb.o" "-c" "nostrdb/src/nostrdb.c" with args "cl.exe" did not execute successfully (status code exit code: 2).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions