Created
July 21, 2023 14:37
-
-
Save iFreilicht/3767118de68128a59b3468fa9c38f4f0 to your computer and use it in GitHub Desktop.
This gist should help with https://github.com/nix-community/nixd/issues/215
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/nix-community/nixd.git | |
cd nixd | |
nix build -L .# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nixd-nightly> unpacking sources | |
nixd-nightly> unpacking source archive /nix/store/5w9p6k1xdc5aznrwlsphljkk9qy40m2p-5rllifqvrbpapqc59ghlgxv9sw5yps9r-source | |
nixd-nightly> source root is 5rllifqvrbpapqc59ghlgxv9sw5yps9r-source | |
nixd-nightly> patching sources | |
nixd-nightly> updateAutotoolsGnuConfigScriptsPhase | |
nixd-nightly> configuring | |
nixd-nightly> meson flags: --buildtype=release --libdir=/nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/lib --libexecdir=/nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/libexec --bindir=/nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/bin --sbindir=/nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/sbin --includedir=/nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/include --mandir=/nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/share/man --infodir=/nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/share/info --localedir=/nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --prefix=/nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly | |
nixd-nightly> The Meson build system | |
nixd-nightly> Version: 1.1.0 | |
nixd-nightly> Source dir: /private/tmp/nix-build-nixd-nightly.drv-0/5rllifqvrbpapqc59ghlgxv9sw5yps9r-source | |
nixd-nightly> Build dir: /private/tmp/nix-build-nixd-nightly.drv-0/5rllifqvrbpapqc59ghlgxv9sw5yps9r-source/build | |
nixd-nightly> Build type: native build | |
nixd-nightly> Project name: nixd | |
nixd-nightly> Project version: nightly | |
nixd-nightly> C compiler for the host machine: clang (clang 11.1.0 "clang version 11.1.0") | |
nixd-nightly> C linker for the host machine: clang ld64 609 | |
nixd-nightly> C++ compiler for the host machine: clang++ (clang 11.1.0 "clang version 11.1.0") | |
nixd-nightly> C++ linker for the host machine: clang++ ld64 609 | |
nixd-nightly> Host machine cpu family: aarch64 | |
nixd-nightly> Host machine cpu: aarch64 | |
nixd-nightly> Program git found: NO | |
nixd-nightly> Configuring nixd-config.h using configuration | |
nixd-nightly> Found pkg-config: /nix/store/ahyw45h90yq0w4nj2gcy3d7q5lh7kn59-pkg-config-wrapper-0.29.2/bin/pkg-config (0.29.2) | |
nixd-nightly> Run-time dependency GTest found: YES 1.12.1 | |
nixd-nightly> Run-time dependency gtest_main found: YES 1.12.1 | |
nixd-nightly> Did not find CMake 'cmake' | |
nixd-nightly> Found CMake: NO | |
nixd-nightly> llvm-config found: YES (/nix/store/lh4xs8l42pki4q1z0yv8ba5wyklc3jf5-llvm-16.0.1-dev/bin/llvm-config) 16.0.1 | |
nixd-nightly> Run-time dependency LLVM found: YES 16.0.1 | |
nixd-nightly> Run-time dependency Boost found: YES 1.82.0 (/nix/store/9iy4krnn422qb3vjpf2fzywi656pizzh-boost-1.82.0-dev) | |
nixd-nightly> Library backtrace found: YES | |
nixd-nightly> Program lit found: YES (/nix/store/r2hnivwydahgfl6jcrxyladnn0psns5h-python3.10-lit-15.0.6/bin/lit) | |
nixd-nightly> Library nixfetchers found: YES | |
nixd-nightly> Run-time dependency nix-expr found: YES 2.16.1 | |
nixd-nightly> Run-time dependency nix-cmd found: YES 2.16.1 | |
nixd-nightly> Run-time dependency nix-store found: YES 2.16.1 | |
nixd-nightly> Run-time dependency nix-main found: YES 2.16.1 | |
nixd-nightly> Program flex found: YES (/nix/store/vh12749mm3mzi7zq4w541lkakg13d7nm-flex-2.6.4/bin/flex) | |
nixd-nightly> Program bison found: YES (/nix/store/scwaw80mjvq59dwlrpfxdzgf0864ygqv-bison-3.8.2/bin/bison) | |
nixd-nightly> Build targets in project: 13 | |
nixd-nightly> nixd nightly | |
nixd-nightly> User defined options | |
nixd-nightly> auto_features: enabled | |
nixd-nightly> bindir : /nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/bin | |
nixd-nightly> buildtype : release | |
nixd-nightly> includedir : /nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/include | |
nixd-nightly> infodir : /nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/share/info | |
nixd-nightly> libdir : /nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/lib | |
nixd-nightly> libexecdir : /nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/libexec | |
nixd-nightly> localedir : /nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/share/locale | |
nixd-nightly> mandir : /nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/share/man | |
nixd-nightly> prefix : /nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly | |
nixd-nightly> sbindir : /nix/store/xqknzfjbmxasfjsy5g2r76w1kh3xipfs-nixd-nightly/sbin | |
nixd-nightly> wrap_mode : nodownload | |
nixd-nightly> Found ninja-1.11.1 at /nix/store/hvky2qfx8hgzm617ai33ah6nkq10c7dd-ninja-1.11.1/bin/ninja | |
nixd-nightly> meson: enabled parallel building | |
nixd-nightly> meson: enabled parallel installing | |
nixd-nightly> building | |
nixd-nightly> build flags: -j8 | |
nixd-nightly> [1/66] Compiling C++ object lspserver/libnixd-lspserver.dylib.p/src_Logger.cpp.o | |
nixd-nightly> [2/66] Compiling C++ object lspserver/libnixd-lspserver.dylib.p/src_DraftStore.cpp.o | |
nixd-nightly> [3/66] Compiling C++ object lspserver/libnixd-lspserver.dylib.p/src_URI.cpp.o | |
nixd-nightly> [4/66] Compiling C++ object lspserver/libnixd-lspserver.dylib.p/src_SourceCode.cpp.o | |
nixd-nightly> [5/66] Compiling C++ object lspserver/libnixd-lspserver.dylib.p/src_LSPServer.cpp.o | |
nixd-nightly> [6/66] Compiling C++ object lspserver/libnixd-lspserver.dylib.p/src_Connection.cpp.o | |
nixd-nightly> [7/66] Generating nixd/lib/Parser/lexer with a custom command | |
nixd-nightly> ../nixd/lib/Parser/Lexer.l:223: warning, -s option given but default rule can be matched | |
nixd-nightly> [8/66] Generating nixd/lib/Parser/parser with a custom command | |
nixd-nightly> [9/66] Compiling C++ object nixd/lib/Expr/libnixdExpr.dylib.p/Expr.cpp.o | |
nixd-nightly> [10/66] Compiling C++ object nixd/lib/Nix/libnixdNix.dylib.p/Option.cpp.o | |
nixd-nightly> [11/66] Compiling C++ object nixd/lib/Expr/libnixdExpr.dylib.p/Nodes.cpp.o | |
nixd-nightly> [12/66] Compiling C++ object nixd/lib/Nix/libnixdNix.dylib.p/EvalState.cpp.o | |
nixd-nightly> [13/66] Compiling C++ object nixd/lib/Expr/libnixdExpr.dylib.p/CallbackExpr.cpp.o | |
nixd-nightly> [14/66] Linking target nixd/lib/Expr/libnixdExpr.dylib | |
nixd-nightly> [15/66] Compiling C++ object nixd/lib/Nix/libnixdNix.dylib.p/Value.cpp.o | |
nixd-nightly> [16/66] Generating symbol file nixd/lib/Expr/libnixdExpr.dylib.p/libnixdExpr.dylib.symbols | |
nixd-nightly> WARNING: ['nm'] does not work. Relinking will always happen on source changes. | |
nixd-nightly> error: nm: invalid argument -- | |
nixd-nightly> Usage: nm [-agnopruUmxjlfAP[s segname sectname] [-] [-t format] [[-arch <arch_flag>] ...] [file ...] | |
nixd-nightly> [17/66] Linking target nixd/lib/Nix/libnixdNix.dylib | |
nixd-nightly> [18/66] Generating symbol file nixd/lib/Nix/libnixdNix.dylib.p/libnixdNix.dylib.symbols | |
nixd-nightly> [19/66] Compiling C++ object lspserver/libnixd-lspserver.dylib.p/src_Protocol.cpp.o | |
nixd-nightly> [20/66] Compiling C++ object nixd/lib/Parser/libnixdParser.dylib.p/meson-generated_.._Lexer.tab.cpp.o | |
nixd-nightly> [21/66] Linking target lspserver/libnixd-lspserver.dylib | |
nixd-nightly> [22/66] Generating symbol file lspserver/libnixd-lspserver.dylib.p/libnixd-lspserver.dylib.symbols | |
nixd-nightly> [23/66] Compiling C++ object nixd/lib/AST/libnixdAST.dylib.p/meson-generated_.._.._Parser_Lexer.tab.cpp.o | |
nixd-nightly> [24/66] Compiling C++ object nixd/lib/AST/libnixdAST.dylib.p/EvalAST.cpp.o | |
nixd-nightly> [25/66] Compiling C++ object nixd/lib/Support/libnixdSupport.dylib.p/meson-generated_.._.._Parser_Lexer.tab.cpp.o | |
nixd-nightly> [26/66] Compiling C++ object nixd/lib/Support/libnixdSupport.dylib.p/JSONSerialization.cpp.o | |
nixd-nightly> [27/66] Compiling C++ object nixd/lib/AST/libnixdAST.dylib.p/ParseAST.cpp.o | |
nixd-nightly> [28/66] Compiling C++ object nixd/lib/Parser/libnixdParser.dylib.p/meson-generated_.._Parser.tab.cpp.o | |
nixd-nightly> [29/66] Compiling C++ object nixd/lib/Support/libnixdSupport.dylib.p/Diagnostic.cpp.o | |
nixd-nightly> [30/66] Linking target nixd/lib/Parser/libnixdParser.dylib | |
nixd-nightly> [31/66] Generating symbol file nixd/lib/Parser/libnixdParser.dylib.p/libnixdParser.dylib.symbols | |
nixd-nightly> [32/66] Compiling C++ object nixd/lib/Server/libnixdServer.dylib.p/meson-generated_.._.._Parser_Lexer.tab.cpp.o | |
nixd-nightly> [33/66] Compiling C++ object nixd/lib/AST/libnixdAST.dylib.p/meson-generated_.._.._Parser_Parser.tab.cpp.o | |
nixd-nightly> [34/66] Linking target nixd/lib/AST/libnixdAST.dylib | |
nixd-nightly> [35/66] Generating symbol file nixd/lib/AST/libnixdAST.dylib.p/libnixdAST.dylib.symbols | |
nixd-nightly> [36/66] Compiling C++ object nixd/lib/Support/libnixdSupport.dylib.p/meson-generated_.._.._Parser_Parser.tab.cpp.o | |
nixd-nightly> [37/66] Linking target nixd/lib/Support/libnixdSupport.dylib | |
nixd-nightly> [38/66] Generating symbol file nixd/lib/Support/libnixdSupport.dylib.p/libnixdSupport.dylib.symbols | |
nixd-nightly> [39/66] Compiling C++ object nixd/lib/Server/libnixdServer.dylib.p/ASTManager.cpp.o | |
nixd-nightly> [40/66] Compiling C++ object nixd/lib/Server/libnixdServer.dylib.p/EvalDraftStore.cpp.o | |
nixd-nightly> [41/66] Compiling C++ object nixd/lib/Server/libnixdServer.dylib.p/meson-generated_.._.._Parser_Parser.tab.cpp.o | |
nixd-nightly> [42/66] Compiling C++ object nixd/tools/nix-ast-dump/nix-ast-dump.p/meson-generated_.._.._.._lib_Parser_Lexer.tab.cpp.o | |
nixd-nightly> [43/66] Compiling C++ object nixd/lib/Server/libnixdServer.dylib.p/Nix.cpp.o | |
nixd-nightly> [44/66] Compiling C++ object nixd/tools/nix-ast-dump/nix-ast-dump.p/nix-ast-dump.cpp.o | |
nixd-nightly> [45/66] Compiling C++ object nixd/lib/Server/libnixdServer.dylib.p/Eval.cpp.o | |
nixd-nightly> [46/66] Compiling C++ object nixd/tools/nixd/nixd.p/meson-generated_.._.._.._lib_Parser_Lexer.tab.cpp.o | |
nixd-nightly> [47/66] Compiling C++ object nixd/lib/Server/libnixdServer.dylib.p/Option.cpp.o | |
nixd-nightly> [48/66] Compiling C++ object nixd/tools/nix-ast-dump/nix-ast-dump.p/meson-generated_.._.._.._lib_Parser_Parser.tab.cpp.o | |
nixd-nightly> [49/66] Compiling C++ object nixd/tools/nixd-ast-dump/nixd-ast-dump.p/meson-generated_.._.._.._lib_Parser_Lexer.tab.cpp.o | |
nixd-nightly> [50/66] Compiling C++ object nixd/test-server.p/meson-generated_.._lib_Parser_Lexer.tab.cpp.o | |
nixd-nightly> [51/66] Compiling C++ object nixd/tools/nixd-ast-dump/nixd-ast-dump.p/nixd-ast-dump.cpp.o | |
nixd-nightly> [52/66] Compiling C++ object nixd/tools/nixd/nixd.p/meson-generated_.._.._.._lib_Parser_Parser.tab.cpp.o | |
nixd-nightly> [53/66] Compiling C++ object nixd/tools/nixd/nixd.p/nixd.cpp.o | |
nixd-nightly> [54/66] Compiling C++ object nixd/tools/nixd-ast-dump/nixd-ast-dump.p/meson-generated_.._.._.._lib_Parser_Parser.tab.cpp.o | |
nixd-nightly> [55/66] Compiling C++ object nixd/test-server.p/test_ast.cpp.o | |
nixd-nightly> [56/66] Compiling C++ object nixd/test-server.p/test_expr.cpp.o | |
nixd-nightly> [57/66] Compiling C++ object nixd/test-server.p/test_evalDraftStore.cpp.o | |
nixd-nightly> [58/66] Compiling C++ object nixd/test-server.p/test_parser.cpp.o | |
nixd-nightly> [59/66] Compiling C++ object nixd/test-server.p/meson-generated_.._lib_Parser_Parser.tab.cpp.o | |
nixd-nightly> [60/66] Compiling C++ object nixd/lib/Server/libnixdServer.dylib.p/Controller.cpp.o | |
nixd-nightly> [61/66] Linking target nixd/lib/Server/libnixdServer.dylib | |
nixd-nightly> [62/66] Generating symbol file nixd/lib/Server/libnixdServer.dylib.p/libnixdServer.dylib.symbols | |
nixd-nightly> [63/66] Linking target nixd/tools/nixd/nixd | |
nixd-nightly> [64/66] Linking target nixd/tools/nixd-ast-dump/nixd-ast-dump | |
nixd-nightly> [65/66] Linking target nixd/tools/nix-ast-dump/nix-ast-dump | |
nixd-nightly> [66/66] Linking target nixd/test-server | |
nixd-nightly> running tests | |
nixd-nightly> ninja: no work to do. | |
nixd-nightly> ninja: Entering directory `/private/tmp/nix-build-nixd-nightly.drv-0/5rllifqvrbpapqc59ghlgxv9sw5yps9r-source/build' | |
nixd-nightly> ninja: no work to do. | |
nixd-nightly> 1/2 regression/nix-ast-dump OK 0.65s | |
nixd-nightly> 2/2 server FAIL 1.27s exit status 1 | |
nixd-nightly> >>> MALLOC_PERTURB_=83 /private/tmp/nix-build-nixd-nightly.drv-0/5rllifqvrbpapqc59ghlgxv9sw5yps9r-source/build/nixd/test-server | |
nixd-nightly> ✀ | |
nixd-nightly> stdout: | |
nixd-nightly> Running main() from /tmp/nix-build-gtest-1.12.1.drv-0/source/googletest/src/gtest_main.cc | |
nixd-nightly> [==========] Running 13 tests from 4 test suites. | |
nixd-nightly> [----------] Global test environment set-up. | |
nixd-nightly> [----------] 2 tests from AST | |
nixd-nightly> [ RUN ] AST.lookupEnd | |
nixd-nightly> [ OK ] AST.lookupEnd (0 ms) | |
nixd-nightly> [ RUN ] AST.lookupContainMin | |
nixd-nightly> [ OK ] AST.lookupContainMin (0 ms) | |
nixd-nightly> [----------] 2 tests from AST (1 ms total) | |
nixd-nightly> [----------] 3 tests from EvalDraftStore | |
nixd-nightly> [ RUN ] EvalDraftStore.NoError | |
nixd-nightly> [ OK ] EvalDraftStore.NoError (20 ms) | |
nixd-nightly> [ RUN ] EvalDraftStore.IgnoreParseError | |
nixd-nightly> [ OK ] EvalDraftStore.IgnoreParseError (1 ms) | |
nixd-nightly> [ RUN ] EvalDraftStore.TransferInjectionError | |
nixd-nightly> [ OK ] EvalDraftStore.TransferInjectionError (1 ms) | |
nixd-nightly> [----------] 3 tests from EvalDraftStore (23 ms total) | |
nixd-nightly> [----------] 6 tests from Expr | |
nixd-nightly> [ RUN ] Expr.Visitor1 | |
nixd-nightly> unknown file: Failure | |
nixd-nightly> C++ exception with description "error: cannot set alternative stack: Operation not permitted" thrown in the test body. | |
nixd-nightly> [ FAILED ] Expr.Visitor1 (0 ms) | |
nixd-nightly> [ RUN ] Expr.Visitor2 | |
nixd-nightly> unknown file: Failure | |
nixd-nightly> C++ exception with description "error: cannot set alternative stack: Operation not permitted" thrown in the test body. | |
nixd-nightly> [ FAILED ] Expr.Visitor2 (0 ms) | |
nixd-nightly> [ RUN ] Expr.CallbackRewrite | |
nixd-nightly> unknown file: Failure | |
nixd-nightly> C++ exception with description "error: cannot set alternative stack: Operation not permitted" thrown in the test body. | |
nixd-nightly> [ FAILED ] Expr.CallbackRewrite (0 ms) | |
nixd-nightly> [ RUN ] Expr.ParentMapLetSearch | |
nixd-nightly> unknown file: Failure | |
nixd-nightly> C++ exception with description "error: cannot set alternative stack: Operation not permitted" thrown in the test body. | |
nixd-nightly> [ FAILED ] Expr.ParentMapLetSearch (0 ms) | |
nixd-nightly> [ RUN ] Expr.ParentMapRecSearch | |
nixd-nightly> unknown file: Failure | |
nixd-nightly> C++ exception with description "error: cannot set alternative stack: Operation not permitted" thrown in the test body. | |
nixd-nightly> [ FAILED ] Expr.ParentMapRecSearch (0 ms) | |
nixd-nightly> [ RUN ] Expr.ParentMapLetNested | |
nixd-nightly> unknown file: Failure | |
nixd-nightly> C++ exception with description "error: cannot set alternative stack: Operation not permitted" thrown in the test body. | |
nixd-nightly> [ FAILED ] Expr.ParentMapLetNested (0 ms) | |
nixd-nightly> [----------] 6 tests from Expr (0 ms total) | |
nixd-nightly> [----------] 2 tests from Parser | |
nixd-nightly> [ RUN ] Parser.Basic | |
nixd-nightly> unknown file: Failure | |
nixd-nightly> C++ exception with description "error: cannot set alternative stack: Operation not permitted" thrown in the test body. | |
nixd-nightly> [ FAILED ] Parser.Basic (0 ms) | |
nixd-nightly> [ RUN ] Parser.parse1 | |
nixd-nightly> [ OK ] Parser.parse1 (0 ms) | |
nixd-nightly> [----------] 2 tests from Parser (0 ms total) | |
nixd-nightly> [----------] Global test environment tear-down | |
nixd-nightly> [==========] 13 tests from 4 test suites ran. (25 ms total) | |
nixd-nightly> [ PASSED ] 6 tests. | |
nixd-nightly> [ FAILED ] 7 tests, listed below: | |
nixd-nightly> [ FAILED ] Expr.Visitor1 | |
nixd-nightly> [ FAILED ] Expr.Visitor2 | |
nixd-nightly> [ FAILED ] Expr.CallbackRewrite | |
nixd-nightly> [ FAILED ] Expr.ParentMapLetSearch | |
nixd-nightly> [ FAILED ] Expr.ParentMapRecSearch | |
nixd-nightly> [ FAILED ] Expr.ParentMapLetNested | |
nixd-nightly> [ FAILED ] Parser.Basic | |
nixd-nightly> 7 FAILED TESTS | |
nixd-nightly> stderr: | |
nixd-nightly> evaluation on installable , requested depth: 0 | |
nixd-nightly> Summary of Failures: | |
nixd-nightly> 2/2 server FAIL 1.27s exit status 1 | |
nixd-nightly> Ok: 1 | |
nixd-nightly> Expected Fail: 0 | |
nixd-nightly> Fail: 1 | |
nixd-nightly> Unexpected Pass: 0 | |
nixd-nightly> Skipped: 0 | |
nixd-nightly> Timeout: 0 | |
nixd-nightly> Full log written to /private/tmp/nix-build-nixd-nightly.drv-0/5rllifqvrbpapqc59ghlgxv9sw5yps9r-source/build/meson-logs/testlog.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment