Caused by:
process didn't exit successfully: F:\Job\EdgeStudio\cli-builder\target\debug\build\sqlite3-parser-e47fc051acce82b8\build-script-build (exit code: 101)
--- stdout
OPT_LEVEL = Some("0")
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("fxsr,sse,sse2")
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
lemon.c
third_party\lemon\lemon.c(2897): warning C4244: '=': conversion from 'int' to 'char', possible loss of data
third_party\lemon\lemon.c(2936): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
third_party\lemon\lemon.c(3187): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
third_party\lemon\lemon.c(3505): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
third_party\lemon\lemon.c(3621): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
third_party\lemon\lemon.c(3650): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
third_party\lemon\lemon.c(3813): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
third_party\lemon\lemon.c(3816): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
third_party\lemon\lemon.c(4753): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
---stderr
cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
Can't open file "F:\Job\EdgeStudio\cli-builder\target\debug\build\sqlite3-parser-7a518bd8c7522903\out/src\parser\parse.out".
Can't open file "F:\Job\EdgeStudio\cli-builder\target\debug\build\sqlite3-parser-7a518bd8c7522903\out/src\parser\parse.rs".
Can't open file "F:\Job\EdgeStudio\cli-builder\target\debug\build\sqlite3-parser-7a518bd8c7522903\out/src\parser\parse.h".
thread 'main' panicked at C:\Users\sakib.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlite3-parser-0.8.0\build.rs:34:9:
assertion failed: Command::new(rlemon).arg(\"-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT\").arg(\"-Tthird_party/lemon/lempar.rs\").arg(format!(\"-d{out_dir}\")).arg(sql_parser).status()?.success()
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
This error happens even when I do not use the crate. (Just installed).
Environment
Step to reproduce
Just install the library:
And then run the project:
Error
---stderr