GithubHelp home page GithubHelp logo

awakesecurity / grpc-haskell Goto Github PK

View Code? Open in Web Editor NEW
234.0 234.0 73.0 16.01 MB

Haskell gRPC support

Home Page: https://hackage.haskell.org/package/grpc-haskell

License: Apache License 2.0

Haskell 82.20% Shell 0.76% C 8.52% Nix 6.91% Python 1.61%

grpc-haskell's People

Contributors

aloiscochard avatar cj-bc avatar clavoie-takt avatar cocreature avatar crclark avatar devwout avatar evanrelf avatar friede80 avatar fumieval avatar gabriella439 avatar gbaz avatar haskie-lambda avatar intractable avatar ixmatus avatar j6carey avatar jsoo1 avatar manojpramesh avatar ndcroos avatar nodew avatar riz0id avatar rkaippully avatar ryan4729 avatar taktoa avatar tathougies avatar teh avatar tmcgilchrist avatar tristancacqueray avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grpc-haskell's Issues

Document why `ServerReaderResponse` takes a `Maybe response`

I just came across this and can't remember why it's optional to return a response message to a client streaming RPC.

The gRPC docs don't mention that the server's response message is optional. It seems to me that either both unary and client streaming responses should be optional, or neither should be optional.

Either way, it should be documented.

Is the library thread-safe?

I read the following in the core gRPC header (grpc/grpc.h):

THREAD SAFETY: access to grpc_call_start_batch in multi-threaded environment
needs to be synchronized. As an optimization, you may synchronize batches
containing just send operations independently from batches containing just
receive operations

But I haven't noticed such precautions being taken while (briefly) reading the code of grpc-haskell. So my question is: is the library thread-safe, i.e. can all high-level functions (like making requests, etc.) be used without any synchronization?

Thanks.

Create an experience report

Create a document to help people learn enough to use and contribute to the grpc-haskell library. This would include lessons learned and an overview of how gRPC works. Cover high level gRPC concepts, the C library, the low-level interface of our library, and perhaps some examples

Originally opened as an internal issue by: @crclark

grpc/grpc.h not found in Nix shell

I couldn't get your workflow to work with cabal. I get the following:

$ nix-shell release.nix -A grpc-haskell.env
these derivations will be built:
  /nix/store/s0f8xkwhy6v4bbcil2wh42s1zr2dy3hk-grpc-haskell-0.0.0.0.drv
  /nix/store/9kvji52yvy20idxnykb5n9p2p2ansv65-ghc-8.0.2-with-packages.drv
building path(s) ‘/nix/store/gpdjv3cz1550s8q0cskagk59n065rzkb-grpc-haskell-0.0.0.0’
[lots of build info…]
$ cabal configure --with-gcc=clang --enable-tests -v3
[lots of output…]
("/usr/bin/clang",["-fno-stack-protector","/run/user/1000/336465782861021530.c","-o","/run/user/1000/278722862233665123","-E","-D__GLASGOW_HASKELL__=800","-Dlinux_BUILD_OS=1","-Dx86_64_BUILD_ARCH=1","-Dlinux_HOST_OS=1","-Dx86_64_HOST_ARCH=1","-Idist/build/autogen","-Iinclude","-I.","-std=c99","-I/nix/store/6br4gxw0vm4a74p2a0dv24khh8hfpy0k-unix-compat-0.4.3.1/lib/ghc-8.0.2/unix-compat-0.4.3.1/include","-I/nix/store/hg0ppf88q1rw0q7x3zqhlxbnviq0ddcg-ghc-8.0.2/lib/ghc-8.0.2/process-1.4.3.0/include","-I/nix/store/hg0ppf88q1rw0q7x3zqhlxbnviq0ddcg-ghc-8.0.2/lib/ghc-8.0.2/directory-1.3.0.0/include","-I/nix/store/6i8n3y5jmh53hql5bqr79r4wxbk7hm2n-vector-0.11.0.0/lib/ghc-8.0.2/vector-0.11.0.0/include","-I/nix/store/hg0ppf88q1rw0q7x3zqhlxbnviq0ddcg-ghc-8.0.2/lib/ghc-8.0.2/unix-2.7.2.1/include","-I/nix/store/hg0ppf88q1rw0q7x3zqhlxbnviq0ddcg-ghc-8.0.2/lib/ghc-8.0.2/bytestring-0.10.8.1/include","-I/nix/store/mhf2hjlb2644lw2f2y6iv91kqwnvw07s-primitive-0.6.1.0/lib/ghc-8.0.2/primitive-0.6.1.0/include","-I/nix/store/hg0ppf88q1rw0q7x3zqhlxbnviq0ddcg-ghc-8.0.2/lib/ghc-8.0.2/time-1.6.0.1/include","-I/nix/store/hg0ppf88q1rw0q7x3zqhlxbnviq0ddcg-ghc-8.0.2/lib/ghc-8.0.2/base-4.9.1.0/include","-I/nix/store/c82hj05bwbyp20pn433c7x0l8yp3bw3w-gmp-6.1.1-dev/include","-I/nix/store/hg0ppf88q1rw0q7x3zqhlxbnviq0ddcg-ghc-8.0.2/lib/ghc-8.0.2/integer-gmp-1.0.0.1/include","-I/nix/store/hg0ppf88q1rw0q7x3zqhlxbnviq0ddcg-ghc-8.0.2/lib/ghc-8.0.2/include"])
/usr/bin/clang returned ExitFailure 1 with error message:
In file included from /run/user/1000/336465782861021530.c:1:
./include/grpc_haskell.h:4:10: fatal error: 'grpc/grpc.h' file not found
#include <grpc/grpc.h>
^~~~~~~~~~~~~
1 error generated.
cabal: Missing dependency on a foreign library:
* Missing (or bad) header file: include/grpc_haskell.h
* Missing C library: grpc
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
If the header file does exist, it may contain errors that are caught by the C
compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.

I checked, grpc is in my Nix store and it has the include grpc/grpc.h. But Cabal does not seem able to see it.

Missing (or bad) header file: include/grpc_haskell.h

I'm getting the following:

[nix-shell:/mnt]# cabal build
Build profile: -w ghc-8.6.5 -O1
In order, the following will be built (use -v for more details):
 - grpc-haskell-core-0.0.0.0 (lib) (first run)
 - grpc-haskell-0.0.1.0 (lib) (first run)
Configuring library for grpc-haskell-core-0.0.0.0..
cabal: Missing dependencies on foreign libraries:
* Missing (or bad) header file: include/grpc_haskell.h
* Missing (or bad) C libraries: grpc, gpr

Context: I'm trying to build this on MacOS and hence (post the MacOS Catalina debacle) running in Docker for Mac. I've had to make the following change (as per #59) to disable tests as some of them try to create ipv6 localhost sockets and that doesn't seem to be supported on docker for Mac

diff --git a/release.nix b/release.nix
index 34fa7f0..199f255 100644
--- a/release.nix
+++ b/release.nix
@@ -204,10 +204,13 @@ let
               (haskellPackagesNew.callPackage ./nix/proto3-suite.nix {});
 
           grpc-haskell-core =
-            pkgs.haskell.lib.buildFromSdist (usesGRPC
-              (pkgs.haskell.lib.overrideCabal
-                (haskellPackagesNew.callPackage ./core { })
-                (_: { buildDepends = [ haskellPackagesNew.c2hs ]; })));
+            usesGRPC (pkgs.haskell.lib.dontCheck (haskellPackagesNew.callPackage ./core { }));
+
+          #grpc-haskell-core =
+          #  pkgs.haskell.lib.buildFromSdist (usesGRPC
+          #    (pkgs.haskell.lib.overrideCabal
+          #      (haskellPackagesNew.callPackage ./core { })
+          #      (_: { buildDepends = [ haskellPackagesNew.c2hs ]; })));
 
           grpc-haskell-no-tests =
             pkgs.haskell.lib.buildFromSdist (usesGRPC

Following that, the steps to reproduce are the following (from the root dir of a clone of this repo):

docker run --rm -ti -v $PWD:/mnt nixos/nix:2.3 sh
cd /mnt
nix-env -i curl cabal-install #cabal seems to be broken otherwise as it will try to use busybox wget
cabal update
nix-shell release.nix -A grpc-haskell-no-tests.env
cabal configure
cabal build

Sorry, that's a lot of text! But should give full steps to reproduce. I'm afraid my nix knowledge is still a little lacking so for my own edification: will the above result in cabal using haskell packages provided by nix rather than from hackage? Obviously that is normally what we want when using nix but I wasn't clear on how the cabal nix-support works

Unable to compile tests

after running:

nix-shell release.nix -A grpc-haskell.env
[nix-shell]$ stack build --fast && stack test --fast

I got the output:

/nix/store/p6wcdqa2ks82xq7d4d5019drrjxlqrdj-binutils-2.27/bin/ld generated: undefined reference to `gpr_free'
/nix/store/p6wcdqa2ks82xq7d4d5019drrjxlqrdj-binutils-2.27/bin/ld generated: undefined reference to `gpr_inf_future'
/nix/store/p6wcdqa2ks82xq7d4d5019drrjxlqrdj-binutils-2.27/bin/ld generated: undefined reference to `gpr_convert_clock_type'
/nix/store/p6wcdqa2ks82xq7d4d5019drrjxlqrdj-binutils-2.27/bin/ld generated: undefined reference to `gpr_time_from_micros'
/nix/store/p6wcdqa2ks82xq7d4d5019drrjxlqrdj-binutils-2.27/bin/ld generated: undefined reference to `gpr_now'
/nix/store/p6wcdqa2ks82xq7d4d5019drrjxlqrdj-binutils-2.27/bin/ld generated: undefined reference to `gpr_time_add'
/nix/store/p6wcdqa2ks82xq7d4d5019drrjxlqrdj-binutils-2.27/bin/ld generated: undefined reference to `gpr_time_from_millis'
/nix/store/p6wcdqa2ks82xq7d4d5019drrjxlqrdj-binutils-2.27/bin/ld generated: undefined reference to `gpr_time_to_millis'
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
Progress: 1/2
--  While building custom Setup.hs for package grpc-haskell-0.0.0.0 using:
      /home/isheff/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.24.2.0 build lib:grpc-haskell test:tests --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1

I got a similar error by installing grpc 1.2 outside of nix entirely and running:

stack build --flag grpc-haskell:with-examples

Am I doing something wrong? I don't understand where these gpr references are coming from.

(for what it's worth, this was using commit 19125b42beaf9bfd053e489055c5a7c2edd78552 .)

Deadlock with two communicating endpoints

I'm trying to use gRPC to implement endpoints that can both receive and send streams of ByteStrings (i.e. Streams from the streaming library). Each endpoint is a gRPC Server and creates a new Client whenever it needs to send a stream of messages.

As I couldn't fit your high-level API to my needs, I used the lower-level bindings. However, I get a strange deadlock when trying to make two endpoints communicate. The "server" blocks on serverRequestCall while the "client" blocks on recvInitialMetadata.

I am not sure I used your bindings exactly right. Here is a minimal example that reproduces my bug : https://gist.github.com/OlivierNicole/bccf2d7c4306a93a869bf0521e4c952b .

The output with debug activated is:

[ThreadId 5]: startServer: server CQ: CompletionQueue 0x00007f05280018c0
[ThreadId 6]: startServer: server CQ: CompletionQueue 0x00007f0520001b40
server started.
server started.
receive: called.
[ThreadId 6]: serverRequestCall(R): got pluck permission, registering call for tag=Tag {unTag = 0x8000000000000000}
client created.
[ThreadId 5]: channelCreateCall: call with Channel 0x00007f0520002480 Call 0x0000000000000000 PropagationMask {unPropagationMask = 65535} CompletionQueue 0x00007f0520002c70 CallHandle {unCallHandle = 0x00007f0520000bf0} 0x00007f0520000bd0
[ThreadId 6]: pluck: blocking on grpc_completion_queue_pluck for tag=Tag {unTag = 0x8000000000000000}
[ThreadId 5]: runOps: allocated op contexts: [OpSendInitialMetadataContext (MetadataKeyValPtr 0x00007f0520000bd0) 0]
[ThreadId 5]: runOps: tag: Tag {unTag = 0x8000000000000000}
[ThreadId 5]: startBatch: calling grpc_call_start_batch with pointers: Call 0x00007f0520002eb0 OpArray 0x00007f0520002330
[ThreadId 5]: startBatch: grpc_call_start_batch call returned.
[ThreadId 5]: runOps: called start_batch. callError: Right ()
[ThreadId 5]: pluck: called with tag=Tag {unTag = 0x8000000000000000},mwait=Nothing
[ThreadId 5]: pluck: blocking on grpc_completion_queue_pluck for tag=Tag {unTag = 0x8000000000000000}
[ThreadId 5]: pluck finished: Event {eventCompletionType = OpComplete, eventSuccess = True, eventTag = Tag {unTag = 0x8000000000000000}}
[ThreadId 5]: runOps: pluck returned Right ()
[ThreadId 5]: runOps: got good op; starting.
[ThreadId 5]: resultFromOpContext: saw non-result op type.
client sent initial metadadata.
send: receiveLock taken.
[ThreadId 5]: runOps: allocated op contexts: [OpRecvInitialMetadataContext 0x00007f0520000bd0]
[ThreadId 5]: runOps: tag: Tag {unTag = 0x8000000000000001}
[ThreadId 5]: startBatch: calling grpc_call_start_batch with pointers: Call 0x00007f0520002eb0 OpArray 0x00007f0520002330
[ThreadId 5]: startBatch: grpc_call_start_batch call returned.
[ThreadId 5]: runOps: called start_batch. callError: Right ()
[ThreadId 5]: pluck: called with tag=Tag {unTag = 0x8000000000000001},mwait=Nothing
[ThreadId 5]: pluck: blocking on grpc_completion_queue_pluck for tag=Tag {unTag = 0x8000000000000001}

[[ hangs forever... ]]

Is there an obvious mistake that I have made ? (I am particularly unsure about the way I do metadata exchange).

Making this work in nixpkgs

I've noticed grpc-haskell and loads of downstream deps are broken in nixpkgs master.

However since it is working here, it should be possible to make it work in nixpkgs as well.

First was proto3-wire which had an older version, fixed by overriding with a custom derivation pointing to the 1.2.0.

Second thing was parameterized. It was fixed by disabling tests: louispan/parameterized#2

Third thing was proto3-suite with 1 test failure due to a missing test file. Fixed by disabling tests.

But finally there's some C compilation issues. We can see alot of changes in release.nix but, not sure what is causing the C issues here.

Why not push up the specific overlays here to nixpkgs upstream so that grpc-haskell can work cleanly?

Document streaming modes

The streaming mode operations (clientRW, serverReader, etc.) need better documentation, especially pertaining to use in concurrent scenarios

Originally opened as an internal issue by: @intractable

How to disable tests when doing "nix-shell release.nix -A grpc-haskell.env"

Hi,

I am trying to get this library to work with the lates grpc release, but I need to debug a SIGSEGV.

I'd like to go into a nix-shell and mess around with things, but nix-shell will fail because the unit tests SIGSEGV.

How would I disable the unit tests when starting the nix-shell?

I'm not familiar with Nix. I only know the basic concepts to some extent.
Any help is appreciated. Sorry if this is the wrong place to post.

Crashes with read/takeMVar after withServer

In the following 50-line code: https://gist.github.com/OlivierNicole/945da49f0ab6e2e7d5cdbd53eaeaa44a

When I comment out the MVar-related lines, it works fine. But when I leave them in the code, it crashes once out of two with an undocumented silent segmentation fault and about once every 50 executions with the following backtrace: https://gist.github.com/OlivierNicole/2ea96e27ecff16de5df535d4710d36ad (working is the name of my executable).

Have you ever seen this kind of issue? How can a simple readMVar affect my code like this? It doesn't happen with tryReadMVar.

Thanks.

grpc build fails when using nix-channel 17.09

I have a Haskell project being built with nix, which depends on gRPC-haskell.
It can be built with nix-channel 17.03, the build fails with 17.09 and this nix file.
https://github.com/awakesecurity/gRPC-haskell/blob/f0925d5b5f4dff79d5f09d4a4aebc3babd9f1495/nix/grpc.nix

We get this error: grpc/grpc#6925

and I noticed Gabriel's comment.

But I got another error about the linker, which claims ld has no -pthread option.
`

Finally, I changed nix file to as below, then build succeeds.

{ pkgs, stdenv, lib, fetchgit, autoconf, automake, libtool, which, zlib, openssl
}:

stdenv.mkDerivation rec {
  name    = "grpc-${version}";
  version = "1.2.0-${lib.strings.substring 0 7 rev}";
  rev     = "e2cfe9df79c4eda4e376222df064c4c65e616352";
  src = fetchgit {
    inherit rev;
    url    = "https://github.com/grpc/grpc.git";
    sha256 = "19ldbjlnbc287hkaylsigm8w9fai2bjdbfxk6315kl75cq54iprr";
  };
  makeFlags = [ "prefix=$(out)" "AROPTS=rcs" "LD=gcc"];
  buildInputs =
    (if stdenv.isDarwin then [ pkgs.darwin.cctools ] else []) ++ [
    autoconf
    automake
    libtool
    which
    zlib
    openssl
  ];
}

[grpc-haskell-core] Compilation error with gRPC 1.27.1

Hi!

Below is the environment that fails to build grpc-haskell-core against gRPC 1.27.1 (MacOS Catalina)

Nix shell:

{ pkgs ? import (builtins.fetchGit {
    # https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs

    # Descriptive name to make the store path easier to identify
    name = "nixpkgs-2020-02-22";

    url = https://github.com/NixOS/nixpkgs-channels/;

    # Commit hash for nixos-unstable as of 2020-01-06
    # `git ls-remote https://github.com/nixos/nixpkgs-channels nixos-unstable`
    # or
    # `git ls-remote https://github.com/nixos/nixpkgs master`
    ref = "refs/heads/nixpkgs-unstable";

    rev = "f098b0dd2cdc008711938272b3d622cb55131706";
}) {}}:

with pkgs;

let
    haskellTools = haskell.packages.ghc865.ghcWithPackages (
        haskellPkgs: with haskellPkgs; [
            # tools
            cabal-install
        ]
    );

in

mkShell {
    buildInputs = [
        haskellTools
        zlib
        grpc
    ];
}

A cabal project that depends on grpc-haskell ^>= 0.0.1.0 fails at build:

cabal v2-build all
Build profile: -w ghc-8.6.5 -O1
In order, the following will be built (use -v for more details):
 - grpc-haskell-core-0.0.0.0 (lib) (requires build)
 - grpc-haskell-0.0.1.0 (lib) (requires build)
Starting     grpc-haskell-core-0.0.0.0 (lib)
Building     grpc-haskell-core-0.0.0.0 (lib)

Failed to build grpc-haskell-core-0.0.0.0.
Build log (
/Users/ghostwriter/.cabal/logs/ghc-8.6.5/grpc-hskll-cr-0.0.0.0-73aa3bef.log ):
Configuring library for grpc-haskell-core-0.0.0.0..
Preprocessing library for grpc-haskell-core-0.0.0.0..
Building library for grpc-haskell-core-0.0.0.0..
[ 1 of 21] Compiling Network.GRPC.Unsafe.ChannelArgs ( dist/build/Network/GRPC/Unsafe/ChannelArgs.hs, dist/build/Network/GRPC/Unsafe/ChannelArgs.o )
[ 2 of 21] Compiling Network.GRPC.Unsafe.Constants ( dist/build/Network/GRPC/Unsafe/Constants.hs, dist/build/Network/GRPC/Unsafe/Constants.o )
[ 3 of 21] Compiling Network.GRPC.Unsafe.Slice ( dist/build/Network/GRPC/Unsafe/Slice.hs, dist/build/Network/GRPC/Unsafe/Slice.o )
[ 4 of 21] Compiling Network.GRPC.Unsafe.Metadata ( dist/build/Network/GRPC/Unsafe/Metadata.hs, dist/build/Network/GRPC/Unsafe/Metadata.o )
[ 5 of 21] Compiling Network.GRPC.Unsafe.ByteBuffer ( dist/build/Network/GRPC/Unsafe/ByteBuffer.hs, dist/build/Network/GRPC/Unsafe/ByteBuffer.o )
[ 6 of 21] Compiling Network.GRPC.Unsafe.Op ( dist/build/Network/GRPC/Unsafe/Op.hs, dist/build/Network/GRPC/Unsafe/Op.o )
[ 7 of 21] Compiling Network.GRPC.Unsafe.Time ( dist/build/Network/GRPC/Unsafe/Time.hs, dist/build/Network/GRPC/Unsafe/Time.o )
[ 8 of 21] Compiling Network.GRPC.Unsafe ( dist/build/Network/GRPC/Unsafe.hs, dist/build/Network/GRPC/Unsafe.o )
[ 9 of 21] Compiling Network.GRPC.Unsafe.Security ( dist/build/Network/GRPC/Unsafe/Security.hs, dist/build/Network/GRPC/Unsafe/Security.o )
ld: warning: /nix/store/342k9dbmxlvzd6wksjcv0hgqyfgj3q2k-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
ld: warning: /nix/store/342k9dbmxlvzd6wksjcv0hgqyfgj3q2k-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[10 of 21] Compiling Network.GRPC.LowLevel.GRPC ( src/Network/GRPC/LowLevel/GRPC.hs, dist/build/Network/GRPC/LowLevel/GRPC.o )
[11 of 21] Compiling Network.GRPC.LowLevel.CompletionQueue.Internal ( src/Network/GRPC/LowLevel/CompletionQueue/Internal.hs, dist/build/Network/GRPC/LowLevel/CompletionQueue/Internal.o )
[12 of 21] Compiling Network.GRPC.LowLevel.Call ( src/Network/GRPC/LowLevel/Call.hs, dist/build/Network/GRPC/LowLevel/Call.o )
[13 of 21] Compiling Network.GRPC.LowLevel.CompletionQueue ( src/Network/GRPC/LowLevel/CompletionQueue.hs, dist/build/Network/GRPC/LowLevel/CompletionQueue.o )
[14 of 21] Compiling Network.GRPC.LowLevel.Op ( src/Network/GRPC/LowLevel/Op.hs, dist/build/Network/GRPC/LowLevel/Op.o )
[15 of 21] Compiling Network.GRPC.LowLevel.Server ( src/Network/GRPC/LowLevel/Server.hs, dist/build/Network/GRPC/LowLevel/Server.o )
[16 of 21] Compiling Network.GRPC.LowLevel.Client ( src/Network/GRPC/LowLevel/Client.hs, dist/build/Network/GRPC/LowLevel/Client.o )
[17 of 21] Compiling Network.GRPC.LowLevel.Call.Unregistered ( src/Network/GRPC/LowLevel/Call/Unregistered.hs, dist/build/Network/GRPC/LowLevel/Call/Unregistered.o )
[18 of 21] Compiling Network.GRPC.LowLevel.CompletionQueue.Unregistered ( src/Network/GRPC/LowLevel/CompletionQueue/Unregistered.hs, dist/build/Network/GRPC/LowLevel/CompletionQueue/Unregistered.o )
[19 of 21] Compiling Network.GRPC.LowLevel.Server.Unregistered ( src/Network/GRPC/LowLevel/Server/Unregistered.hs, dist/build/Network/GRPC/LowLevel/Server/Unregistered.o )
[20 of 21] Compiling Network.GRPC.LowLevel.Client.Unregistered ( src/Network/GRPC/LowLevel/Client/Unregistered.hs, dist/build/Network/GRPC/LowLevel/Client/Unregistered.o )
[21 of 21] Compiling Network.GRPC.LowLevel ( src/Network/GRPC/LowLevel.hs, dist/build/Network/GRPC/LowLevel.o )

cbits/grpc_haskell.c:533:68: error:
     error: too few arguments to function call, expected 3, have 2
      return grpc_metadata_credentials_create_from_plugin(*plugin, NULL);
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ^
    |
533 |   return grpc_metadata_credentials_create_from_plugin(*plugin, NULL);
    |                                                                    ^

/nix/store/53w3nv38xc2y3254ayz3ww2xy7nmxq5n-grpc-1.27.1/include/grpc/grpc_security.h:440:9: error:
     note: 'grpc_metadata_credentials_create_from_plugin' declared here
    |
440 | GRPCAPI grpc_call_credentials* grpc_metadata_credentials_create_from_plugin(
    |         ^
GRPCAPI grpc_call_credentials* grpc_metadata_credentials_create_from_plugin(
        ^
1 error generated.
`cc' failed in phase `C Compiler'. (Exit code: 1)
cabal: Failed to build grpc-haskell-core-0.0.0.0

nix-shell fails on grpc-haskell-core

Command used:

$ nix-shell --verbose
evaluating file '/nix/store/jq6npmpld02sz4rgniz0qrsdfnm6j17a-nix-2.3/share/nix/corepkgs/derivation.nix'
evaluating file '/Users/heath/local/gRPC-haskell/release.nix'
evaluating file '/Users/heath/local/gRPC-haskell/nixpkgs.nix'
evaluating file '/Users/heath/local/gRPC-haskell/fetch-nixpkgs.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/minver.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/top-level/impure.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/top-level/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/stdenv/booter.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/fixed-points.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/lists.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/stdenv/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/systems/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/attrsets.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/systems/inspect.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/trivial.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/systems/parse.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/strings.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/types.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/options.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/systems/platforms.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/modules.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/debug.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/top-level/config.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/stdenv/darwin/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/top-level/stage.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/stdenv/adapters.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/trivial-builders.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/top-level/splice.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/top-level/all-packages.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/top-level/aliases.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/stdenv/generic/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/customisation.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/top-level/haskell-packages.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/servers/x11/xorg/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/servers/x11/xorg/overrides.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/haskell-modules/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/haskell-modules/lib.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/haskell-modules/make-package-set.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/haskell-modules/initial-packages.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/haskell-modules/hackage-packages.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/haskell-modules/non-hackage-packages.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/haskell-modules/configuration-nix.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/haskell-modules/configuration-common.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/haskell-modules/configuration-tensorflow.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix'
evaluating file '/Users/heath/local/gRPC-haskell/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/desktops/gnome-2/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/haskell-modules/generic-builder.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/compilers/ghc/8.6.5.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/meta.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/gmp/6.x.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/stdenv/generic/make-derivation.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/systems/doubles.nix'
evaluating file '/Users/heath/local/gRPC-haskell/nix/grpc.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/stdenv/generic/check-meta.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/compilers/llvm/7/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/cc-wrapper/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/top-level/darwin-packages.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/bintools-wrapper/default.nix'
evaluating file '/nix/store/jq6npmpld02sz4rgniz0qrsdfnm6j17a-nix-2.3/share/nix/corepkgs/fetchurl.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/xnu/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/bootstrap_cmds/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/parsing/bison/3.x.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/misc/gnum4/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/fetchurl/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/fetchers.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/fetchurl/mirrors.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/perl/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/parsing/flex/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/misc/autoconf/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/misc/automake/automake-1.16.x.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/gettext/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/libiconv/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/compression/xz/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/misc/automake/automake-1.15.x.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/misc/libtool/libtool2.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/misc/help2man/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/top-level/perl-packages.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/perl-modules/generic/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/fetchpatch/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/text/patchutils/0.3.3.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/text/patchutils/generic.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/misc/unifdef/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/python/cpython/2.7/boot.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/misc/coreutils/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/Libc/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/fetchzip/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/archivers/unzip/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/compression/bzip2/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/Libc/825_40_1.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/applications/editors/ed/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/compression/lzip/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/misc/texinfo/6.5.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/misc/texinfo/common.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/Libm/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/Libinfo/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/dyld/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/architecture/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/libclosure/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/CarbonHeaders/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/libdispatch/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/ncurses/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/misc/pkg-config/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/CommonCrypto/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/copyfile/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/removefile/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/libresolv/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/configd/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/launchd/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/ppp/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/IOKit/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/eap8021x/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/Security/boot.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/mDNSResponder/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/Libnotify/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/libplatform/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/libutil/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/libpthread/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/cctools/port.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/compilers/llvm/7/libc++abi.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/qt-5/5.11/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/build-managers/cmake/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/top-level/unix-tools.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/adv_cmds/boot.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/bsdmake/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/shells/bash/4.4.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/misc/binutils/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/text/gnugrep/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/shells/bash/bash-4.4-patches.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/zlib/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/expand-response-params/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/pcre/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/versions.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/compilers/llvm/7/libc++/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/compilers/llvm/7/llvm.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/objc4/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/fetchgithub/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/darling/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/Csu/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/archivers/cpio/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/compilers/llvm/7/clang/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/binutils/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/libxml2/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/networking/curl/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/nghttp2/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/openssl/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/libssh2/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/kerberos/krb5.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/libev/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/c-ares/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-source-releases/ICU/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/build-managers/ninja/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/parsing/re2c/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/build-managers/gnumake/4.2/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/misc/findutils/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/libffi/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/deprecated.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/compilers/llvm/7/compiler-rt.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/text/diffutils/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/archivers/gnutar/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/compression/gzip/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/text/gnused/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/text/gawk/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/text/gnupatch/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/stdenv/common-path.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/protobuf/3.7.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/protobuf/generic-v3.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/system/which/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/gtest/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/gflags/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/expat/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/libarchive/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/archivers/sharutils/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/lzo/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/python/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/python/cpython/2.7/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/db/db-5.3.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/db/generic.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/gdbm/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/sqlite/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/readline/6.3.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/sqlite/archive-version.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/lib/asserts.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/readline/readline-6.3-patches.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/python/setup-hook.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/libuv/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-sdk/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/os-specific/darwin/apple-sdk/frameworks.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/compression/xar/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/compression/pbzx/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/security/rhash/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/haskell-modules/with-packages-wrapper.nix'
evaluating file '/Users/heath/local/gRPC-haskell/core/default.nix'
evaluating file '/Users/heath/local/gRPC-haskell/nix/proto3-suite.nix'
evaluating file '/Users/heath/local/gRPC-haskell/nix/proto3-wire.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/remove-references-to/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/compilers/ghc/8.2.2-binary.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/python/cpython/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/typesetting/asciidoc/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/data/sgml+xml/schemas/xml-dtd/docbook/4.5.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/data/sgml+xml/schemas/xml-dtd/docbook/generic.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/substitute/substitute-all.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/libxslt/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/nuke-references/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/top-level/python-packages.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/sphinx/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/python/build-python-package.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/python/mk-python-derivation.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/python/build-python-package-common.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/python/build-python-package-setuptools.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/python/fetchpypi.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/simplejson/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/bootstrapped-pip/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/python/wrap-python.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/setuptools/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/mock/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/unittest2/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/six/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/traceback2/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pbr/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/linecache2/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/funcsigs/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/html5lib/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/flake8/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pytest/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/setuptools_scm/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pip/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/hypothesis/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/attrs/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/coverage/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/py/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pluggy/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/importlib-metadata/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/zipp/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/more-itertools/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/nose/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/atomicwrites/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/wcwidth/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/packaging/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pyparsing/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pytestrunner/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/entrypoints/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pyflakes/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pycodestyle/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/mccabe/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pytest-expect/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/u-msgpack-python/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/webencodings/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/docutils/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/jinja2/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/markupsafe/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/Pygments/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/alabaster/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/Babel/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/freezegun/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/dateutil/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pytz/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/snowballstemmer/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pystemmer/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/Cython/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/tools/misc/gdb/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/mpfr/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pkgconfig/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/sqlalchemy/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/whoosh/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/imagesize/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/requests/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/urllib3/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pyopenssl/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/cryptography/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/cryptography/vectors.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pytest-xdist/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/filelock/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/execnet/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/apipkg/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pytest-forked/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/flaky/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/iso8601/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pretend/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/asn1crypto/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/cffi/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pycparser/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pyasn1/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/idna/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/certifi/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/ipaddress/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pysocks/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/chardet/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/sphinxcontrib-websupport/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/compilers/gcc/7/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/libelf/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/libmpc/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/compilers/gcc/common/platform-flags.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/fetchgit/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/data/misc/cacert/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/nss/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/applications/version-management/git-and-tools/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/applications/version-management/git-and-tools/git/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/tools/networking/openssh/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/libraries/libedit/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/python/with-packages.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/interpreters/python/wrapper.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/build-support/buildenv/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/futures/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/protobuf/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/enum34/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/google_apputils/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/gflags/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/mox/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pathlib2/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/scandir/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/contextlib2/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/configparser/default.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/more-itertools/2.7.nix'
evaluating file '/nix/store/h57pn2y6669p1jyg28f5ip9sa404b3ag-source/pkgs/development/python-modules/pyext/default.nix'
warning: dumping very large path (> 256 MiB); this may run out of memory
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/minver.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/top-level/impure.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/top-level/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/stdenv/booter.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/fixed-points.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/lists.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/stdenv/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/systems/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/attrsets.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/systems/inspect.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/trivial.nix'
evaluating file '/Users/heath/.config/nixpkgs/config.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/systems/parse.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/strings.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/types.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/options.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/systems/platforms.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/modules.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/debug.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/top-level/config.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/stdenv/darwin/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/top-level/stage.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/stdenv/adapters.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/build-support/trivial-builders.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/top-level/splice.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/top-level/all-packages.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/top-level/aliases.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/stdenv/generic/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/customisation.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/shells/bash/4.4.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/servers/x11/xorg/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/servers/x11/xorg/overrides.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/readline/7.0.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/stdenv/generic/make-derivation.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/misc/texinfo/6.5.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/misc/texinfo/common.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/build-support/bintools-wrapper/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/build-support/cc-wrapper/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/top-level/darwin-packages.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/stdenv/generic/check-meta.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/licenses.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/systems/doubles.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/xnu/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/bootstrap_cmds/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/parsing/bison/3.x.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/misc/gnum4/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/build-support/fetchurl/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/fetchers.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/build-support/fetchurl/mirrors.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/interpreters/perl/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/parsing/flex/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/misc/autoconf/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/misc/automake/automake-1.16.x.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/gettext/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libiconv/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/compression/xz/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/misc/automake/automake-1.15.x.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/misc/libtool/libtool2.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/misc/help2man/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/top-level/perl-packages.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/perl-modules/generic/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/build-support/fetchpatch/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/text/patchutils/0.3.3.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/text/patchutils/generic.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/misc/unifdef/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/interpreters/python/cpython/2.7/boot.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/misc/coreutils/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/gmp/6.x.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/Libc/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/build-support/fetchzip/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/archivers/unzip/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/compression/bzip2/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/Libc/825_40_1.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/applications/editors/ed/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/compression/lzip/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/Libm/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/Libinfo/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/dyld/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/architecture/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libclosure/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/CarbonHeaders/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libdispatch/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/ncurses/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/misc/pkg-config/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/CommonCrypto/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/copyfile/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/removefile/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libresolv/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/configd/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/launchd/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/ppp/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/IOKit/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/eap8021x/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/Security/boot.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/mDNSResponder/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/Libnotify/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libplatform/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libutil/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libpthread/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/cctools/port.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/compilers/llvm/7/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/compilers/llvm/7/libc++abi.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/qt-5/5.11/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/build-managers/cmake/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/top-level/unix-tools.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/adv_cmds/boot.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/bsdmake/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/meta.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/misc/binutils/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/text/gnugrep/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/shells/bash/bash-4.4-patches.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/zlib/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/build-support/expand-response-params/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/pcre/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/versions.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/compilers/llvm/7/libc++/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/compilers/llvm/7/llvm.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/objc4/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/build-support/fetchgithub/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/darling/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/Csu/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/archivers/cpio/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/readline/readline-7.0-patches.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/libxml2/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/networking/curl/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/nghttp2/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/openssl/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/libssh2/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/kerberos/krb5.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/libev/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/c-ares/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/ICU/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/build-managers/ninja/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/parsing/re2c/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/tools/build-managers/gnumake/4.2/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/misc/findutils/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/libraries/libffi/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/lib/deprecated.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/compilers/llvm/7/compiler-rt.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/text/diffutils/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/archivers/gnutar/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/compression/gzip/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/text/gnused/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/text/gawk/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/development/compilers/llvm/7/clang/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/tools/text/gnupatch/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/os-specific/darwin/binutils/default.nix'
evaluating file '/nix/store/ndi8klib1y6ll01f53bwiv9yspkhjcnr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/stdenv/common-path.nix'
these derivations will be built:
  /nix/store/pq09mwd9dh5glc7rlvggrgl04hck6g6k-grpc-haskell-core-0.0.0.0.drv
  /nix/store/qar28bjxqxhlagyybp2i7l4x4plrk615-grpc-haskell-source-0.0.0.0.drv
  /nix/store/39xib0b0md4dmz34jhm431haxm7s0d1n-grpc-haskell-0.0.0.0.drv
  /nix/store/9hrl212majfpjc8j7j6bymlbb528cl0z-ghc-8.6.5-with-packages.drv
  /nix/store/whm1jwlb65mh7a3v2g86y2mpc528xyj5-ghc-8.6.5-with-packages.drv
building '/nix/store/pq09mwd9dh5glc7rlvggrgl04hck6g6k-grpc-haskell-core-0.0.0.0.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/f9kv4sznz8vfsizqpm4q7fm4a1xdc73q-ghc-8.6.5.
unpacking sources
unpacking source archive /nix/store/x11b09fpg3x3db9ia7gd1xfgx28j1d47-grpc-haskell-core-source-0.0.0.0/grpc-haskell-core-0.0.0.0.tar.gz
source root is grpc-haskell-core-0.0.0.0
setting SOURCE_DATE_EPOCH to timestamp 1570193966 of file grpc-haskell-core-0.0.0.0/tests/ssl/localhost.key
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/nix-build-grpc-haskell-core-0.0.0.0.drv-0/setup-package.conf.d -j4 -threaded
[1 of 1] Compiling Main             ( Setup.hs, /private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/nix-build-grpc-haskell-core-0.0.0.0.drv-0/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/incvpksm7zsd1y8k0f5ac9s3pbf2nzi8-grpc-haskell-core-0.0.0.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/mjx689jdlpb3hdjljb8fzhxpqyazy4k8-grpc-haskell-core-0.0.0.0-doc/share/doc/grpc-haskell-core-0.0.0.0 --with-gcc=clang --package-db=/private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/nix-build-grpc-haskell-core-0.0.0.0.drv-0/package.conf.d --ghc-option=-j4 --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --extra-include-dirs=/nix/store/2lykcxvy85rh4wk48wj77bjcia6asv7f-libc++-7.1.0/include --extra-lib-dirs=/nix/store/2lykcxvy85rh4wk48wj77bjcia6asv7f-libc++-7.1.0/lib --extra-include-dirs=/nix/store/0wvwlf3pbkgh8k5g52q666b3w3s3bm0m-libc++abi-7.1.0/include --extra-lib-dirs=/nix/store/0wvwlf3pbkgh8k5g52q666b3w3s3bm0m-libc++abi-7.1.0/lib --extra-include-dirs=/nix/store/mlm531gxzrwdxhjymz078dqrjn5ijjar-compiler-rt-7.1.0-dev/include --extra-lib-dirs=/nix/store/cf9dnf1ibm5p958kfyy60b7kz2vf5ry4-compiler-rt-7.1.0/lib --extra-lib-dirs=/nix/store/8wc868y2yf7f4w68sqnynzzj50zyviy7-ncurses-6.1-20190112/lib --extra-lib-dirs=/nix/store/9vcihj5cy9dzl1mi9vds254ys3s8mx5h-libffi-3.2.1/lib --extra-lib-dirs=/nix/store/l8b3zg01dr0ikkznsk4v97l9k8wnklsj-gmp-6.1.2/lib --extra-include-dirs=/nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/include --extra-lib-dirs=/nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib --extra-include-dirs=/nix/store/bq5c0q9y9wbkprhxbsj3fadgx93ajcvd-grpc-1.22.1/include --extra-lib-dirs=/nix/store/bq5c0q9y9wbkprhxbsj3fadgx93ajcvd-grpc-1.22.1/lib --extra-lib-dirs=/nix/store/5a2qr04msw2mk898ipswndf108nv7mch-c2hs-0.28.6/lib --extra-framework-dirs=/nix/store/cxksxn1zyb4nxy1dkpxfdmlppbpzhq4p-swift-corefoundation/Library/Frameworks
Using Parsec parser
Configuring grpc-haskell-core-0.0.0.0...
Flags chosen: debug=False
Dependency base >=4.8 && <5.0: using base-4.12.0.0
Dependency bytestring ==0.10.*: using bytestring-0.10.8.2
Dependency clock >=0.6.0 && <0.8.0: using clock-0.8
Dependency containers >=0.5 && <0.7: using containers-0.6.0.1
Dependency managed >=1.0.0 && <1.1: using managed-1.0.6
Dependency sorted-list >=0.1.6.1 && <=0.3: using sorted-list-0.2.1.0
Dependency stm >=2.4 && <2.6: using stm-2.5.0.0
Dependency transformers -any: using transformers-0.5.6.2
Dependency QuickCheck >=2.8 && <3.0: using QuickCheck-2.13.2
Dependency async >=2.1 && <2.3: using async-2.2.2
Dependency base >=4.8 && <5.0: using base-4.12.0.0
Dependency bytestring ==0.10.*: using bytestring-0.10.8.2
Dependency clock >=0.6.0 && <0.8.0: using clock-0.8
Dependency containers >=0.5 && <0.7: using containers-0.6.0.1
Dependency grpc-haskell-core -any: using grpc-haskell-core-0.0.0.0
Dependency managed >=1.0.0 && <1.1: using managed-1.0.6
Dependency pipes >=4.1 && <=4.4: using pipes-4.3.11
Dependency proto3-suite -any: using proto3-suite-0.4.0.0
Dependency safe -any: using safe-0.3.17
Dependency tasty >=0.11: using tasty-1.2.3
Dependency tasty-hunit >=0.9: using tasty-hunit-0.10.0.2
Dependency tasty-quickcheck >=0.8.4: using tasty-quickcheck-0.10.1
Dependency text -any: using text-1.2.3.1
Dependency time -any: using time-1.8.0.2
Dependency transformers -any: using transformers-0.5.6.2
Dependency turtle >=1.2.0: using turtle-1.5.14
Dependency unix -any: using unix-2.7.2.2
Source component graph:
    component lib
    component test:tests dependency lib
Configured component graph:
    component grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ
        include base-4.12.0.0
        include bytestring-0.10.8.2
        include clock-0.8-KQdRNfSnPL2Kq3p84TuxcV
        include containers-0.6.0.1
        include managed-1.0.6-6le630bw4rn2FNayf9Wk9z
        include sorted-list-0.2.1.0-5XvtUkeS2CE9Im0Nxt0krX
        include stm-2.5.0.0
        include transformers-0.5.6.2
    component grpc-haskell-core-0.0.0.0-AGbw7oSRWHK4WZYE9qIPuu-tests
        include QuickCheck-2.13.2-6rrgIocvdhXHTFf9uLjjpw
        include async-2.2.2-6rOJAIn6doQ8bltUxcy0dW
        include base-4.12.0.0
        include bytestring-0.10.8.2
        include clock-0.8-KQdRNfSnPL2Kq3p84TuxcV
        include containers-0.6.0.1
        include grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ
        include managed-1.0.6-6le630bw4rn2FNayf9Wk9z
        include pipes-4.3.11-5lzaVuXMnpO4G5Fq27H9I1
        include proto3-suite-0.4.0.0-Hbgw6ZIeJmL9Gx6XZFV8TB
        include safe-0.3.17-DfdRYdiLN57Cv13ITiuSSo
        include tasty-1.2.3-GXjM2qnBr0rCElwqiJDsO2
        include tasty-hunit-0.10.0.2-D3Aj77JLRLeC277AOQ3piV
        include tasty-quickcheck-0.10.1-4wYJ8eXWgRB7jCpZbf7V41
        include text-1.2.3.1
        include time-1.8.0.2
        include transformers-0.5.6.2
        include turtle-1.5.14-46Di2izwvFPKeYn9UUp8b
        include unix-2.7.2.2
Linked component graph:
    unit grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ
        include base-4.12.0.0
        include bytestring-0.10.8.2
        include clock-0.8-KQdRNfSnPL2Kq3p84TuxcV
        include containers-0.6.0.1
        include managed-1.0.6-6le630bw4rn2FNayf9Wk9z
        include sorted-list-0.2.1.0-5XvtUkeS2CE9Im0Nxt0krX
        include stm-2.5.0.0
        include transformers-0.5.6.2
        Network.GRPC.LowLevel=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.LowLevel,Network.GRPC.LowLevel.Call=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.LowLevel.Call,Network.GRPC.LowLevel.Call.Unregistered=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.LowLevel.Call.Unregistered,Network.GRPC.LowLevel.Client=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.LowLevel.Client,Network.GRPC.LowLevel.Client.Unregistered=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.LowLevel.Client.Unregistered,Network.GRPC.LowLevel.CompletionQueue=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.LowLevel.CompletionQueue,Network.GRPC.LowLevel.CompletionQueue.Internal=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.LowLevel.CompletionQueue.Internal,Network.GRPC.LowLevel.CompletionQueue.Unregistered=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.LowLevel.CompletionQueue.Unregistered,Network.GRPC.LowLevel.GRPC=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.LowLevel.GRPC,Network.GRPC.LowLevel.Op=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.LowLevel.Op,Network.GRPC.LowLevel.Server=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.LowLevel.Server,Network.GRPC.LowLevel.Server.Unregistered=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.LowLevel.Server.Unregistered,Network.GRPC.Unsafe=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.Unsafe,Network.GRPC.Unsafe.ByteBuffer=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.Unsafe.ByteBuffer,Network.GRPC.Unsafe.ChannelArgs=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.Unsafe.ChannelArgs,Network.GRPC.Unsafe.Constants=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.Unsafe.Constants,Network.GRPC.Unsafe.Metadata=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.Unsafe.Metadata,Network.GRPC.Unsafe.Op=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.Unsafe.Op,Network.GRPC.Unsafe.Security=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.Unsafe.Security,Network.GRPC.Unsafe.Slice=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.Unsafe.Slice,Network.GRPC.Unsafe.Time=grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ:Network.GRPC.Unsafe.Time
    unit grpc-haskell-core-0.0.0.0-AGbw7oSRWHK4WZYE9qIPuu-tests
        include QuickCheck-2.13.2-6rrgIocvdhXHTFf9uLjjpw
        include async-2.2.2-6rOJAIn6doQ8bltUxcy0dW
        include base-4.12.0.0
        include bytestring-0.10.8.2
        include clock-0.8-KQdRNfSnPL2Kq3p84TuxcV
        include containers-0.6.0.1
        include grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ
        include managed-1.0.6-6le630bw4rn2FNayf9Wk9z
        include pipes-4.3.11-5lzaVuXMnpO4G5Fq27H9I1
        include proto3-suite-0.4.0.0-Hbgw6ZIeJmL9Gx6XZFV8TB
        include safe-0.3.17-DfdRYdiLN57Cv13ITiuSSo
        include tasty-1.2.3-GXjM2qnBr0rCElwqiJDsO2
        include tasty-hunit-0.10.0.2-D3Aj77JLRLeC277AOQ3piV
        include tasty-quickcheck-0.10.1-4wYJ8eXWgRB7jCpZbf7V41
        include text-1.2.3.1
        include time-1.8.0.2
        include transformers-0.5.6.2
        include turtle-1.5.14-46Di2izwvFPKeYn9UUp8b
        include unix-2.7.2.2
Ready component graph:
    definite grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ
        depends base-4.12.0.0
        depends bytestring-0.10.8.2
        depends clock-0.8-KQdRNfSnPL2Kq3p84TuxcV
        depends containers-0.6.0.1
        depends managed-1.0.6-6le630bw4rn2FNayf9Wk9z
        depends sorted-list-0.2.1.0-5XvtUkeS2CE9Im0Nxt0krX
        depends stm-2.5.0.0
        depends transformers-0.5.6.2
    definite grpc-haskell-core-0.0.0.0-AGbw7oSRWHK4WZYE9qIPuu-tests
        depends QuickCheck-2.13.2-6rrgIocvdhXHTFf9uLjjpw
        depends async-2.2.2-6rOJAIn6doQ8bltUxcy0dW
        depends base-4.12.0.0
        depends bytestring-0.10.8.2
        depends clock-0.8-KQdRNfSnPL2Kq3p84TuxcV
        depends containers-0.6.0.1
        depends grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ
        depends managed-1.0.6-6le630bw4rn2FNayf9Wk9z
        depends pipes-4.3.11-5lzaVuXMnpO4G5Fq27H9I1
        depends proto3-suite-0.4.0.0-Hbgw6ZIeJmL9Gx6XZFV8TB
        depends safe-0.3.17-DfdRYdiLN57Cv13ITiuSSo
        depends tasty-1.2.3-GXjM2qnBr0rCElwqiJDsO2
        depends tasty-hunit-0.10.0.2-D3Aj77JLRLeC277AOQ3piV
        depends tasty-quickcheck-0.10.1-4wYJ8eXWgRB7jCpZbf7V41
        depends text-1.2.3.1
        depends time-1.8.0.2
        depends transformers-0.5.6.2
        depends turtle-1.5.14-46Di2izwvFPKeYn9UUp8b
        depends unix-2.7.2.2
Using Cabal-2.4.0.1 compiled by ghc-8.6
Using compiler: ghc-8.6.5
Using install prefix:
/nix/store/incvpksm7zsd1y8k0f5ac9s3pbf2nzi8-grpc-haskell-core-0.0.0.0
Executables installed in:
/nix/store/incvpksm7zsd1y8k0f5ac9s3pbf2nzi8-grpc-haskell-core-0.0.0.0/bin
Libraries installed in:
/nix/store/incvpksm7zsd1y8k0f5ac9s3pbf2nzi8-grpc-haskell-core-0.0.0.0/lib/ghc-8.6.5/x86_64-osx-ghc-8.6.5/grpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ
Dynamic Libraries installed in:
/nix/store/incvpksm7zsd1y8k0f5ac9s3pbf2nzi8-grpc-haskell-core-0.0.0.0/lib/ghc-8.6.5/x86_64-osx-ghc-8.6.5
Private executables installed in:
/nix/store/incvpksm7zsd1y8k0f5ac9s3pbf2nzi8-grpc-haskell-core-0.0.0.0/libexec/x86_64-osx-ghc-8.6.5/grpc-haskell-core-0.0.0.0
Data files installed in:
/nix/store/incvpksm7zsd1y8k0f5ac9s3pbf2nzi8-grpc-haskell-core-0.0.0.0/share/x86_64-osx-ghc-8.6.5/grpc-haskell-core-0.0.0.0
Documentation installed in:
/nix/store/mjx689jdlpb3hdjljb8fzhxpqyazy4k8-grpc-haskell-core-0.0.0.0-doc/share/doc/grpc-haskell-core-0.0.0.0
Configuration files installed in:
/nix/store/incvpksm7zsd1y8k0f5ac9s3pbf2nzi8-grpc-haskell-core-0.0.0.0/etc
No alex found
Using ar found on system at:
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ar
Using c2hs version 0.28.6 found on system at:
/nix/store/5a2qr04msw2mk898ipswndf108nv7mch-c2hs-0.28.6/bin/c2hs
No cpphs found
No doctest found
Using gcc version 4.2.1 given by user at:
/nix/store/f72qi2a6djg9iz27ljxd44ji41lshs6h-clang-wrapper-7.1.0/bin/clang
Using ghc version 8.6.5 found on system at:
/nix/store/f9kv4sznz8vfsizqpm4q7fm4a1xdc73q-ghc-8.6.5/bin/ghc
Using ghc-pkg version 8.6.5 found on system at:
/nix/store/f9kv4sznz8vfsizqpm4q7fm4a1xdc73q-ghc-8.6.5/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.22.0 found on system at:
/nix/store/f9kv4sznz8vfsizqpm4q7fm4a1xdc73q-ghc-8.6.5/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/f9kv4sznz8vfsizqpm4q7fm4a1xdc73q-ghc-8.6.5/bin/hpc
Using hsc2hs version 0.68.5 found on system at:
/nix/store/f9kv4sznz8vfsizqpm4q7fm4a1xdc73q-ghc-8.6.5/bin/hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/qcz7n0dpjwa1znzb9xwy37pz5fxy9d6j-hscolour-1.24.4/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/kca167raqa205npp4fcp63p0g9a1i3if-cctools-binutils-darwin-wrapper/bin/ld
No pkg-config found
Using runghc version 8.6.5 found on system at:
/nix/store/f9kv4sznz8vfsizqpm4q7fm4a1xdc73q-ghc-8.6.5/bin/runghc
Using strip found on system at:
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/strip
Using tar found on system at:
/nix/store/sgvidyh84r7p6yskhs69jvihpr3l1j2k-gnutar-1.32/bin/tar
No uhc found
building
Preprocessing library for grpc-haskell-core-0.0.0.0..
Building library for grpc-haskell-core-0.0.0.0..
[ 1 of 21] Compiling Network.GRPC.Unsafe.ChannelArgs ( dist/build/Network/GRPC/Unsafe/ChannelArgs.hs, dist/build/Network/GRPC/Unsafe/ChannelArgs.o )
[ 2 of 21] Compiling Network.GRPC.Unsafe.Constants ( dist/build/Network/GRPC/Unsafe/Constants.hs, dist/build/Network/GRPC/Unsafe/Constants.o )
[ 3 of 21] Compiling Network.GRPC.Unsafe.Slice ( dist/build/Network/GRPC/Unsafe/Slice.hs, dist/build/Network/GRPC/Unsafe/Slice.o )
[ 4 of 21] Compiling Network.GRPC.Unsafe.Metadata ( dist/build/Network/GRPC/Unsafe/Metadata.hs, dist/build/Network/GRPC/Unsafe/Metadata.o )
[ 5 of 21] Compiling Network.GRPC.Unsafe.ByteBuffer ( dist/build/Network/GRPC/Unsafe/ByteBuffer.hs, dist/build/Network/GRPC/Unsafe/ByteBuffer.o )
[ 6 of 21] Compiling Network.GRPC.Unsafe.Op ( dist/build/Network/GRPC/Unsafe/Op.hs, dist/build/Network/GRPC/Unsafe/Op.o )
[ 7 of 21] Compiling Network.GRPC.Unsafe.Time ( dist/build/Network/GRPC/Unsafe/Time.hs, dist/build/Network/GRPC/Unsafe/Time.o )
[ 8 of 21] Compiling Network.GRPC.Unsafe ( dist/build/Network/GRPC/Unsafe.hs, dist/build/Network/GRPC/Unsafe.o )
[ 9 of 21] Compiling Network.GRPC.Unsafe.Security ( dist/build/Network/GRPC/Unsafe/Security.hs, dist/build/Network/GRPC/Unsafe/Security.o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[10 of 21] Compiling Network.GRPC.LowLevel.GRPC ( src/Network/GRPC/LowLevel/GRPC.hs, dist/build/Network/GRPC/LowLevel/GRPC.o )
[11 of 21] Compiling Network.GRPC.LowLevel.CompletionQueue.Internal ( src/Network/GRPC/LowLevel/CompletionQueue/Internal.hs, dist/build/Network/GRPC/LowLevel/CompletionQueue/Internal.o )
[12 of 21] Compiling Network.GRPC.LowLevel.Call ( src/Network/GRPC/LowLevel/Call.hs, dist/build/Network/GRPC/LowLevel/Call.o )
[13 of 21] Compiling Network.GRPC.LowLevel.CompletionQueue ( src/Network/GRPC/LowLevel/CompletionQueue.hs, dist/build/Network/GRPC/LowLevel/CompletionQueue.o )
[14 of 21] Compiling Network.GRPC.LowLevel.Op ( src/Network/GRPC/LowLevel/Op.hs, dist/build/Network/GRPC/LowLevel/Op.o )
[15 of 21] Compiling Network.GRPC.LowLevel.Server ( src/Network/GRPC/LowLevel/Server.hs, dist/build/Network/GRPC/LowLevel/Server.o )
[16 of 21] Compiling Network.GRPC.LowLevel.Client ( src/Network/GRPC/LowLevel/Client.hs, dist/build/Network/GRPC/LowLevel/Client.o )
[17 of 21] Compiling Network.GRPC.LowLevel.Call.Unregistered ( src/Network/GRPC/LowLevel/Call/Unregistered.hs, dist/build/Network/GRPC/LowLevel/Call/Unregistered.o )
[18 of 21] Compiling Network.GRPC.LowLevel.CompletionQueue.Unregistered ( src/Network/GRPC/LowLevel/CompletionQueue/Unregistered.hs, dist/build/Network/GRPC/LowLevel/CompletionQueue/Unregistered.o )
[19 of 21] Compiling Network.GRPC.LowLevel.Server.Unregistered ( src/Network/GRPC/LowLevel/Server/Unregistered.hs, dist/build/Network/GRPC/LowLevel/Server/Unregistered.o )
[20 of 21] Compiling Network.GRPC.LowLevel.Client.Unregistered ( src/Network/GRPC/LowLevel/Client/Unregistered.hs, dist/build/Network/GRPC/LowLevel/Client/Unregistered.o )
[21 of 21] Compiling Network.GRPC.LowLevel ( src/Network/GRPC/LowLevel.hs, dist/build/Network/GRPC/LowLevel.o )
[ 1 of 21] Compiling Network.GRPC.Unsafe.ChannelArgs ( dist/build/Network/GRPC/Unsafe/ChannelArgs.hs, dist/build/Network/GRPC/Unsafe/ChannelArgs.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[ 2 of 21] Compiling Network.GRPC.Unsafe.Constants ( dist/build/Network/GRPC/Unsafe/Constants.hs, dist/build/Network/GRPC/Unsafe/Constants.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[ 3 of 21] Compiling Network.GRPC.Unsafe.Slice ( dist/build/Network/GRPC/Unsafe/Slice.hs, dist/build/Network/GRPC/Unsafe/Slice.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[ 4 of 21] Compiling Network.GRPC.Unsafe.Metadata ( dist/build/Network/GRPC/Unsafe/Metadata.hs, dist/build/Network/GRPC/Unsafe/Metadata.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[ 5 of 21] Compiling Network.GRPC.Unsafe.ByteBuffer ( dist/build/Network/GRPC/Unsafe/ByteBuffer.hs, dist/build/Network/GRPC/Unsafe/ByteBuffer.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[ 6 of 21] Compiling Network.GRPC.Unsafe.Op ( dist/build/Network/GRPC/Unsafe/Op.hs, dist/build/Network/GRPC/Unsafe/Op.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[ 7 of 21] Compiling Network.GRPC.Unsafe.Time ( dist/build/Network/GRPC/Unsafe/Time.hs, dist/build/Network/GRPC/Unsafe/Time.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[ 8 of 21] Compiling Network.GRPC.Unsafe ( dist/build/Network/GRPC/Unsafe.hs, dist/build/Network/GRPC/Unsafe.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[ 9 of 21] Compiling Network.GRPC.Unsafe.Security ( dist/build/Network/GRPC/Unsafe/Security.hs, dist/build/Network/GRPC/Unsafe/Security.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[10 of 21] Compiling Network.GRPC.LowLevel.GRPC ( src/Network/GRPC/LowLevel/GRPC.hs, dist/build/Network/GRPC/LowLevel/GRPC.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[11 of 21] Compiling Network.GRPC.LowLevel.CompletionQueue.Internal ( src/Network/GRPC/LowLevel/CompletionQueue/Internal.hs, dist/build/Network/GRPC/LowLevel/CompletionQueue/Internal.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[12 of 21] Compiling Network.GRPC.LowLevel.Call ( src/Network/GRPC/LowLevel/Call.hs, dist/build/Network/GRPC/LowLevel/Call.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[13 of 21] Compiling Network.GRPC.LowLevel.CompletionQueue ( src/Network/GRPC/LowLevel/CompletionQueue.hs, dist/build/Network/GRPC/LowLevel/CompletionQueue.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[14 of 21] Compiling Network.GRPC.LowLevel.Op ( src/Network/GRPC/LowLevel/Op.hs, dist/build/Network/GRPC/LowLevel/Op.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[15 of 21] Compiling Network.GRPC.LowLevel.Server ( src/Network/GRPC/LowLevel/Server.hs, dist/build/Network/GRPC/LowLevel/Server.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[16 of 21] Compiling Network.GRPC.LowLevel.Client ( src/Network/GRPC/LowLevel/Client.hs, dist/build/Network/GRPC/LowLevel/Client.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[17 of 21] Compiling Network.GRPC.LowLevel.Call.Unregistered ( src/Network/GRPC/LowLevel/Call/Unregistered.hs, dist/build/Network/GRPC/LowLevel/Call/Unregistered.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[18 of 21] Compiling Network.GRPC.LowLevel.CompletionQueue.Unregistered ( src/Network/GRPC/LowLevel/CompletionQueue/Unregistered.hs, dist/build/Network/GRPC/LowLevel/CompletionQueue/Unregistered.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[19 of 21] Compiling Network.GRPC.LowLevel.Server.Unregistered ( src/Network/GRPC/LowLevel/Server/Unregistered.hs, dist/build/Network/GRPC/LowLevel/Server/Unregistered.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[20 of 21] Compiling Network.GRPC.LowLevel.Client.Unregistered ( src/Network/GRPC/LowLevel/Client/Unregistered.hs, dist/build/Network/GRPC/LowLevel/Client/Unregistered.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
[21 of 21] Compiling Network.GRPC.LowLevel ( src/Network/GRPC/LowLevel.hs, dist/build/Network/GRPC/LowLevel.p_o )
ld: warning: /nix/store/mjbsanmd69yr8r6inll0ffswxbr8nyvv-libiconv-osx-10.12.6/lib/libiconv.dylib, ignoring unexpected dylib file
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(Win32Utils.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(consUtils.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(longlong.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(ProfilerReport.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(OldARMAtomic.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(RtsDllMain.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(ProfilerReportJson.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(LdvProfile.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(RetainerProfile.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(Disassembler.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(Trace.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(Profiling.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(RetainerSet.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(Scav_thr.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(Sanity.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(Evac_thr.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(EventLog.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(elf_util.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(elf_plt_arm.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(elf_got.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(Elf.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(elf_plt_aarch64.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(elf_reloc.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(elf_plt.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(PEi386.o) has no symbols
/nix/store/68cs638458sifx94qila1xwpbmw88yrq-cctools-binutils-darwin/bin/ranlib: file: dist/build/libHSgrpc-haskell-core-0.0.0.0-I8WctiYWrxn5cgOo2bb3mQ-ghc8.6.5.a(elf_reloc_aarch64.o) has no symbols
Preprocessing test suite 'tests' for grpc-haskell-core-0.0.0.0..
Building test suite 'tests' for grpc-haskell-core-0.0.0.0..
[1 of 4] Compiling LowLevelTests    ( tests/LowLevelTests.hs, dist/build/tests/tests-tmp/LowLevelTests.o )
[2 of 4] Compiling LowLevelTests.Op ( tests/LowLevelTests/Op.hs, dist/build/tests/tests-tmp/LowLevelTests/Op.o )
[3 of 4] Compiling UnsafeTests      ( tests/UnsafeTests.hs, dist/build/tests/tests-tmp/UnsafeTests.o )
[4 of 4] Compiling Main             ( tests/Properties.hs, dist/build/tests/tests-tmp/Main.o )
Linking dist/build/tests/tests ...
running tests
Running 1 test suites...
Test suite tests: RUNNING...
/nix/store/ffl5ag647lkglhgd2yjdisajn5zzrr78-stdenv-darwin/setup: line 1326: 16289 Killed: 9               ./Setup test
builder for '/nix/store/pq09mwd9dh5glc7rlvggrgl04hck6g6k-grpc-haskell-core-0.0.0.0.drv' failed with exit code 137
cannot build derivation '/nix/store/9hrl212majfpjc8j7j6bymlbb528cl0z-ghc-8.6.5-with-packages.drv': 1 dependencies couldn't be built
error: build of '/nix/store/9hrl212majfpjc8j7j6bymlbb528cl0z-ghc-8.6.5-with-packages.drv', '/nix/store/whm1jwlb65mh7a3v2g86y2mpc528xyj5-ghc-8.6.5-with-packages.drv' failed

Additional info:

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.5
BuildVersion:	18F203

$ nix --version
nix (Nix) 2.3

$ nix-channel --list
nixpkgs https://nixos.org/channels/nixpkgs-unstable

I'm around on FP slack and Freenode.

streaming asynchronous exception

Hi! I'm using async package to manage my threads. In many places race function is very handy. For example:

res <- race receiveLongServerStream executeSomethingShort

where receiveLongServerStream is client action which receives some events from gRPC server, any amount of events, basically it's infinite thread

and executeSomethingShort is something short-living process which should normally return value first, then race function should cancel receiveLongServerStream and return res which is supposed to be Right there, because executeSomethingShort returned value first.

But for some reason all expression is blocked, probably because race can't cancel receiveLongServerStream for some reason. Here is docs for cancel function if it can help

https://hackage.haskell.org/package/async-2.2.2/docs/Control-Concurrent-Async.html#v:cancel

I just want to know how I can deal with it. Because this behaviour is causing deadlocks.

"pointer being freed was not allocated" when accepting a request

Continuing the discussion from #89.

A project (small gRPC server with one method) crashes when accepting a request from a gRCP client. At the moment I don't have a minimal example, but I'll see what I can do about it.

Since the error does not appear in a branch that is equivalent to master minus PR #90, I believe that it is caused by PR #90. The error is as follows:

projectname(2509,0x70000b9b1000) malloc: *** error for object 0x7f98d3c0cae0: pointer being freed was not allocated
projectname(2509,0x70000b9b1000) malloc: *** set a breakpoint in malloc_error_break to debug
Abort trap: 6

Untyped serialized protobuf handlers/hooks/middlewares

Are there any handlers/hooks/middlewares to work with untyped serialized request/response grpc payloads? Motivation is to do efficient signing and signature verification of request/response. Signature might be passed as metadata. Without such handlers/hooks/middlewares deterministic signing and verification is not efficient (need to serialize manually) and even not possible in general case, because proto3 standard does not guarantee deterministic serialization. We can do workarounds using libraries like this https://github.com/coingaming/signable#readme but in most cases being able to work with untyped payload is much more easier.

Publish for newer Stackage snapshots

AFAICT this is not published for newer stackage snapshots eg lts-14.9 (and possibly not at all - I haven't looked back very far). Is there a reason for this?

Thanks!

Consider using a continuous build system

It would be helpful to have a reproducible environment with a known good build. Without that, it can be difficult for developers to evaluate whether they want to use or contribute to gRPC-haskell.

It appears that GitHub now offers a free build service (https://github.blog/2019-08-08-github-actions-now-supports-ci-cd/) for open source repositories.

You should be able to block pull requests using this service, so that no PR can be submitted unless the build is successful. See https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/about-required-status-checks.

The build script can be as simple as just running the stack build or cabal build commands from the README. I recommend building with examples, since most newcomers to the project will want to see the examples first.

If you want to get fancier, you can consider using Bazel, which appears to be better for hermetic builds than Stack or Nix alone. See for example https://www.tweag.io/blog/2018-03-15-bazel-nix/.

stack build error with grpc_haskell.h file

I clone the grpc and change the version to 1.0.1 to build grcp lib.
When I build the gRPC-haskell project the error is:

    Configuring grpc-haskell-core-0.0.0.0...
    Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2: Bad header file:
    include/grpc_haskell.h
    The header file contains a compile error. You can re-run configure with the
    verbosity flag -v3 to see the error messages from the C compiler.

And I have no idea how to fix it .

Cannot build gRPC in a pure nix environment

Hello,
I was trying to compile gRPC on my computer (a recent version of Ubuntu). It looks like the current nix instructions do not express all the proper dependencies (or I am not using the proper nix channels).

Here is my setup:

  • nix --version nix (Nix) 2.0.2
  • nix-channel --list:
    nixpkgs https://nixos.org/channels/nixpkgs-unstable
  • grpc-haskell revision: 55f51eaa24e8a4dfeb1b477b2fe46a2d79652ca8 (latest master)

When launching the nix shell with nix-shell release.nix --pure -A grpc-haskell.env, here is what I get:

$ stack setup
bash: stack: command not found
$ cabal update
Downloading the latest package list from hackage.haskell.org

$ cabal configure --enable-tests
Resolving dependencies...
Configuring grpc-haskell-0.0.0.0...
Warning: 'include-dirs: include' directory does not exist.
cabal: The program 'c2hs' is required but it could not be found.

I tried to also download and run the latest release of stack, but ghc and gcc do not seem to find GMP in that case:

The GHC located at /home/tjhunter/.stack/programs/x86_64-linux/ghc-8.0.2/bin/ghc failed to compile a sanity check. Please see:

    http://docs.haskellstack.org/en/stable/install_and_upgrade/

for more information. Exception was:
Running /home/tjhunter/.stack/programs/x86_64-linux/ghc-8.0.2/bin/ghc /tmp/stack-sanity-check11158/Main.hs -no-user-package-db in directory /tmp/stack-sanity-check11158/ exited with ExitFailure 1

[1 of 1] Compiling Main             ( /tmp/stack-sanity-check11158/Main.hs, /tmp/stack-sanity-check11158/Main.o )
Linking /tmp/stack-sanity-check11158/Main ...

/nix/store/zi17ydzr9x1kqjcpfjr93iwg1frpmv8s-binutils-2.28.1/bin/ld : ne peut trouver -lgmp
collect2: erreur : ld a retourné 1 code d'état d'exécution
`gcc' failed in phase `Linker'. (Exit code: 1)

It is probably a simple fix in the nix derivations, but my understanding of these is pretty limited...

Thank you in advance.

Upgrading gRPC-haskell to newer gRPC versions

Hi, first of all thank for the great work on the bindings! We use them quite heavily in https://github.com/digital-asset/daml.

However, since we use the latest version of gRPC (1.22 at this point), we had to fork and patch the library. You can find our current state at https://github.com/digital-asset/daml/tree/master/nix/third-party/gRPC-haskell.

We would love to upstream our work but before doing so, it would be great to agree on the way forward:

  1. Are you in general open to moving to a newer version of gRPC? #62 suggests so but it would be great if you could confirm that this is still the case. If so, do you need/want grpc-haskell to be compatible with older versions as well? If so, how far back?

  2. Judging from the issues and pull requests on this repo, in particular, #80 it looks like the nixpkgs config is quite outdated at this point and fixing it seems to be a nontrivial task. Would you be open to moving to something “simpler”, e.g. a cabal new-build based setup for CI on this repo? If not, what is the best way to move this forward? Just hack on #80 until all tests pass?

  3. Would you be interested in sharing the maintenance load on gRPC-haskell with people outside of Awake Security? Since we have a vested interest in gRPC-haskell, we would be happy to help making sure that it stays up2date after we’ve upstreamed our current patches.

cc @hurryabit @nickchapman-da

Fix cabal build with-examples

I'm unable to build the examples from master on a stock Ubuntu VM. I'm building using cabal rather than stack.

Most recently, the build was broken by PR #110, which upgraded proto3-wire and proto3-suite.

The version released on Hackage (https://hackage.haskell.org/package/grpc-haskell) also fails to build.

Steps to reproduce:

  1. Grab an Ubuntu Groovy VM
  2. Run 'sudo apt-get update`
  3. Install Nix following https://nixos.org/download.html
  4. git clone https://github.com/awakesecurity/gRPC-haskell.git
  5. Run nix-shell release.nix -A grpc-haskell.env, which succeeds.
  6. Run cabal configure --enable-tests && cabal build && cabal test, which succeeds.
  7. Finally, run cabal configure --enable-tests -f with-examples && cabal build && cabal test

Expected result: Build succeeds.

Actual result:

build fails with an error "The constructor ‘ServiceOptions’ should have 9 arguments, but has been given 8."

Issues while building with examples

The build finishes successfully when run stack build.

When I try running the same with the examples flag, it throws a lot of scope errors.

stack build --flag grpc-haskell:with-examples

fails with

grpc-haskell-0.0.0.0: unregistering (dependencies changed)
Building all executables for `grpc-haskell' once. After a successful build of all of them, only specified executables will be rebuilt.
grpc-haskell-0.0.0.0: configure (lib + exe)
grpc-haskell-0.0.0.0: build (lib + exe)
Log files have been written to: /home/cliadmin/manoj/gRPC-haskell/.stack-work/logs/

--  While building custom Setup.hs for package grpc-haskell-0.0.0.0 using:
      /home/cliadmin/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.24.2.0 build lib:grpc-haskell exe:echo-client exe:echo-server exe:hellos-client exe:hellos-server --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1
    Logs have been written to: /home/cliadmin/manoj/gRPC-haskell/.stack-work/logs/grpc-haskell-0.0.0.0.log

    Configuring grpc-haskell-0.0.0.0...
    Preprocessing library grpc-haskell-0.0.0.0...
    [1 of 5] Compiling Network.GRPC.HighLevel.Server ( src/Network/GRPC/HighLevel/Server.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/Network/GRPC/HighLevel/Server.o )
    [2 of 5] Compiling Network.GRPC.HighLevel.Server.Unregistered ( src/Network/GRPC/HighLevel/Server/Unregistered.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/Network/GRPC/HighLevel/Server/Unregistered.o )
    [3 of 5] Compiling Network.GRPC.HighLevel.Client ( src/Network/GRPC/HighLevel/Client.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/Network/GRPC/HighLevel/Client.o )
    [4 of 5] Compiling Network.GRPC.HighLevel.Generated ( src/Network/GRPC/HighLevel/Generated.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/Network/GRPC/HighLevel/Generated.o )
    [5 of 5] Compiling Network.GRPC.HighLevel ( src/Network/GRPC/HighLevel.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/Network/GRPC/HighLevel.o )
    Preprocessing executable 'echo-client' for grpc-haskell-0.0.0.0...
    [1 of 2] Compiling Echo             ( examples/echo/echo-hs/Echo.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/echo-client/echo-client-tmp/Echo.o )

    /home/manoj/gRPC-haskell/examples/echo/echo-hs/Echo.hs:110:38: error:
        Not in scope: ‘HsJSONPB.declareSchemaRef’
        Module ‘Proto3.Suite.JSONPB’ does not export ‘declareSchemaRef’.

    /home/manoj/gRPC-haskell/examples/echo/echo-hs/Echo.hs:112:48: error:
        Not in scope: ‘HsJSONPB.asProxy’
        Module ‘Proto3.Suite.JSONPB’ does not export ‘asProxy’.

    /home/manoj/gRPC-haskell/examples/echo/echo-hs/Echo.hs:114:19: error:
        Not in scope: data constructor ‘HsJSONPB.NamedSchema’
        Module ‘Proto3.Suite.JSONPB’ does not export ‘NamedSchema’.

    /home/cliadmin/manoj/gRPC-haskell/examples/echo/echo-hs/Echo.hs:114:40: error:
        Not in scope: ‘HsJSONPB._namedSchemaName’
        Module ‘Proto3.Suite.JSONPB’ does not export ‘_namedSchemaName’.

    /home/manoj/gRPC-haskell/examples/echo/echo-hs/Echo.hs:116:40: error:
        Not in scope: ‘HsJSONPB._namedSchemaSchema’
        Module ‘Proto3.Suite.JSONPB’ does not export ‘_namedSchemaSchema’.

    /home/manoj/gRPC-haskell/examples/echo/echo-hs/Echo.hs:117:52: error:
        Not in scope: ‘HsJSONPB._schemaParamSchema’
        Module ‘Proto3.Suite.JSONPB’ does not export ‘_schemaParamSchema’.

    /home/manoj/gRPC-haskell/examples/echo/echo-hs/Echo.hs:118:64: error:
        Not in scope: ‘HsJSONPB._paramSchemaType’
        Module ‘Proto3.Suite.JSONPB’ does not export ‘_paramSchemaType’.

    /home/manoj/gRPC-haskell/examples/echo/echo-hs/Echo.hs:119:66: error:
        Not in scope: data constructor ‘HsJSONPB.SwaggerObject’
        Perhaps you meant variable ‘HsJSONPB.withObject’ (imported from Proto3.Suite.JSONPB)
        Module ‘Proto3.Suite.JSONPB’ does not export ‘SwaggerObject’.

......

I tried updating proto3-suit to a newer version but it throws more errors.

A few nix issues

Hey, first thanks so much for releasing this! I gave it a try and I ran into a few issues:

  • release.nix uses fetchgitPrivate which fails because I don't have any keys exported
  • cython fails, I think it should be pkgs.pythonPackages.buildPythonPackage?
  • proto3-wire fails with [1] on nix-unstable. Which nix release are you using?

[1]

Setup: Encountered missing dependencies:
QuickCheck ==2.8.*

cannot stack build with grpc 1.4.3

I'd like to use gRPC-haskell to write tests at my job where we use protobuf 3.3 and grpc 1.4.3
After building and installing those from source, stack build gives me an error:

src/Network/GRPC/Unsafe.chs:229: (column 7) [ERROR] >>> Unknown identifier!
Cannot find a definition for grpc_call_destroy in the header file.
src/Network/GRPC/Unsafe.chs:146: (column 3) [ERROR] >>> Function arity mismatch!
Parameter marshallers are missing.

How could I fix this?

stack build fails

Following along with Installing GRPC for stack (MacOS) in the README.md, this command seems to have run successfully:

bin/install-macos-nix-grpc.sh

This command fails building grpc-haskell core:

$ stack build --fast
grpc-haskell-core> configure (lib)
grpc-haskell-core> Configuring grpc-haskell-core-0.0.0.0...
grpc-haskell-core> Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5: Missing dependency on a foreign
grpc-haskell-core> library:
grpc-haskell-core> * Missing (or bad) C library: gpr
grpc-haskell-core> This problem can usually be solved by installing the system package that
grpc-haskell-core> provides this library (you may need the "-dev" version). If the library is
grpc-haskell-core> already installed but in a non-standard location then you can use the flags
grpc-haskell-core> --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the
grpc-haskell-core> library file does exist, it may contain errors that are caught by the C
grpc-haskell-core> compiler at the preprocessing stage. In this case you can re-run configure
grpc-haskell-core> with the verbosity flag -v3 to see the error messages.
grpc-haskell-core>
swagger2         > configure
swagger2         > [1 of 2] Compiling Main             ( /private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/stack55936/swagger2-2.4/Setup.hs, /private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/stack55936/swagger2-2.4/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/Main.o )
swagger2         > [2 of 2] Compiling StackSetupShim   ( /Users/heath/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/stack55936/swagger2-2.4/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/StackSetupShim.o )
swagger2         > Linking /private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/stack55936/swagger2-2.4/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/setup ...
swagger2         > Configuring swagger2-2.4...
swagger2         > build
swagger2         > Preprocessing library for swagger2-2.4..
swagger2         > Building library for swagger2-2.4..
swagger2         > [ 1 of 16] Compiling Data.Swagger.Declare
swagger2         >
swagger2         > /private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/stack55936/swagger2-2.4/src/Data/Swagger/Declare.hs:165:46: warning: [-Wdeprecations]
swagger2         >     In the use of type constructor or class ‘ListT’
swagger2         >     (imported from Control.Monad.List, but defined in Control.Monad.Trans.List):
swagger2         >     Deprecated: "This transformer is invalid on most monads"
swagger2         >     |
swagger2         > 165 | instance MonadDeclare d m => MonadDeclare d (ListT m) where
swagger2         >     |                                              ^^^^^
swagger2         > [ 2 of 16] Compiling Data.Swagger.Internal.AesonUtils
swagger2         > [ 3 of 16] Compiling Data.Swagger.Internal.TypeShape
swagger2         > [ 4 of 16] Compiling Data.Swagger.Internal.Utils
swagger2         > [ 5 of 16] Compiling Data.Swagger.Internal
swagger2         > [ 6 of 16] Compiling Data.Swagger.Lens
swagger2         > ld: warning: directory not found for option '-L/usr/local/opt/node@10/lib'
swagger2         > [ 7 of 16] Compiling Data.Swagger.SchemaOptions
swagger2         > [ 8 of 16] Compiling Data.Swagger.Internal.ParamSchema
swagger2         > [ 9 of 16] Compiling Data.Swagger.ParamSchema
swagger2         > [10 of 16] Compiling Data.Swagger.Internal.Schema
swagger2         > [11 of 16] Compiling Data.Swagger.Schema
swagger2         > [12 of 16] Compiling Data.Swagger.Operation
swagger2         > [13 of 16] Compiling Data.Swagger.Internal.Schema.Validation
swagger2         >
swagger2         > /private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/stack55936/swagger2-2.4/src/Data/Swagger/Internal/Schema/Validation.hs:36:1: warning: [-Wunused-imports]
swagger2         >     The import of ‘Data.List’ is redundant
swagger2         >       except perhaps to import instances from ‘Data.List’
swagger2         >     To import instances alone, use: import Data.List()
swagger2         >    |
swagger2         > 36 | import           Data.List                           (intercalate)
swagger2         >    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
swagger2         >
swagger2         > /private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/stack55936/swagger2-2.4/src/Data/Swagger/Internal/Schema/Validation.hs:37:1: warning: [-Wunused-imports]
swagger2         >     The import of ‘Data.Monoid’ is redundant
swagger2         >       except perhaps to import instances from ‘Data.Monoid’
swagger2         >     To import instances alone, use: import Data.Monoid()
swagger2         >    |
swagger2         > 37 | import           Data.Monoid
swagger2         >    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
swagger2         >
swagger2         > /private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/stack55936/swagger2-2.4/src/Data/Swagger/Internal/Schema/Validation.hs:400:12: warning: [-Wunused-matches]
swagger2         >     Defined but not used: ‘t’
swagger2         >     |
swagger2         > 400 |     param@(t, _) -> invalid $ "expected JSON value of type " ++ showType param
swagger2         >     |            ^
swagger2         >
swagger2         > /private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/stack55936/swagger2-2.4/src/Data/Swagger/Internal/Schema/Validation.hs:416:5: warning: [-Woverlapping-patterns]
swagger2         >     Pattern match is redundant
swagger2         >     In a case alternative: param@(t, _) -> ...
swagger2         >     |
swagger2         > 416 |     param@(t, _) -> invalid $ "expected JSON value of type " ++ showType param
swagger2         >     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
swagger2         >
swagger2         > /private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/stack55936/swagger2-2.4/src/Data/Swagger/Internal/Schema/Validation.hs:416:12: warning: [-Wunused-matches]
swagger2         >     Defined but not used: ‘t’
swagger2         >     |
swagger2         > 416 |     param@(t, _) -> invalid $ "expected JSON value of type " ++ showType param
swagger2         >     |            ^
swagger2         >
swagger2         > /private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/stack55936/swagger2-2.4/src/Data/Swagger/Internal/Schema/Validation.hs:419:16: warning: [-Wname-shadowing]
swagger2         >     This binding for ‘type_’ shadows the existing binding
swagger2         >       imported from ‘Data.Swagger.Lens’ at src/Data/Swagger/Internal/Schema/Validation.hs:48:1-34
swagger2         >       (and originally defined at src/Data/Swagger/Lens.hs:44:1-46)
swagger2         >     |
swagger2         > 419 | showType (Just type_, _)     = show type_
swagger2         >     |                ^^^^^
swagger2         > [14 of 16] Compiling Data.Swagger.Schema.Validation
swagger2         > [15 of 16] Compiling Data.Swagger
swagger2         > [16 of 16] Compiling Data.Swagger.Schema.Generator
swagger2         > ld: warning: directory not found for option '-L/usr/local/opt/node@10/lib'
swagger2         > copy/register
swagger2         > Installing library in /Users/heath/.stack/snapshots/x86_64-osx/94e4db632795c5ef6c13270b9f45e662e2f61af918f8a653da65c212257e9e43/8.6.5/lib/x86_64-osx-ghc-8.6.5/swagger2-2.4-DBjIJFgpKJ1LBB5it3IKOy
swagger2         > Registering library for swagger2-2.4..

--  While building package grpc-haskell-core-0.0.0.0 using:
      /Users/heath/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.4.0.1 configure --user --package-db=clear --package-db=global --package-db=/Users/heath/.stack/snapshots/x86_64-osx/94e4db632795c5ef6c13270b9f45e662e2f61af918f8a653da65c212257e9e43/8.6.5/pkgdb --package-db=/Users/heath/local/gRPC-haskell/.stack-work/install/x86_64-osx/94e4db632795c5ef6c13270b9f45e662e2f61af918f8a653da65c212257e9e43/8.6.5/pkgdb --libdir=/Users/heath/local/gRPC-haskell/.stack-work/install/x86_64-osx/94e4db632795c5ef6c13270b9f45e662e2f61af918f8a653da65c212257e9e43/8.6.5/lib --bindir=/Users/heath/local/gRPC-haskell/.stack-work/install/x86_64-osx/94e4db632795c5ef6c13270b9f45e662e2f61af918f8a653da65c212257e9e43/8.6.5/bin --datadir=/Users/heath/local/gRPC-haskell/.stack-work/install/x86_64-osx/94e4db632795c5ef6c13270b9f45e662e2f61af918f8a653da65c212257e9e43/8.6.5/share --libexecdir=/Users/heath/local/gRPC-haskell/.stack-work/install/x86_64-osx/94e4db632795c5ef6c13270b9f45e662e2f61af918f8a653da65c212257e9e43/8.6.5/libexec --sysconfdir=/Users/heath/local/gRPC-haskell/.stack-work/install/x86_64-osx/94e4db632795c5ef6c13270b9f45e662e2f61af918f8a653da65c212257e9e43/8.6.5/etc --docdir=/Users/heath/local/gRPC-haskell/.stack-work/install/x86_64-osx/94e4db632795c5ef6c13270b9f45e662e2f61af918f8a653da65c212257e9e43/8.6.5/doc/grpc-haskell-core-0.0.0.0 --htmldir=/Users/heath/local/gRPC-haskell/.stack-work/install/x86_64-osx/94e4db632795c5ef6c13270b9f45e662e2f61af918f8a653da65c212257e9e43/8.6.5/doc/grpc-haskell-core-0.0.0.0 --haddockdir=/Users/heath/local/gRPC-haskell/.stack-work/install/x86_64-osx/94e4db632795c5ef6c13270b9f45e662e2f61af918f8a653da65c212257e9e43/8.6.5/doc/grpc-haskell-core-0.0.0.0 --dependency=base=base-4.12.0.0 --dependency=bytestring=bytestring-0.10.8.2 --dependency=clock=clock-0.8-H1S1zDefxirImaRbI6ITNv --dependency=containers=containers-0.6.0.1 --dependency=managed=managed-1.0.6-6le630bw4rn2FNayf9Wk9z --dependency=sorted-list=sorted-list-0.2.1.0-5XvtUkeS2CE9Im0Nxt0krX --dependency=stm=stm-2.5.0.0 --dependency=transformers=transformers-0.5.6.2 -f-debug --ghc-options -O0 --exact-configuration --ghc-option=-fhide-source-paths
    Process exited with code: ExitFailure 1
Progress 2/4

Additional Details:

$ stack --version
Version 2.1.3, Git revision 0fa51b9925decd937e4a993ad90cb686f88fa282 (7739 commits) x86_64 hpack-0.31.2

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.5
BuildVersion:	18F203

gRPC c library versioning and leaks on the client side

Firstly thanks a lot for this great work, we're really excited to be using it.

Recently we've been stress testing some services and have noticed what we think is some memory leakage in the underlying c code, but only on client requests (used from high level generated code), not seemingly on server handlers.

  • I'm planning on doing some profiling, but I'm not an expert on debugging c from haskell, any advice on how I might go about diagnosing if my theory is correct would be greatly appreciated.

Having had a cursory look at the grpc c-lib releases over the last year, it seems there's been a bunch of memory leak fixes (pretty much all releases actually).

  • We were wondering if there was any plan to try to upgrade this new core library to use the later c-lib versions?

I've just had a look at building this against v.1.8.3 but the c-api has changed a bit:

src/Network/GRPC/Unsafe.chs:228: (column 7) [ERROR]  >>> Unknown identifier!
  Cannot find a definition for `grpc_call_destroy' in the header file.
src/Network/GRPC/Unsafe.chs:145: (column 3) [ERROR]  >>> Function arity mismatch!
  Parameter marshallers are missing.

I'm not really au fait with the nuts and bolts of the low-level c interface, so I'm not sure I can immediately help in this endeavour, or indeed, if it might be desired at all.

Any comments from you folks on this would be greatly appreciated. Thanks in advance for reading and helping!

Document reason for staying on 1.2.0

gRPC is at 1.12, on its way to 1.13. It would be valuable to know why the recommended version is still 1.2.0. Maybe some travis setup could build against both 1.2.0, and latest?

Add an instantiation of the GRPC RouteGuide example

The RouteGuide program from the GRPC tutorials is useful because it demonstrates all of the streaming modes and some async stream interactions. It'd likely help bring new grpc-haskell users up to speed with a familiar example, as well as help us evaluate any rough edges in the high level APIs that we could do with some polishing.

I'd like to take a stab at this when I have a chance, and have been meaning to do so for a while, but if someone wants to tackle it before I'm able, feel free to do so -- just let me know if you've started so we don't duplicate effort.

[Feature request/question] Support for GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS client configuration option

I have been hunting through the source code and from what I can tell the only client config args that are supported currently are these six.

For a GRPC application that I am building atm (I only have control of the client side, not the server side) I need to set the GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS arg to true.

Is there an "unsafe" way for me to set this arg to true in my ClientConfig? Or does it need to be added as a sum type in the source code here?

Thanks in advance!

Error with doubly nested messages generating back type constructor reference

Hi. I'm trying to generate an rpc client for grakn using the protocol definitions from https://github.com/graknlabs/protocol and one of them has a doubly nested message, which we've extracted into a minimal test case here:

syntax = "proto3";

package repro;

message Transaction {
  message Query {
    message Req {
      INFER infer = 1;
    }
    enum INFER {
      TRUE = 0;
      FALSE = 1;
    }
  }
}

message Query2 {
  message Req2 {
     INFER2 infer = 1;
  }
  enum INFER2 {
     TRUE = 0;
     FALSE = 1;
  }
}

The Query2 case works fine (as expected) but the case where it's nested inside Transaction in an additional level of nesting generates a reference to Repro.Query_INFER rather than to Repro.Transaction_Query_INFER which causes this error:

gen/Repro.hs:121:77-93: error: …
    Not in scope: type constructor or class ‘Repro.Query_INFER’
    Perhaps you meant ‘Repro.Query2_INFER2’ (line 323)
    No module named ‘Repro’ is imported.
    |
Compilation failed.

I can work around this for the moment by editing the generated code but obviously that's not a good long term solution.

Timeouts Far Earlier Than Expected

I wrote a quick-and-dirty script to test gRPC vs Thrift Haskell libraries when moving large, structured data over a channel. As can be seen by running the main application, even though all client timeouts are set to 10000000 seconds, I consistently get a time-out after only a second or so:

ClientIOError GRPCIOTimeout
CallStack (from HasCallStack):
  error, called at src/GRPCvsThrift/GRPCClient.hs:43:43 in gRPC-vs-Thrift-0.1.0.0-94CrnjUzsegHPgjx1PI6me:GRPCvsThrift.GRPCClient

I cannot figure out why this is. Is it possible that a max size limit violation is being interpreted as a timeout? Can the max size limit be changed?

This only occurs when the data structure being sent is large enough. To give an idea of the approximate size, when show is called on a "too large" data structure, the result is about 10,000,000 characters long. A known "not too large" data structure shows to about 6,000,000 characters.

Help?

P.S. gRPC is way, way faster than Thrift when sending big messages (~ 20-30x). Thanks so much!

how to run exe's / examples

stack exec -- echo-server

errors with

You cannot have packages and a shell-file filled at the same time in your nix-shell configuration.

ditto under nix-shell. afaict, release.nix doesn't accept input. ghc obviously doesn't work, because they need the appropriate environment.

i don't know how i should run the examples, so i'm gonna try them in a separate package.

i'm on:


$ stack --version
Version 1.3.2 x86_64

$ nixos-version 
17.03.873.0c041520c3 (Gorilla)


if relevant.

macOS build failed

When I try to enter nix shell with nix-shell release.nix -A grpc-haskell.env I'm getting error.

nix-shell release.nix -A grpc-haskell.env
these derivations will be built:
  /nix/store/mjgwrv707wcy25ix63lh88d70msc3lx6-remove-references-to.drv
  /nix/store/wpj053azh8hyjb7vsxbqj9l6jplmd8yy-optparse-applicative-0.14.0.0.drv
  /nix/store/81mfrc5rfnpc1y0xylpjhlrjdmp0yckw-tasty-0.11.2.5.drv
  /nix/store/qkxni0wjw9x2417m0s7jyp7aa8kjjl5x-tasty-hunit-0.9.2.drv
  /nix/store/9a3z725rng8h389xrrdjrapk1pv9hvw6-temporary-1.2.1.1.drv
  /nix/store/cqmfphcipvnplbxpkdl0xc5a1bxid1hg-mockery-0.3.5.drv
  /nix/store/pmzh3yfr5w4mlm0yxz61k1jf8l8pd77r-silently-1.2.5.drv
  /nix/store/dkn63rqlp7blsc6jik85naf3dgbil6fh-doctest-0.11.4.drv
  /nix/store/7y3vk43xdr05lh1i1bb354vr71nn3v5n-distributive-0.5.3.drv
  /nix/store/q95zaayj9fy927lmma88widjmvnkwj2k-comonad-5.0.2.drv
  /nix/store/s9insgfyac2nx5pg872bzb7kqmmwccdz-bifunctors-5.4.2.drv
  /nix/store/032jbcs4xj30sgz1503s98zlr52ywnkn-semigroupoids-5.2.1.drv
  /nix/store/0yw2xm1qwisnhk6qmpxqmf0jacqg5fhb-python2.7-Cython-0.24.1.drv
  /nix/store/d0gsxgh5c6ibfzfqwkqxvpm82akvz2i6-grpc-e2cfe9d.drv
  /nix/store/zhsps3r8134i1bsqp02m7azxi5m6bb60-python2.7-protobuf-3.2.0.drv
  /nix/store/xk1j0bj6wnbqz0jrwp7lf4q9vg09l057-python2.7-grpc-1.0.drv
  /nix/store/44m0gip2170jyy2nswdxzv890dhvrlqp-python2.7-grpc-1.0.drv
  /nix/store/0kxw473c8024gsgq1v58nf8pnzm625db-python-2.7.14-env.drv
  /nix/store/1b4b95dbzmmj2rkxrfkm4pfg5yx2r3j8-grpc-1.2.0-e2cfe9d.drv
  /nix/store/68qwbzs5c3pv0n8cxn4w5rkw2chnr9ax-profunctors-5.2.1.drv
  /nix/store/1jiqg76ag2zv36ljdayjfggjw6lyl6dk-free-4.12.4.drv
  /nix/store/2bfq66mf4vpg9bvxgzwd05yzsqv0pwwa-tasty-ant-xml-1.1.0.drv
  /nix/store/rl7lhfm8j0jgjkbz2ym1hxka9gbf78fq-tasty-smallcheck-0.8.1.drv
  /nix/store/wqfsx6fzs8f6m0arzggxf5dh8gf1cn2g-tasty-quickcheck-0.8.4.drv
  /nix/store/vfkdnlqviqa0saz64n74fq5a89p5hzv3-scientific-0.3.5.2.drv
  /nix/store/4avpf92qiil8z8j5j64di01zv6bwm91s-quickcheck-instances-0.3.12.drv
  /nix/store/dlxlm6y2vqsw68m7l7w4vnii17b7hspb-attoparsec-0.13.1.0.drv
  /nix/store/1nr1cb2701fsrf7k6sr0nbfm4m2d8zjj-parsers-0.12.7.drv
  /nix/store/yw260hsvxzfqy88c711fw8i50q2dvqrd-cryptohash-sha256-0.11.100.1.drv
  /nix/store/4lmd4by09b7s6nb260jc1qa7cx7ihhxx-hackage-security-0.5.2.2.drv
  /nix/store/5gy67dr34q94kp5q187rgpnjkrib7wpa-aeson-1.1.1.0.tar.gz.drv
  /nix/store/w1lw5cmm07lb8qgj05aj60gcbgji6asa-foldl-1.2.5.drv
  /nix/store/5im3nwha7sy4kli7riwvlb1mssn72n2q-turtle-1.3.6.drv
  /nix/store/ihffagcyjdbcp06iiirn80dfigk0i9hs-aeson-1.1.1.0-r2.cabal.drv
  /nix/store/py05cb08jbjrx3kjm46af78sg7kfy9p9-uuid-types-1.0.3.drv
  /nix/store/yvgacyg39cv2pnygig0ln06dd9pf8g0m-aeson-1.1.1.0.drv
  /nix/store/6xzclrqrdi7jknrhmknq60radc5p7l25-aeson-pretty-0.8.5.drv
  /nix/store/8lzsqdfhh26q0zw1qnpisp65l5mlr3np-proto3-wire-a938330.drv
  /nix/store/a2j9kpv1a6q2mvrz4j05s86mk62ziy6p-HTF-0.13.2.2.drv
  /nix/store/izf7qm9i5994blyf0wc0s0dlchcihlgw-adjunctions-4.3.drv
  /nix/store/bgxbsc8426smxq833aw9gjq28hq3qgd8-kan-extensions-5.0.2.drv
  /nix/store/bmc5zpl1s27s3j033phhhazvcqqbklq9-proto3-suite-c103a8c.drv
  /nix/store/d55az882hyk7klmq63fm34fw2g9hk8c1-neat-interpolation-0.3.2.1.drv
  /nix/store/dqbp6wnmhcgqv12y4ms6cnkljrqv4gka-proto3-wire-1.0.0.drv
  /nix/store/v0a8i4wga6f7qm1z56j0rlbpkl9c2kbc-lens-4.15.4.drv
  /nix/store/xgr9vqlm9zhbiswhxcpdgp1h5gvlwlvf-insert-ordered-containers-0.2.1.0.drv
  /nix/store/jpr1aac5i9hq8val2jwip5wxlxfhcmmf-swagger2-2.1.6.drv
  /nix/store/lg76hjl7bdas17h2b811014xqf1ifxc7-range-set-list-0.1.2.0.drv
  /nix/store/lwx8qvyq2d73n4x2jp25cxnw42q2jj8j-optparse-generic-1.2.1.tar.gz.drv
  /nix/store/r23mxxvjwvnhni6iqbva0zx43snxq075-optparse-generic-1.2.1.drv
  /nix/store/m0qi5dbbqp61k1f2zvhacb4v3pgjy538-proto3-suite-0.2.0.0.drv
  /nix/store/lalrg0fzy6fd50d7w8qba8y3shvma8y5-grpc-haskell-core-0.0.0.0.drv
  /nix/store/r7n7cvprcfbj3i2di9dcw5lsmlps9f4b-grpc-haskell-0.0.0.0.drv
  /nix/store/gml3l1dgy8s10hsaw0rlhjb3ygdjgrll-ghc-8.0.2-with-packages.drv
  /nix/store/ih1qxic2mibmrxj92h46b52prlzpq4bd-cabal-install-2.0.0.0.drv
  /nix/store/zyfbs2px8il9hl7bfrzqik3gzw2hlqwl-ghc-8.0.2-with-packages.drv
building '/nix/store/mjgwrv707wcy25ix63lh88d70msc3lx6-remove-references-to.drv'...
dyld: Library not loaded: /usr/lib/system/libsystem_network.dylib
  Referenced from: /nix/store/v2sbh9m4p8fa5czsw0cr1kcz8a9xx23d-Libsystem-osx-10.11.6/lib/libSystem.B.dylib
  Reason: image not found
builder for '/nix/store/mjgwrv707wcy25ix63lh88d70msc3lx6-remove-references-to.drv' failed due to signal 6 (Abort trap: 6)
cannot build derivation '/nix/store/izf7qm9i5994blyf0wc0s0dlchcihlgw-adjunctions-4.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/yvgacyg39cv2pnygig0ln06dd9pf8g0m-aeson-1.1.1.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6xzclrqrdi7jknrhmknq60radc5p7l25-aeson-pretty-0.8.5.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dlxlm6y2vqsw68m7l7w4vnii17b7hspb-attoparsec-0.13.1.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/s9insgfyac2nx5pg872bzb7kqmmwccdz-bifunctors-5.4.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ih1qxic2mibmrxj92h46b52prlzpq4bd-cabal-install-2.0.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/q95zaayj9fy927lmma88widjmvnkwj2k-comonad-5.0.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/7y3vk43xdr05lh1i1bb354vr71nn3v5n-distributive-0.5.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/w1lw5cmm07lb8qgj05aj60gcbgji6asa-foldl-1.2.5.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/1jiqg76ag2zv36ljdayjfggjw6lyl6dk-free-4.12.4.drv': 1 dependencies couldn't be built
building '/nix/store/d0gsxgh5c6ibfzfqwkqxvpm82akvz2i6-grpc-e2cfe9d.drv'...
cannot build derivation '/nix/store/r7n7cvprcfbj3i2di9dcw5lsmlps9f4b-grpc-haskell-0.0.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/lalrg0fzy6fd50d7w8qba8y3shvma8y5-grpc-haskell-core-0.0.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/xgr9vqlm9zhbiswhxcpdgp1h5gvlwlvf-insert-ordered-containers-0.2.1.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bgxbsc8426smxq833aw9gjq28hq3qgd8-kan-extensions-5.0.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/v0a8i4wga6f7qm1z56j0rlbpkl9c2kbc-lens-4.15.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/d55az882hyk7klmq63fm34fw2g9hk8c1-neat-interpolation-0.3.2.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wpj053azh8hyjb7vsxbqj9l6jplmd8yy-optparse-applicative-0.14.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/r23mxxvjwvnhni6iqbva0zx43snxq075-optparse-generic-1.2.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/1nr1cb2701fsrf7k6sr0nbfm4m2d8zjj-parsers-0.12.7.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/68qwbzs5c3pv0n8cxn4w5rkw2chnr9ax-profunctors-5.2.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/m0qi5dbbqp61k1f2zvhacb4v3pgjy538-proto3-suite-0.2.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dqbp6wnmhcgqv12y4ms6cnkljrqv4gka-proto3-wire-1.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/lg76hjl7bdas17h2b811014xqf1ifxc7-range-set-list-0.1.2.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/vfkdnlqviqa0saz64n74fq5a89p5hzv3-scientific-0.3.5.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/032jbcs4xj30sgz1503s98zlr52ywnkn-semigroupoids-5.2.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/jpr1aac5i9hq8val2jwip5wxlxfhcmmf-swagger2-2.1.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/81mfrc5rfnpc1y0xylpjhlrjdmp0yckw-tasty-0.11.2.5.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/qkxni0wjw9x2417m0s7jyp7aa8kjjl5x-tasty-hunit-0.9.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wqfsx6fzs8f6m0arzggxf5dh8gf1cn2g-tasty-quickcheck-0.8.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9a3z725rng8h389xrrdjrapk1pv9hvw6-temporary-1.2.1.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5im3nwha7sy4kli7riwvlb1mssn72n2q-turtle-1.3.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/py05cb08jbjrx3kjm46af78sg7kfy9p9-uuid-types-1.0.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/gml3l1dgy8s10hsaw0rlhjb3ygdjgrll-ghc-8.0.2-with-packages.drv': 1 dependencies couldn't be built
error: build of '/nix/store/0kxw473c8024gsgq1v58nf8pnzm625db-python-2.7.14-env.drv', '/nix/store/1b4b95dbzmmj2rkxrfkm4pfg5yx2r3j8-grpc-1.2.0-e2cfe9d.drv', '/nix/store/gml3l1dgy8s10hsaw0rlhjb3ygdjgrll-ghc-8.0.2-with-packages.drv', '/nix/store/zyfbs2px8il9hl7bfrzqik3gzw2hlqwl-ghc-8.0.2-with-packages.drv' failed

I'm pretty new to nix and haskell too but I assume that this is something with dyld: Library not loaded: /usr/lib/system/libsystem_network.dylib so I digged in and found this NixOS/nix#2244 based on that I know that it's fixed but since in the project you pinned nixpkg I'm not getting the fix. Is that correct?
I was trying to change rev and sha256 in ./nixpkg.nix but no change in behavior. I tried even put there some bogus data but it doesn't seem to have any effect.

Could someone help me with that?

Additional info:

nix-env --version
nix-env (Nix) 2.2.2

nix-channel --list
nixpkgs https://nixos.org/channels/nixpkgs-unstable

MacOS 10.14.4

macOS /usr/include/time.h __attribute__ causes c2hs to fail when building examples

$ nix-shell release.nix -A grpc-haskell.env
...
[nix-shell:~/gRPC-haskell]$ stack build --flag grpc-haskell:with-examples
grpc-haskell-core-0.0.0.0: configure (lib)
aeson-pretty-0.8.5: download
insert-ordered-containers-0.2.1.0: download
grpc-haskell-core-0.0.0.0: build (lib)
aeson-pretty-0.8.5: configure
aeson-pretty-0.8.5: build
insert-ordered-containers-0.2.1.0: configure
insert-ordered-containers-0.2.1.0: build
aeson-pretty-0.8.5: copy/register
insert-ordered-containers-0.2.1.0: copy/register
Log files have been written to: /Users/foo/gRPC-haskell/.stack-work/logs/
Progress: 3/6
--  While building custom Setup.hs for package grpc-haskell-core-0.0.0.0 using:
      /Users/foo/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.24.2.0 build lib:grpc-haskell-core --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/foo/gRPC-haskell/.stack-work/logs/grpc-haskell-core-0.0.0.0.log

    Configuring grpc-haskell-core-0.0.0.0...
    Preprocessing library grpc-haskell-core-0.0.0.0...
    c2hs: C header contains errors:

    /usr/include/time.h:153: (column 72) [ERROR]  >>> Syntax error !
      The symbol `__attribute__' does not fit here.

Fix the stack build

I'm unable to build the examples from master on a stock Ubuntu VM using Stack. I'm following the instructions on the README.

Steps to reproduce:

  1. Grab an Ubuntu VM. I've tried several versions, including 20.10 and 18.04 LTS.
  2. Run 'sudo apt-get update`
  3. Generate an SSH key and upload it to GitHub. This step is required because stack.yaml uses GitHub urls that start with "git://", which forces the use to authenticate. This would be simplified if stack.yaml used the https GitHub urls.
  4. Install Stack following https://docs.haskellstack.org/en/stable/install_and_upgrade/. I also tried older versions of Stack to try to build older commits.
  5. Install Nix following https://nixos.org/download.html
  6. git clone https://github.com/awakesecurity/gRPC-haskell.git
  7. Run nix-shell release.nix -A grpc-haskell.env, which succeeds.
  8. Run stack build --fast && stack test --fast, which fails.

Expected result: Build succeeds.

Actual result:

build fails with an error

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for grpc-haskell-0.0.2.0:
    proto3-suite-0.4.0.0 from stack configuration does not match >=0.4.2.0 
    proto3-wire-1.1.0 from stack configuration does not match >=1.2.0  (latest matching version is 1.2.0)
needed since grpc-haskell is a build target.

It is straightforward to fix stack build by upgrading the dependencies in stack.yaml. However, stack test and stack build --flag grpc-haskell:with-examples both fail. Both complain about missing dependencies.

I tried installing various versions of grpc in the ambient OS (outside of the nix shell), but that did not help. For example, I tried gRPC 1.2 and gRPC 1.22 with various git commits.

I'm unable to make the instructions as written work with any combination of Stack, Ubuntu, and gRPC or any git commit. My guess is that when the Stack build works it's because it's pulling extra dependencies from the developers' machines, and those dependencies aren't explicitly modeled in the build configs.

Comment causes nix build to fail

Until I removed the following comment...

https://github.com/awakesecurity/gRPC-haskell/blob/master/src/Network/GRPC/HighLevel/Client.hs#L58

...the following command failed...

nix-shell release.nix -A grpc-haskell.env

...with this output...

Preprocessing library grpc-haskell-0.0.0.0...
Preprocessing library grpc-haskell-0.0.0.0...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: fail-4.9.0.0, swagger2-2.1.6

src/Network/GRPC/HighLevel/Client.hs:58:5: error:
    parse error on input ‘-- ^ The final field will be invoked once, and it should repeatedly
import Network.GRPC.LowLevel.Op (WritesDone)
    -- invoke its final argument (of type @(StreamRecv response)@)
    -- in order to obtain the streaming response incrementally.’
Haddock coverage:
   3% (  1 / 30) in 'Network.GRPC.HighLevel.Server'
  Missing documentation for:

Using nix-shell (Nix) 2.0.4, and a fresh checkout of gRPC-haskell on a fully up-to-date macOS.

Proposal: split out a `gRPC-haskell-lowlevel` package

We are interested in using gRPC-haskell with proto-lens (specifically, the GRPC low-level API). One of the main blockers for adding such functionality into proto-lens itself is that gRPC-haskell depends on proto3-suite which overlaps with the functionality of proto-lens.

I propose the following changes:

  • Move Network.GRPC.{LowLevel,Unsafe} to another package named gRPC-haskell-lowlevel (or something else), located within this same repository
  • Optionally, use reexported-modules to reexport those modules in the gRPC-haskell package itself, for backwards compatibility.

I can create and send a PR with those changes, but wanted to check in first; please let me know whether that approach sounds reasonable.

How to return errors to clients?

It's a bit unclear to me how one is supposed to return an error to a client for a 'normal' RPC request, except by throwing an exception in a handler (which is quite ugly, because then said error gets logged as well, which may not be useful at all).

A handler is supposed to return a ServerResponse 'Normal respType, which is ServerNormalResponse :: respType -> MetadataMap -> StatusCode -> StatusDetails -> ServerResponse 'Normal respType. When a handler fails, i.e. is unable to calculate a proper value of respType, how is one supposed to return a response with e.g. StatusAborted to the client?

Put it on Hackage

I couldn't figure out why these libraries aren't on Hackage/Stackage, but need installing from git?

format of `packages` in stack.yaml seems to be older one

Firstly, thanks to maintaining gRPC-haskell.
I'm new to here as well as Haskell, so I'm sorry if there's some misunderstanding of them in this issue.

While I'm tried to use gRPC-haskell with stack, stack complained that yaml format is not correct.
It seems that the format of packages is changed in somewhere after stack 1.11, according to below information:
http://docs.haskellstack.org/en/stable/yaml_configuration/#packages
I modified stack.yaml for a bit and stack works correctly(I have the commit on my fork)
Just move some items from packages to extra-deps

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.