Skip to content

Instantly share code, notes, and snippets.

@n8henrie
Created February 22, 2024 23:27
Show Gist options
  • Save n8henrie/c7a8a3f0bb333a944cae49f9ecf45a40 to your computer and use it in GitHub Desktop.
Save n8henrie/c7a8a3f0bb333a944cae49f9ecf45a40 to your computer and use it in GitHub Desktop.
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/syf5ivazj2srbac04r1v3xr9hzcsmi8y-source
source root is source
Executing cargoSetupPostUnpackHook
unpacking source archive /nix/store/8hdjhdpkh8mn7sz66vjaqfxq7cycf8dv-neovide-0.12.2-vendor.tar.gz
Finished cargoSetupPostUnpackHook
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
Executing cargoSetupPostPatchHook
Validating consistency between /private/tmp/nix-build-neovide-0.12.2.drv-0/source/Cargo.lock and /private/tmp/nix-build-neovide-0.12.2.drv-0/neovide-0.12.2-vendor.tar.gz/Cargo.lock
Finished cargoSetupPostPatchHook
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
Executing cargoBuildHook
++ env CC_X86_64_APPLE_DARWIN=/nix/store/9zmsrxb7nbf3y7pz42968x4iw6536gil-clang-wrapper-16.0.6/bin/cc CXX_X86_64_APPLE_DARWIN=/nix/store/9zmsrxb7nbf3y7pz42968x4iw6536gil-clang-wrapper-16.0.6/bin/c++ CARGO_TARGET_X86_64_APPLE_DARWIN_LINKER=/nix/store/9zmsrxb7nbf3y7pz42968x4iw6536gil-clang-wrapper-16.0.6/bin/cc CC_X86_64_APPLE_DARWIN=/nix/store/9zmsrxb7nbf3y7pz42968x4iw6536gil-clang-wrapper-16.0.6/bin/cc CXX_X86_64_APPLE_DARWIN=/nix/store/9zmsrxb7nbf3y7pz42968x4iw6536gil-clang-wrapper-16.0.6/bin/c++ CARGO_TARGET_X86_64_APPLE_DARWIN_LINKER=/nix/store/9zmsrxb7nbf3y7pz42968x4iw6536gil-clang-wrapper-16.0.6/bin/cc CARGO_BUILD_TARGET=x86_64-apple-darwin HOST_CC=/nix/store/9zmsrxb7nbf3y7pz42968x4iw6536gil-clang-wrapper-16.0.6/bin/cc HOST_CXX=/nix/store/9zmsrxb7nbf3y7pz42968x4iw6536gil-clang-wrapper-16.0.6/bin/c++ cargo build -j 8 --target x86_64-apple-darwin --frozen --profile release
 Compiling libc v0.2.152
 Compiling proc-macro2 v1.0.78
 Compiling unicode-ident v1.0.12
 Compiling autocfg v1.1.0
 Compiling cfg-if v1.0.0
 Compiling crc32fast v1.3.2
 Compiling rustix v0.38.30
 Compiling log v0.4.20
 Compiling serde v1.0.196
 Compiling memchr v2.7.1
 Compiling num-traits v0.2.17
 Compiling byteorder v1.5.0
 Compiling bitflags v2.4.2
 Compiling cfg_aliases v0.1.1
 Compiling bitflags v1.3.2
 Compiling tinyvec_macros v0.1.1
 Compiling untrusted v0.9.0
 Compiling glob v0.3.1
 Compiling spin v0.9.8
 Compiling core-foundation-sys v0.8.6
 Compiling clang-sys v1.7.0
 Compiling tinyvec v1.6.0
 Compiling objc-sys v0.3.2
 Compiling prettyplease v0.2.16
 Compiling quote v1.0.35
 Compiling heck v0.4.1
 Compiling syn v2.0.48
 Compiling serde_json v1.0.112
 Compiling unicode-normalization v0.1.22
 Compiling cc v1.0.83
 Compiling errno v0.3.8
 Compiling getrandom v0.2.12
 Compiling core-foundation v0.9.4
 Compiling iovec v0.1.4
 Compiling aho-corasick v1.1.2
 Compiling lock_api v0.4.11
 Compiling slab v0.4.9
 Compiling hashbrown v0.14.3
 Compiling ring v0.17.7
 Compiling regex-syntax v0.8.2
 Compiling simd-adler32 v0.3.7
 Compiling unicode-bidi v0.3.15
 Compiling getrandom v0.1.16
 Compiling futures-sink v0.3.30
 Compiling parking_lot_core v0.9.9
 Compiling block-sys v0.2.1
 Compiling percent-encoding v2.3.1
 Compiling futures-core v0.3.30
 Compiling adler v1.0.2
 Compiling minimal-lexical v0.2.1
 Compiling rustls v0.21.10
 Compiling pin-project-lite v0.2.13
 Compiling equivalent v1.0.1
 Compiling miniz_oxide v0.7.1
 Compiling indexmap v2.1.0
 Compiling nom v7.1.3
 Compiling form_urlencoded v1.2.1
 Compiling idna v0.5.0
 Compiling toml_datetime v0.6.5
 Compiling serde_spanned v0.6.5
 Compiling regex-automata v0.4.5
 Compiling core-graphics-types v0.1.3
 Compiling bytes v0.4.12
 Compiling malloc_buf v0.0.6
 Compiling num-integer v0.1.45
 Compiling libloading v0.8.1
 Compiling objc2-encode v3.0.0
 Compiling scopeguard v1.2.0
 Compiling winnow v0.5.35
 Compiling home v0.5.9
 Compiling bindgen v0.68.1
 Compiling futures v0.1.31
 Compiling ppv-lite86 v0.2.17
 Compiling either v1.9.0
 Compiling once_cell v1.19.0
 Compiling smallvec v1.13.1
 Compiling futures-io v0.3.30
 Compiling khronos_api v3.1.0
 Compiling which v4.4.2
 Compiling serde_derive v1.0.196
 Compiling futures-macro v0.3.30
 Compiling regex v1.10.3
 Compiling objc2 v0.4.1
 Compiling tokio-io v0.1.13
 Compiling cexpr v0.6.0
 Compiling toml_edit v0.21.0
 Compiling objc v0.2.7
 Compiling flate2 v1.0.28
 Compiling url v2.5.0
 Compiling futures-channel v0.3.30
 Compiling xattr v1.3.1
 Compiling filetime v0.2.23
 Compiling base64 v0.21.7
 Compiling pin-utils v0.1.0
 Compiling siphasher v0.3.11
 Compiling itoa v1.0.10
 Compiling rand_core v0.6.4
 Compiling shlex v1.3.0
 Compiling futures-task v0.3.30
 Compiling rustversion v1.0.14
 Compiling lazy_static v1.4.0
 Compiling peeking_take_while v0.1.2
 Compiling webpki-roots v0.25.3
 Compiling paste v1.0.14
 Compiling lazycell v1.3.0
 Compiling ryu v1.0.16
 Compiling version_check v0.9.4
 Compiling rustc-hash v1.1.0
 Compiling ahash v0.7.7
 Compiling futures-util v0.3.30
 Compiling rand v0.8.5
 Compiling phf_shared v0.11.2
 Compiling tar v0.4.40
 Compiling toml v0.8.8
 Compiling block2 v0.3.0
 Compiling rustls-webpki v0.101.7
 Compiling sct v0.7.1
 Compiling rand_core v0.5.1
 Compiling parking_lot v0.12.1
 Compiling foreign-types-macros v0.2.3
 Compiling tokio-macros v2.2.0
 Compiling socket2 v0.5.5
 Compiling num_cpus v1.16.0
 Compiling signal-hook-registry v1.4.1
 Compiling mio v0.8.10
 Compiling num-bigint v0.4.4
 Compiling dispatch v0.2.0
 Compiling bytes v1.5.0
 Compiling utf8parse v0.2.1
 Compiling syn v1.0.109
 Compiling block v0.1.6
 Compiling xml-rs v0.8.19
 Compiling crossbeam-utils v0.8.19
 Compiling foreign-types-shared v0.3.1
 Compiling foreign-types v0.5.0
 Compiling tokio v1.35.1
 Compiling ureq v2.9.1
 Compiling anstyle-parse v0.2.3
 Compiling icrate v0.0.4
 Compiling gl_generator v0.14.0
 Compiling futures-executor v0.3.30
 Compiling rand_chacha v0.2.2
 Compiling phf_generator v0.11.2
 Compiling backtrace v0.3.69
 Compiling glutin v0.31.2
 Compiling winit v0.29.10
 Compiling num-rational v0.4.1
 Compiling num-iter v0.1.43
 Compiling async-trait v0.1.77
 Compiling raw-window-handle v0.5.2
 Compiling thiserror v1.0.56
 Compiling foreign-types-shared v0.1.1
 Compiling skia-bindings v0.68.0
 Compiling colorchoice v1.0.0
 Compiling anstyle-query v1.0.2
 Compiling anstyle v1.0.4
 Compiling gimli v0.28.1
 Compiling anstream v0.6.11
 Compiling foreign-types v0.3.2
 Compiling rmp v0.8.12
 Compiling phf_macros v0.11.2
 Compiling rand v0.7.3
 Compiling gl v0.14.0
 Compiling futures v0.3.30
 Compiling core-graphics v0.23.1
 Compiling addr2line v0.21.0
 Compiling smol_str v0.2.1
 Compiling cursor-icon v1.1.0
 Compiling objc_id v0.1.1
 Compiling thiserror-impl v1.0.56
 Compiling fdeflate v0.3.4
 Compiling object v0.32.2
 Compiling cgl v0.3.2
 Compiling num_threads v0.1.6
 Compiling glutin-winit v0.4.2
 Compiling clap_lex v0.6.0
 Compiling same-file v1.0.6
 Compiling anyhow v1.0.79
 Compiling nvim-rs v0.6.0
 Compiling unicode-segmentation v1.10.1
 Compiling time-macros v0.2.4
 Compiling strsim v0.10.0
 Compiling rustc-demangle v0.1.23
 Compiling option-ext v0.2.0
 Compiling raw-window-handle v0.6.0
 Compiling dirs-sys v0.4.1
 Compiling convert_case v0.6.0
 Compiling clap_builder v4.4.18
error: failed to run custom build command for `skia-bindings v0.68.0`
Caused by:
process didn't exit successfully: `/private/tmp/nix-build-neovide-0.12.2.drv-0/source/target/release/build/skia-bindings-4d8f0d304a0a397e/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=DOCS_RS
cargo:rerun-if-env-changed=SKIA_DEBUG
HOST: x86_64-apple-darwin
cargo:rerun-if-env-changed=SKIA_SOURCE_DIR
cargo:rerun-if-env-changed=SKIA_LIBRARY_SEARCH_PATH
STARTING OFFLINE BUILD
cargo:rerun-if-env-changed=CLANGCC
cargo:rerun-if-env-changed=CC
cargo:rerun-if-env-changed=CLANGCXX
cargo:rerun-if-env-changed=CXX
HOST: x86_64-apple-darwin
cargo:rerun-if-env-changed=OPT_LEVEL
cargo:rerun-if-env-changed=SKIA_USE_SYSTEM_LIBRARIES
HOST: x86_64-apple-darwin
cargo:rerun-if-env-changed=SDKTARGETSYSROOT
cargo:rerun-if-env-changed=SDKROOT
HOST: x86_64-apple-darwin
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
cargo:rerun-if-env-changed=SKIA_NINJA_COMMAND
cargo:rerun-if-env-changed=SKIA_GN_COMMAND
Probing 'python'
Python 3 found: "python"
Skia args: is_official_build=true is_debug=false skia_enable_svg=false skia_enable_gpu=true skia_enable_skottie=false skia_enable_pdf=true skia_use_gl=true skia_use_egl=false skia_use_x11=false skia_use_system_libpng=false skia_use_libwebp_encode=false skia_use_libwebp_decode=false skia_use_system_zlib=false skia_use_xps=false skia_use_dng_sdk=false cc="clang" cxx="clang++" skia_enable_skshaper=true skia_use_icu=true skia_use_system_icu=false skia_use_harfbuzz=true skia_pdf_subset_harfbuzz=true skia_use_system_harfbuzz=false skia_use_sfntly=false skia_enable_skparagraph=true skia_system_freetype2_include_path="/does/not/exist" skia_use_system_libjpeg_turbo=false skia_use_expat=true skia_use_system_expat=false target_os="mac" target_cpu="x86_64" extra_cflags=["-I=/usr/include/freetype2","-I/usr/include/freetype2","-O3","-D__MAC_OS_X_VERSION_MIN_REQUIRED=101200","-D__MAC_OS_X_VERSION_MAX_ALLOWED=101200"]
WARNING at the command-line "--args":1:607: Build argument has no effect.
is_official_build=true is_debug=false skia_enable_svg=false skia_enable_gpu=true skia_enable_skottie=false skia_enable_pdf=true skia_use_gl=true skia_use_egl=false skia_use_x11=false skia_use_system_libpng=false skia_use_libwebp_encode=false skia_use_libwebp_decode=false skia_use_system_zlib=false skia_use_xps=false skia_use_dng_sdk=false cc="clang" cxx="clang++" skia_enable_skshaper=true skia_use_icu=true skia_use_system_icu=false skia_use_harfbuzz=true skia_pdf_subset_harfbuzz=true skia_use_system_harfbuzz=false skia_use_sfntly=false skia_enable_skparagraph=true skia_system_freetype2_include_path="/does/not/exist" skia_use_system_libjpeg_turbo=false skia_use_expat=true skia_use_system_expat=false target_os="mac" target_cpu="x86_64" extra_cflags=["-I=/usr/include/freetype2","-I/usr/include/freetype2","-O3","-D__MAC_OS_X_VERSION_MIN_REQUIRED=101200","-D__MAC_OS_X_VERSION_MAX_ALLOWED=101200"]
^----------------
The variable "skia_system_freetype2_include_path" was set as a build argument
but never appeared in a declare_args() block in any buildfile.
To view all possible args, run "gn args --list <out_dir>"
The build continued as if that argument was unspecified.
Done. Made 85 targets from 46 files in 1762ms
ninja: Entering directory `/private/tmp/nix-build-neovide-0.12.2.drv-0/source/target/x86_64-apple-darwin/release/build/skia-bindings-028b4968bec9f26b/out/skia'
[1/1460] stamp obj/android_utils.stamp
[2/1460] stamp obj/avif.stamp
[3/1460] stamp obj/compile_sksl_glsl_nosettings_tests.stamp
[4/1460] stamp obj/compile_sksl_glsl_tests.stamp
[5/1460] stamp obj/compile_sksl_metal_tests.stamp
[6/1460] stamp obj/compile_sksl_spirv_tests.stamp
[7/1460] stamp obj/fontmgr_FontConfigInterface.stamp
[8/1460] stamp obj/fontmgr_android.stamp
[9/1460] stamp obj/fontmgr_custom_directory.stamp
[10/1460] stamp obj/compile_sksl_skrp_tests.stamp
[11/1460] stamp obj/fontmgr_custom_embedded.stamp
[12/1460] stamp obj/fontmgr_fuchsia.stamp
[13/1460] stamp obj/fontmgr_custom_empty.stamp
[14/1460] stamp obj/fontmgr_win.stamp
[15/1460] stamp obj/fontmgr_fontconfig.stamp
[16/1460] stamp obj/fontmgr_win_gdi.stamp
[17/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrAHardwareBufferImageGenerator.cpp
[18/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrAHardwareBufferUtils.cpp
[19/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrBackendSemaphore.cpp
[20/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/ports/SkFontMgr_mac_ct_factory.cpp
[21/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrAuditTrail.cpp
FAILED: obj/src/gpu/ganesh/gpu.GrAuditTrail.o
clang++ -MD -MF obj/src/gpu/ganesh/gpu.GrAuditTrail.o.d -DNDEBUG -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_GL -I../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/7kmpqbnbnmisglihc0acdibxfvksnjc6-SDKs/MacOSX10.12.sdk -O3 -I=/usr/include/freetype2 -I/usr/include/freetype2 -O3 -D__MAC_OS_X_VERSION_MIN_REQUIRED=101200 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrAuditTrail.cpp -o obj/src/gpu/ganesh/gpu.GrAuditTrail.o
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrAuditTrail.cpp:8:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrAuditTrail.h:15:
../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/include/private/base/SkTArray.h:497:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
[22/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrBackendSurface.cpp
[23/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrAttachment.cpp
FAILED: obj/src/gpu/ganesh/gpu.GrAttachment.o
clang++ -MD -MF obj/src/gpu/ganesh/gpu.GrAttachment.o.d -DNDEBUG -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_GL -I../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/7kmpqbnbnmisglihc0acdibxfvksnjc6-SDKs/MacOSX10.12.sdk -O3 -I=/usr/include/freetype2 -I/usr/include/freetype2 -O3 -D__MAC_OS_X_VERSION_MIN_REQUIRED=101200 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrAttachment.cpp -o obj/src/gpu/ganesh/gpu.GrAttachment.o
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrAttachment.cpp:13:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrDataUtils.h:12:
../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/include/private/base/SkTArray.h:497:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
[24/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/ports/SkFontMgr_mac_ct.cpp
[25/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/ports/SkScalerContext_mac_ct.cpp
FAILED: obj/src/ports/fontmgr_mac_ct.SkScalerContext_mac_ct.o
clang++ -MD -MF obj/src/ports/fontmgr_mac_ct.SkScalerContext_mac_ct.o.d -DNDEBUG -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_TYPEFACE_FACTORY_CORETEXT -I../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/7kmpqbnbnmisglihc0acdibxfvksnjc6-SDKs/MacOSX10.12.sdk -O3 -I=/usr/include/freetype2 -I/usr/include/freetype2 -O3 -D__MAC_OS_X_VERSION_MIN_REQUIRED=101200 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/ports/SkScalerContext_mac_ct.cpp -o obj/src/ports/fontmgr_mac_ct.SkScalerContext_mac_ct.o
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/ports/SkScalerContext_mac_ct.cpp:27:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/include/core/SkPathBuilder.h:18:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/include/private/SkPathRef.h:16:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/include/private/SkIDChangeListener.h:13:
../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/include/private/base/SkTArray.h:497:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
[26/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/ports/SkTypeface_mac_ct.cpp
FAILED: obj/src/ports/fontmgr_mac_ct.SkTypeface_mac_ct.o
clang++ -MD -MF obj/src/ports/fontmgr_mac_ct.SkTypeface_mac_ct.o.d -DNDEBUG -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_TYPEFACE_FACTORY_CORETEXT -I../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/7kmpqbnbnmisglihc0acdibxfvksnjc6-SDKs/MacOSX10.12.sdk -O3 -I=/usr/include/freetype2 -I/usr/include/freetype2 -O3 -D__MAC_OS_X_VERSION_MIN_REQUIRED=101200 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/ports/SkTypeface_mac_ct.cpp -o obj/src/ports/fontmgr_mac_ct.SkTypeface_mac_ct.o
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/ports/SkTypeface_mac_ct.cpp:49:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/core/SkTypefaceCache.h:15:
../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/include/private/base/SkTArray.h:497:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
[27/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/Device_drawTexture.cpp
FAILED: obj/src/gpu/ganesh/gpu.Device_drawTexture.o
clang++ -MD -MF obj/src/gpu/ganesh/gpu.Device_drawTexture.o.d -DNDEBUG -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_GL -I../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/7kmpqbnbnmisglihc0acdibxfvksnjc6-SDKs/MacOSX10.12.sdk -O3 -I=/usr/include/freetype2 -I/usr/include/freetype2 -O3 -D__MAC_OS_X_VERSION_MIN_REQUIRED=101200 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/Device_drawTexture.cpp -o obj/src/gpu/ganesh/gpu.Device_drawTexture.o
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/Device_drawTexture.cpp:8:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/Device.h:24:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/core/SkDevice.h:29:
../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/include/private/base/SkTArray.h:497:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
[28/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/ClipStack.cpp
FAILED: obj/src/gpu/ganesh/gpu.ClipStack.o
clang++ -MD -MF obj/src/gpu/ganesh/gpu.ClipStack.o.d -DNDEBUG -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_GL -I../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/7kmpqbnbnmisglihc0acdibxfvksnjc6-SDKs/MacOSX10.12.sdk -O3 -I=/usr/include/freetype2 -I/usr/include/freetype2 -O3 -D__MAC_OS_X_VERSION_MIN_REQUIRED=101200 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/ClipStack.cpp -o obj/src/gpu/ganesh/gpu.ClipStack.o
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/ClipStack.cpp:8:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/ClipStack.h:17:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrClip.h:15:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrAppliedClip.h:11:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrFragmentProcessor.h:16:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/sksl/SkSLString.h:13:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/sksl/SkSLDefines.h:14:
../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/include/private/base/SkTArray.h:497:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
[29/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/Device.cpp
FAILED: obj/src/gpu/ganesh/gpu.Device.o
clang++ -MD -MF obj/src/gpu/ganesh/gpu.Device.o.d -DNDEBUG -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_GL -I../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/7kmpqbnbnmisglihc0acdibxfvksnjc6-SDKs/MacOSX10.12.sdk -O3 -I=/usr/include/freetype2 -I/usr/include/freetype2 -O3 -D__MAC_OS_X_VERSION_MIN_REQUIRED=101200 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/Device.cpp -o obj/src/gpu/ganesh/gpu.Device.o
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/Device.cpp:7:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/Device.h:24:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/core/SkDevice.h:29:
../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/include/private/base/SkTArray.h:497:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
[30/1460] compile ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrBackendTextureImageGenerator.cpp
FAILED: obj/src/gpu/ganesh/gpu.GrBackendTextureImageGenerator.o
clang++ -MD -MF obj/src/gpu/ganesh/gpu.GrBackendTextureImageGenerator.o.d -DNDEBUG -DSK_ENABLE_PRECOMPILE -DSK_ASSUME_GL=1 -DSK_GANESH -DSK_USE_PERFETTO -DSK_ENABLE_API_AVAILABLE -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_GL -I../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -isysroot /nix/store/7kmpqbnbnmisglihc0acdibxfvksnjc6-SDKs/MacOSX10.12.sdk -O3 -I=/usr/include/freetype2 -I/usr/include/freetype2 -O3 -D__MAC_OS_X_VERSION_MIN_REQUIRED=101200 -D__MAC_OS_X_VERSION_MAX_ALLOWED=101200 -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrBackendTextureImageGenerator.cpp -o obj/src/gpu/ganesh/gpu.GrBackendTextureImageGenerator.o
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/src/gpu/ganesh/GrBackendTextureImageGenerator.cpp:9:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/include/gpu/GrDirectContext.h:16:
In file included from ../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/include/gpu/GrRecordingContext.h:15:
../../../../../../../../../../../nix/store/mn6ybbzj7d7sd4va7934pjcq3gwfcww7-source/include/private/base/SkTArray.h:497:49: error: no matching function for call to 'min'
static constexpr int kMaxCapacity = SkToInt(std::min(SIZE_MAX / sizeof(T), (size_t)INT_MAX));
^~~~~~~~
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:40:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long long' vs. 'size_t' (aka 'unsigned long'))
min(const _Tp& __a, const _Tp& __b)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:51:1: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'unsigned long long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:60:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/nix/store/ymw82wxygwr9mia2qnh6a7pbw6jr2rjw-libcxx-16.0.6-dev/include/c++/v1/__algorithm/min.h:31:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 error generated.
ninja: build stopped: subcommand failed.
--- stderr
thread 'main' panicked at /private/tmp/nix-build-neovide-0.12.2.drv-0/neovide-0.12.2-vendor.tar.gz/skia-bindings/build_support/skia/config.rs:355:5:
`ninja` returned an error, please check the output for details.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment