Skip to content

Instantly share code, notes, and snippets.

@dzfranklin
Created May 6, 2021 16:45
Show Gist options
  • Save dzfranklin/d9c3bd31e46961f730215ed82a360fee to your computer and use it in GitHub Desktop.
Save dzfranklin/d9c3bd31e46961f730215ed82a360fee to your computer and use it in GitHub Desktop.
Full output of `cargo build` of lldb-sys
Compiling lldb-sys v0.0.20 (/home/daniel/lldb-sys.rs)
The following warnings were emitted during compilation:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘SBCommandInterpreterRunOptionsOpaque* CreateSBCommandInterpreterRunOptions()’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:22:99: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 22 | return reinterpret_cast<SBCommandInterpreterRunOptionsRef>(new SBCommandInterpreterRunOptions());
warning: | ^
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void DisposeSBCommandInterpreterRunOptions(SBCommandInterpreterRunOptionsRef)’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:28:5: warning: possible problem detected in invocation of ‘operator delete’ [-Wdelete-incomplete]
warning: 28 | delete reinterpret_cast<SBCommandInterpreterRunOptions *>(instance);
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:28:12: warning: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 28 | delete reinterpret_cast<SBCommandInterpreterRunOptions *>(instance);
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:28:5: note: neither the destructor nor the class-specific ‘operator delete’ will be called, even if they are declared when the class is defined
warning: 28 | delete reinterpret_cast<SBCommandInterpreterRunOptions *>(instance);
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘bool SBCommandInterpreterRunOptionsGetStopOnContinue(SBCommandInterpreterRunOptionsRef)’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:35:21: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 35 | return unwrapped->GetStopOnContinue();
warning: | ^~
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void SBCommandInterpreterRunOptionsSetStopOnContinue(SBCommandInterpreterRunOptionsRef, bool)’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:42:14: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 42 | unwrapped->SetStopOnContinue(var0);
warning: | ^~
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘bool SBCommandInterpreterRunOptionsGetStopOnError(SBCommandInterpreterRunOptionsRef)’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:49:21: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 49 | return unwrapped->GetStopOnError();
warning: | ^~
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void SBCommandInterpreterRunOptionsSetStopOnError(SBCommandInterpreterRunOptionsRef, bool)’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:56:14: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 56 | unwrapped->SetStopOnError(var0);
warning: | ^~
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘bool SBCommandInterpreterRunOptionsGetStopOnCrash(SBCommandInterpreterRunOptionsRef)’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:63:21: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 63 | return unwrapped->GetStopOnCrash();
warning: | ^~
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void SBCommandInterpreterRunOptionsSetStopOnCrash(SBCommandInterpreterRunOptionsRef, bool)’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:70:14: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 70 | unwrapped->SetStopOnCrash(var0);
warning: | ^~
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘bool SBCommandInterpreterRunOptionsGetEchoCommands(SBCommandInterpreterRunOptionsRef)’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:77:21: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 77 | return unwrapped->GetEchoCommands();
warning: | ^~
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void SBCommandInterpreterRunOptionsSetEchoCommands(SBCommandInterpreterRunOptionsRef, bool)’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:84:14: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 84 | unwrapped->SetEchoCommands(var0);
warning: | ^~
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘bool SBCommandInterpreterRunOptionsGetPrintResults(SBCommandInterpreterRunOptionsRef)’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:91:21: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 91 | return unwrapped->GetPrintResults();
warning: | ^~
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void SBCommandInterpreterRunOptionsSetPrintResults(SBCommandInterpreterRunOptionsRef, bool)’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:98:14: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 98 | unwrapped->SetPrintResults(var0);
warning: | ^~
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘bool SBCommandInterpreterRunOptionsGetAddToHistory(SBCommandInterpreterRunOptionsRef)’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:105:21: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 105 | return unwrapped->GetAddToHistory();
warning: | ^~
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void SBCommandInterpreterRunOptionsSetAddToHistory(SBCommandInterpreterRunOptionsRef, bool)’:
warning: src/lldb/Bindings/SBCommandInterpreterBinding.cpp:112:14: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
warning: 112 | unwrapped->SetAddToHistory(var0);
warning: | ^~
warning: In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
warning: from src/lldb/Bindings/SBBreakpointBinding.h:15,
warning: from src/lldb/Bindings/LLDBBinding.h:21,
warning: from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
warning: /usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
warning: 30 | class LLDB_API SBCommandInterpreterRunOptions;
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: failed to run custom build command for `lldb-sys v0.0.20 (/home/daniel/lldb-sys.rs)`
Caused by:
process didn't exit successfully: `/home/daniel/.cargo_target/debug/build/lldb-sys-ff1cce2889053c29/build-script-build` (exit code: 1)
--- stdout
cargo:rustc-link-search=/usr/lib/llvm-11/lib
cargo:rustc-link-lib=lldb
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("0")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/usr/lib/llvm-11/include" "-I" "src" "-std=c++14" "-o" "/home/daniel/.cargo_target/debug/build/lldb-sys-8e65f860a0e1fdf5/out/src/lldb/Bindings/SBAddressBinding.o" "-c" "src/lldb/Bindings/SBAddressBinding.cpp"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/usr/lib/llvm-11/include" "-I" "src" "-std=c++14" "-o" "/home/daniel/.cargo_target/debug/build/lldb-sys-8e65f860a0e1fdf5/out/src/lldb/Bindings/SBAttachInfoBinding.o" "-c" "src/lldb/Bindings/SBAttachInfoBinding.cpp"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/usr/lib/llvm-11/include" "-I" "src" "-std=c++14" "-o" "/home/daniel/.cargo_target/debug/build/lldb-sys-8e65f860a0e1fdf5/out/src/lldb/Bindings/SBBlockBinding.o" "-c" "src/lldb/Bindings/SBBlockBinding.cpp"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/usr/lib/llvm-11/include" "-I" "src" "-std=c++14" "-o" "/home/daniel/.cargo_target/debug/build/lldb-sys-8e65f860a0e1fdf5/out/src/lldb/Bindings/SBBreakpointBinding.o" "-c" "src/lldb/Bindings/SBBreakpointBinding.cpp"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/usr/lib/llvm-11/include" "-I" "src" "-std=c++14" "-o" "/home/daniel/.cargo_target/debug/build/lldb-sys-8e65f860a0e1fdf5/out/src/lldb/Bindings/SBBreakpointListBinding.o" "-c" "src/lldb/Bindings/SBBreakpointListBinding.cpp"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/usr/lib/llvm-11/include" "-I" "src" "-std=c++14" "-o" "/home/daniel/.cargo_target/debug/build/lldb-sys-8e65f860a0e1fdf5/out/src/lldb/Bindings/SBBreakpointLocationBinding.o" "-c" "src/lldb/Bindings/SBBreakpointLocationBinding.cpp"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/usr/lib/llvm-11/include" "-I" "src" "-std=c++14" "-o" "/home/daniel/.cargo_target/debug/build/lldb-sys-8e65f860a0e1fdf5/out/src/lldb/Bindings/SBBreakpointNameBinding.o" "-c" "src/lldb/Bindings/SBBreakpointNameBinding.cpp"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/usr/lib/llvm-11/include" "-I" "src" "-std=c++14" "-o" "/home/daniel/.cargo_target/debug/build/lldb-sys-8e65f860a0e1fdf5/out/src/lldb/Bindings/SBBroadcasterBinding.o" "-c" "src/lldb/Bindings/SBBroadcasterBinding.cpp"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/usr/lib/llvm-11/include" "-I" "src" "-std=c++14" "-o" "/home/daniel/.cargo_target/debug/build/lldb-sys-8e65f860a0e1fdf5/out/src/lldb/Bindings/SBCommandInterpreterBinding.o" "-c" "src/lldb/Bindings/SBCommandInterpreterBinding.cpp"
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘SBCommandInterpreterRunOptionsOpaque* CreateSBCommandInterpreterRunOptions()’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:22:99: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 22 | return reinterpret_cast<SBCommandInterpreterRunOptionsRef>(new SBCommandInterpreterRunOptions());
cargo:warning= | ^
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void DisposeSBCommandInterpreterRunOptions(SBCommandInterpreterRunOptionsRef)’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:28:5: warning: possible problem detected in invocation of ‘operator delete’ [-Wdelete-incomplete]
cargo:warning= 28 | delete reinterpret_cast<SBCommandInterpreterRunOptions *>(instance);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:28:12: warning: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 28 | delete reinterpret_cast<SBCommandInterpreterRunOptions *>(instance);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:28:5: note: neither the destructor nor the class-specific ‘operator delete’ will be called, even if they are declared when the class is defined
cargo:warning= 28 | delete reinterpret_cast<SBCommandInterpreterRunOptions *>(instance);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘bool SBCommandInterpreterRunOptionsGetStopOnContinue(SBCommandInterpreterRunOptionsRef)’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:35:21: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 35 | return unwrapped->GetStopOnContinue();
cargo:warning= | ^~
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void SBCommandInterpreterRunOptionsSetStopOnContinue(SBCommandInterpreterRunOptionsRef, bool)’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:42:14: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 42 | unwrapped->SetStopOnContinue(var0);
cargo:warning= | ^~
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘bool SBCommandInterpreterRunOptionsGetStopOnError(SBCommandInterpreterRunOptionsRef)’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:49:21: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 49 | return unwrapped->GetStopOnError();
cargo:warning= | ^~
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void SBCommandInterpreterRunOptionsSetStopOnError(SBCommandInterpreterRunOptionsRef, bool)’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:56:14: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 56 | unwrapped->SetStopOnError(var0);
cargo:warning= | ^~
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘bool SBCommandInterpreterRunOptionsGetStopOnCrash(SBCommandInterpreterRunOptionsRef)’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:63:21: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 63 | return unwrapped->GetStopOnCrash();
cargo:warning= | ^~
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void SBCommandInterpreterRunOptionsSetStopOnCrash(SBCommandInterpreterRunOptionsRef, bool)’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:70:14: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 70 | unwrapped->SetStopOnCrash(var0);
cargo:warning= | ^~
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘bool SBCommandInterpreterRunOptionsGetEchoCommands(SBCommandInterpreterRunOptionsRef)’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:77:21: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 77 | return unwrapped->GetEchoCommands();
cargo:warning= | ^~
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void SBCommandInterpreterRunOptionsSetEchoCommands(SBCommandInterpreterRunOptionsRef, bool)’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:84:14: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 84 | unwrapped->SetEchoCommands(var0);
cargo:warning= | ^~
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘bool SBCommandInterpreterRunOptionsGetPrintResults(SBCommandInterpreterRunOptionsRef)’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:91:21: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 91 | return unwrapped->GetPrintResults();
cargo:warning= | ^~
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void SBCommandInterpreterRunOptionsSetPrintResults(SBCommandInterpreterRunOptionsRef, bool)’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:98:14: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 98 | unwrapped->SetPrintResults(var0);
cargo:warning= | ^~
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘bool SBCommandInterpreterRunOptionsGetAddToHistory(SBCommandInterpreterRunOptionsRef)’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:105:21: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 105 | return unwrapped->GetAddToHistory();
cargo:warning= | ^~
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp: In function ‘void SBCommandInterpreterRunOptionsSetAddToHistory(SBCommandInterpreterRunOptionsRef, bool)’:
cargo:warning=src/lldb/Bindings/SBCommandInterpreterBinding.cpp:112:14: error: invalid use of incomplete type ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 112 | unwrapped->SetAddToHistory(var0);
cargo:warning= | ^~
cargo:warning=In file included from /usr/lib/llvm-11/include/lldb/API/SBBreakpoint.h:12,
cargo:warning= from src/lldb/Bindings/SBBreakpointBinding.h:15,
cargo:warning= from src/lldb/Bindings/LLDBBinding.h:21,
cargo:warning= from src/lldb/Bindings/SBCommandInterpreterBinding.cpp:10:
cargo:warning=/usr/lib/llvm-11/include/lldb/API/SBDefines.h:30:16: note: forward declaration of ‘class lldb::SBCommandInterpreterRunOptions’
cargo:warning= 30 | class LLDB_API SBCommandInterpreterRunOptions;
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exit code: 1
--- stderr
error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/usr/lib/llvm-11/include" "-I" "src" "-std=c++14" "-o" "/home/daniel/.cargo_target/debug/build/lldb-sys-8e65f860a0e1fdf5/out/src/lldb/Bindings/SBCommandInterpreterBinding.o" "-c" "src/lldb/Bindings/SBCommandInterpreterBinding.cpp" with args "c++" did not execute successfully (status code exit code: 1).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment