Linker error when attempting to create a shell with tools from `hevm/0.49.0` release
mitchmindtree opened this issue · comments
I'm attempting to write a little nix shell for myself that makes it easier to play with dapptools
in a manner that doesn't involve imperative installation using nix-env
. Here's the WIP shell derivation:
# sol-dev.nix
let
dapptools-repo = fetchTarball {
# Release `hevm/0.49.0`
url = "https://github.com/dapphub/dapptools/archive/fb9476ded759da44c449eb391cc67bfb0df61112.tar.gz";
sha256 = "1aan8mq7mbj90hfblha92wynvxyckrlwsnq7av4mqms574fmq842";
};
dapptools-overlay = import "${dapptools-repo}/overlay.nix";
pkgs = import <nixpkgs> { overlays = [ dapptools-overlay ]; };
in with pkgs; stdenv.mkDerivation {
name = "sol-dev-env";
buildInputs = [ dapp hevm seth ethsign ];
}
When attempting to open a shell with nix-shell --pure sol-dev.nix
, I run into the following error during the hevm build's linker step:
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
Here's the full output in case it's useful:
output.log
these derivations will be built:
/nix/store/v5jlfv6sjncwzirw5lrh0v2whcx1q9pf-hevm-0.49.0.drv
/nix/store/gsvzssk0dg6anhdignlyqdiychq4kz1a-seth-0.12.0.drv
/nix/store/4g70b3cgcr7j910r0gwqgyhjs3lz2qq0-dapp-0.35.0.drv
building '/nix/store/v5jlfv6sjncwzirw5lrh0v2whcx1q9pf-hevm-0.49.0.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/m1nfxj7x22vkjfwl6ijkf6ws8v04sqnl-ghc-8.10.7.
unpacking sources
unpacking source archive /nix/store/0swxk293qxh1g5l8zpjssc75xg11dcnr-hevm
source root is hevm
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/setup-package.conf.d -j8 +RTS -A64M -RTS -threaded -rtsopts
[1 of 1] Compiling Main ( Setup.hs, /build/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/0hbqxy52p64rsqfp2l57b5j1qr95i418-hevm-0.49.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --datadir=/nix/store/317d1xxzr97ib26m40b8grzn939bmznh-hevm-0.49.0-data/share/ghc-8.10.7 --with-gcc=gcc --package-db=/build/package.conf.d --ghc-options=-j8 +RTS -A64M -RTS --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --ghc-option=-split-sections --ghc-option=-O2 --enable-executable-static --extra-lib-dirs=/nix/store/bzzpjv5nmwip0hliczkm4drc63ws7lpd-gmp-6.2.1/lib --extra-lib-dirs=/nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib --extra-lib-dirs=/nix/store/k00hdcd5m68gm7yma90k2d79qkz5wp51-libff-1.0.0/lib --extra-lib-dirs=/nix/store/9r2dlafrz0h1kx9qqjj6drxqqm2q3awm-ncurses-6.2/lib --extra-lib-dirs=/nix/store/8ach4ih28yj3vyxhh61cwjm05dv4x93p-zlib-1.2.11-static/lib --extra-lib-dirs=/nix/store/8m0ya7gzkxd3drg69wdz6ln864bkn60g-libffi-3.4.2/lib --extra-lib-dirs=/nix/store/jjv2lgwg9a5wg88xaa195fa47r6skfiz-ncurses-6.2/lib --extra-lib-dirs=/nix/store/8jw7q260l0q5yygr2n2wiya9qfmpmihp-libffi-3.4.2/lib --extra-lib-dirs=/nix/store/8ajyhan7i50rg5brks3bbfplrlbgglrj-gmp-6.2.1/lib --extra-include-dirs=/nix/store/xnyzlkh30wajv9xfimdmr2b2cp6hinma-libff-1.0.0/include --extra-lib-dirs=/nix/store/xnyzlkh30wajv9xfimdmr2b2cp6hinma-libff-1.0.0/lib --extra-include-dirs=/nix/store/8fp27lhk6i1wz9a4anwcx7iswswlynx4-secp256k1-unstable-2021-06-06/include --extra-lib-dirs=/nix/store/8fp27lhk6i1wz9a4anwcx7iswswlynx4-secp256k1-unstable-2021-06-06/lib
Using Parsec parser
Configuring hevm-0.49.0...
Dependency Decimal >=0.5.1 && <0.6: using Decimal-0.5.2
Dependency QuickCheck >=2.13.2 && <2.15: using QuickCheck-2.14.2
Dependency abstract-par >=0.3.3 && <0.4: using abstract-par-0.3.3
Dependency aeson >=1.5.6 && <1.6: using aeson-1.5.6.0
Dependency ansi-wl-pprint >=0.6.9 && <0.7: using ansi-wl-pprint-0.6.9
Dependency base >=4.9 && <5: using base-4.14.3.0
Dependency base16-bytestring >=1.0.0 && <2.0: using base16-bytestring-1.0.2.0
Dependency binary >=0.8.6 && <0.9: using binary-0.8.8.0
Dependency brick >=0.58 && <0.63: using brick-0.62
Dependency bytestring >=0.10.8 && <0.11: using bytestring-0.10.12.0
Dependency cereal >=0.5.8 && <0.6: using cereal-0.5.8.2
Dependency containers >=0.6.0 && <0.7: using containers-0.6.5.1
Dependency cryptonite >=0.27 && <=0.29: using cryptonite-0.29
Dependency data-dword >=0.3.1 && <0.4: using data-dword-0.3.2
Dependency deepseq >=1.4.4 && <1.5: using deepseq-1.4.4.0
Dependency directory >=1.3.3 && <1.4: using directory-1.3.6.0
Dependency fgl >=5.7.0 && <5.8: using fgl-5.7.0.3
Dependency filepath >=1.4.2 && <1.5: using filepath-1.4.2.1
Dependency free >=5.1.3 && <5.2: using free-5.1.7
Dependency haskeline >=0.8.0 && <0.9: using haskeline-0.8.2
Dependency here >=1.2.13 && <1.3: using here-1.2.13
Dependency lens >=4.17.1 && <4.20: using lens-4.19.2
Dependency lens-aeson >=1.0.2 && <1.2: using lens-aeson-1.1.2
Dependency megaparsec >=9.0.0 && <10.0: using megaparsec-9.0.1
Dependency memory >=0.14.18 && <0.16: using memory-0.15.0
Dependency monad-par >=0.3.5 && <0.4: using monad-par-0.3.5
Dependency mtl >=2.2.2 && <2.3: using mtl-2.2.2
Dependency multiset >=0.3.4 && <0.4: using multiset-0.3.4.3
Dependency operational >=0.2.3 && <0.3: using operational-0.2.4.0
Dependency optparse-generic >=1.3.1 && <1.5: using optparse-generic-1.4.6
Dependency process >=1.6.5 && <1.7: using process-1.6.13.2
Dependency quickcheck-text >=0.1.2 && <0.2: using quickcheck-text-0.1.2.1
Dependency regex-tdfa >=1.2.3 && <1.4: using regex-tdfa-1.3.1.1
Dependency restless-git ==0.7.*: using restless-git-0.7
Dependency rosezipper ==0.2.*: using rosezipper-0.2
Dependency s-cargot >=0.1.4 && <0.2: using s-cargot-0.1.4.0
Dependency sbv >=8.9: using sbv-8.15
Dependency scientific >=0.3.6 && <0.4: using scientific-0.3.7.0
Dependency semver-range >=0.2.7 && <0.3: using semver-range-0.2.8
Dependency temporary ==1.3.*: using temporary-1.3
Dependency text >=1.2.3 && <1.3: using text-1.2.4.1
Dependency text-format >=0.3.2 && <0.4: using text-format-0.3.2
Dependency time >=1.8.0 && <1.11: using time-1.9.3
Dependency transformers >=0.5.6 && <0.6: using transformers-0.5.6.2
Dependency tree-view ==0.5.*: using tree-view-0.5.1
Dependency unordered-containers >=0.2.10 && <0.3: using
unordered-containers-0.2.14.0
Dependency vector >=0.12.1 && <0.13: using vector-0.12.3.1
Dependency vty >=5.25.1 && <5.34: using vty-5.33
Dependency witherable >=0.3.5 && <0.5: using witherable-0.4.2
Dependency wreq >=0.5.3 && <0.6: using wreq-0.5.3.3
Dependency QuickCheck -any: using QuickCheck-2.14.2
Dependency aeson -any: using aeson-1.5.6.0
Dependency ansi-wl-pprint -any: using ansi-wl-pprint-0.6.9
Dependency async -any: using async-2.2.4
Dependency base -any: using base-4.14.3.0
Dependency base16-bytestring -any: using base16-bytestring-1.0.2.0
Dependency binary -any: using binary-0.8.8.0
Dependency brick -any: using brick-0.62
Dependency bytestring -any: using bytestring-0.10.12.0
Dependency containers -any: using containers-0.6.5.1
Dependency cryptonite -any: using cryptonite-0.29
Dependency data-dword -any: using data-dword-0.3.2
Dependency deepseq -any: using deepseq-1.4.4.0
Dependency directory -any: using directory-1.3.6.0
Dependency filepath -any: using filepath-1.4.2.1
Dependency free -any: using free-5.1.7
Dependency hevm -any: using hevm-0.49.0
Dependency lens -any: using lens-4.19.2
Dependency lens-aeson -any: using lens-aeson-1.1.2
Dependency memory -any: using memory-0.15.0
Dependency mtl -any: using mtl-2.2.2
Dependency operational -any: using operational-0.2.4.0
Dependency optparse-generic -any: using optparse-generic-1.4.6
Dependency process -any: using process-1.6.13.2
Dependency quickcheck-text -any: using quickcheck-text-0.1.2.1
Dependency regex-tdfa -any: using regex-tdfa-1.3.1.1
Dependency sbv -any: using sbv-8.15
Dependency temporary -any: using temporary-1.3
Dependency text -any: using text-1.2.4.1
Dependency text-format -any: using text-format-0.3.2
Dependency unordered-containers -any: using unordered-containers-0.2.14.0
Dependency vector -any: using vector-0.12.3.1
Dependency vty -any: using vty-5.33
Dependency HUnit >=1.6: using HUnit-1.6.2.0
Dependency QuickCheck -any: using QuickCheck-2.14.2
Dependency base -any: using base-4.14.3.0
Dependency base16-bytestring -any: using base16-bytestring-1.0.2.0
Dependency binary -any: using binary-0.8.8.0
Dependency bytestring -any: using bytestring-0.10.12.0
Dependency containers -any: using containers-0.6.5.1
Dependency free -any: using free-5.1.7
Dependency here -any: using here-1.2.13
Dependency hevm -any: using hevm-0.49.0
Dependency lens -any: using lens-4.19.2
Dependency mtl -any: using mtl-2.2.2
Dependency sbv -any: using sbv-8.15
Dependency tasty >=1.0: using tasty-1.4.2
Dependency tasty-hunit >=0.10: using tasty-hunit-0.10.0.3
Dependency tasty-quickcheck >=0.9: using tasty-quickcheck-0.10.1.2
Dependency text -any: using text-1.2.4.1
Dependency vector -any: using vector-0.12.3.1
Source component graph:
component lib
component exe:hevm dependency lib
component test:test dependency lib
Configured component graph:
component hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM
include Decimal-0.5.2-CREOYauIC8L2nQIaOAAUpc
include QuickCheck-2.14.2-LnAekkDY9lpEHhc1zrdrc6
include abstract-par-0.3.3-FOwYjusRplXKjnCmAN2H2X
include aeson-1.5.6.0-BJDOUZRCk2WG96msIm3dEW
include ansi-wl-pprint-0.6.9-C805La7BvHdB53XO8GGzbO
include base-4.14.3.0
include base16-bytestring-1.0.2.0-4uEreLBAb4sId4vXaU1KFZ
include binary-0.8.8.0
include brick-0.62-K8hRY4DSCcjDuYhXX8LMf5
include bytestring-0.10.12.0
include cereal-0.5.8.2-7ddQioIHTZNSBtDB344Mn
include containers-0.6.5.1
include cryptonite-0.29-Bc51cmj1s5TEuimBjzgMVv
include data-dword-0.3.2-JH6XMwRWstK5onUPjJBTD
include deepseq-1.4.4.0
include directory-1.3.6.0
include fgl-5.7.0.3-1n6d90XG6W53f7wN5kKQGw
include filepath-1.4.2.1
include free-5.1.7-HoevyB9ZW7xKp6OpuEYdJs
include haskeline-0.8.2
include here-1.2.13-JShjHCroSGH6Vd5Hp6Wo48
include lens-4.19.2-BfTCUuKkOwvDIUf26OeKoU
include lens-aeson-1.1.2-BYkhndzV1QKLUYJQeO8ts
include megaparsec-9.0.1-BK8cf50OrfD1ab66ZFCdFY
include memory-0.15.0-EMCKRb89UubC3qqFetWNBn
include monad-par-0.3.5-11qJNehr2mg9GigviWKZU7
include mtl-2.2.2
include multiset-0.3.4.3-3YdXsRxKq1hFEElPbEXlBs
include operational-0.2.4.0-Ca24MHRrc1E4HuoKZtivOo
include optparse-generic-1.4.6-E34KbCXg5PjIiHjWRijrMw
include process-1.6.13.2
include quickcheck-text-0.1.2.1-WBFOtvt9WBKRxD6OGByJi
include regex-tdfa-1.3.1.1-BCwLgMu8bIkHqgL3aGwfi5
include restless-git-0.7-UFSiNKIO7JAhtXDrJuQ9A
include rosezipper-0.2-adsm9153OEDbnOIh6bAbX
include s-cargot-0.1.4.0-3Y0Ore38PdfKk8mOiNNPdc
include sbv-8.15-I0puaKqGYlK4SCg7H5PVvM
include scientific-0.3.7.0-efZQihtFc48ez8vnBQBEb
include semver-range-0.2.8-8nVEb8L2fU05xIZQX5QJsy
include temporary-1.3-FvN8Zh2ZED0GQUsf4cjl3m
include text-1.2.4.1
include text-format-0.3.2-70ROTENnDNbH1sU3dlVuI0
include time-1.9.3
include transformers-0.5.6.2
include tree-view-0.5.1-BiraaYGE8RhIxCXxwQIJvi
include unordered-containers-0.2.14.0-8OGlGG27g8sAP0xnspajqs
include vector-0.12.3.1-GuyXuhm5vkg2DJyR57RlvI
include vty-5.33-J3vZo26SrP35UwerjjNbhR
include witherable-0.4.2-DUBLDgFaK7vIM9L5jeCZ4E
include wreq-0.5.3.3-77Dyek7iySYBpVjyTttpCV
component hevm-0.49.0-LH3cqZEvt8nLw09I1xC6YC-hevm
include QuickCheck-2.14.2-LnAekkDY9lpEHhc1zrdrc6
include aeson-1.5.6.0-BJDOUZRCk2WG96msIm3dEW
include ansi-wl-pprint-0.6.9-C805La7BvHdB53XO8GGzbO
include async-2.2.4-LKRgh7sYqdW6DtVnwO4xUI
include base-4.14.3.0
include base16-bytestring-1.0.2.0-4uEreLBAb4sId4vXaU1KFZ
include binary-0.8.8.0
include brick-0.62-K8hRY4DSCcjDuYhXX8LMf5
include bytestring-0.10.12.0
include containers-0.6.5.1
include cryptonite-0.29-Bc51cmj1s5TEuimBjzgMVv
include data-dword-0.3.2-JH6XMwRWstK5onUPjJBTD
include deepseq-1.4.4.0
include directory-1.3.6.0
include filepath-1.4.2.1
include free-5.1.7-HoevyB9ZW7xKp6OpuEYdJs
include hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM
include lens-4.19.2-BfTCUuKkOwvDIUf26OeKoU
include lens-aeson-1.1.2-BYkhndzV1QKLUYJQeO8ts
include memory-0.15.0-EMCKRb89UubC3qqFetWNBn
include mtl-2.2.2
include operational-0.2.4.0-Ca24MHRrc1E4HuoKZtivOo
include optparse-generic-1.4.6-E34KbCXg5PjIiHjWRijrMw
include process-1.6.13.2
include quickcheck-text-0.1.2.1-WBFOtvt9WBKRxD6OGByJi
include regex-tdfa-1.3.1.1-BCwLgMu8bIkHqgL3aGwfi5
include sbv-8.15-I0puaKqGYlK4SCg7H5PVvM
include temporary-1.3-FvN8Zh2ZED0GQUsf4cjl3m
include text-1.2.4.1
include text-format-0.3.2-70ROTENnDNbH1sU3dlVuI0
include unordered-containers-0.2.14.0-8OGlGG27g8sAP0xnspajqs
include vector-0.12.3.1-GuyXuhm5vkg2DJyR57RlvI
include vty-5.33-J3vZo26SrP35UwerjjNbhR
component hevm-0.49.0-HbgBp8SedTLZxaJGBdBw4-test
include HUnit-1.6.2.0-7DKjurhu5hr9jKXrIpNRxV
include QuickCheck-2.14.2-LnAekkDY9lpEHhc1zrdrc6
include base-4.14.3.0
include base16-bytestring-1.0.2.0-4uEreLBAb4sId4vXaU1KFZ
include binary-0.8.8.0
include bytestring-0.10.12.0
include containers-0.6.5.1
include free-5.1.7-HoevyB9ZW7xKp6OpuEYdJs
include here-1.2.13-JShjHCroSGH6Vd5Hp6Wo48
include hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM
include lens-4.19.2-BfTCUuKkOwvDIUf26OeKoU
include mtl-2.2.2
include sbv-8.15-I0puaKqGYlK4SCg7H5PVvM
include tasty-1.4.2-8uNODzuO8iuERCqkmI6DdY
include tasty-hunit-0.10.0.3-7LGqFUvb8q5LYq7uuCTUBm
include tasty-quickcheck-0.10.1.2-1X1mgcPW5Q86feFgT0Kvk0
include text-1.2.4.1
include vector-0.12.3.1-GuyXuhm5vkg2DJyR57RlvI
Linked component graph:
unit hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM
include Decimal-0.5.2-CREOYauIC8L2nQIaOAAUpc
include QuickCheck-2.14.2-LnAekkDY9lpEHhc1zrdrc6
include abstract-par-0.3.3-FOwYjusRplXKjnCmAN2H2X
include aeson-1.5.6.0-BJDOUZRCk2WG96msIm3dEW
include ansi-wl-pprint-0.6.9-C805La7BvHdB53XO8GGzbO
include base-4.14.3.0
include base16-bytestring-1.0.2.0-4uEreLBAb4sId4vXaU1KFZ
include binary-0.8.8.0
include brick-0.62-K8hRY4DSCcjDuYhXX8LMf5
include bytestring-0.10.12.0
include cereal-0.5.8.2-7ddQioIHTZNSBtDB344Mn
include containers-0.6.5.1
include cryptonite-0.29-Bc51cmj1s5TEuimBjzgMVv
include data-dword-0.3.2-JH6XMwRWstK5onUPjJBTD
include deepseq-1.4.4.0
include directory-1.3.6.0
include fgl-5.7.0.3-1n6d90XG6W53f7wN5kKQGw
include filepath-1.4.2.1
include free-5.1.7-HoevyB9ZW7xKp6OpuEYdJs
include haskeline-0.8.2
include here-1.2.13-JShjHCroSGH6Vd5Hp6Wo48
include lens-4.19.2-BfTCUuKkOwvDIUf26OeKoU
include lens-aeson-1.1.2-BYkhndzV1QKLUYJQeO8ts
include megaparsec-9.0.1-BK8cf50OrfD1ab66ZFCdFY
include memory-0.15.0-EMCKRb89UubC3qqFetWNBn
include monad-par-0.3.5-11qJNehr2mg9GigviWKZU7
include mtl-2.2.2
include multiset-0.3.4.3-3YdXsRxKq1hFEElPbEXlBs
include operational-0.2.4.0-Ca24MHRrc1E4HuoKZtivOo
include optparse-generic-1.4.6-E34KbCXg5PjIiHjWRijrMw
include process-1.6.13.2
include quickcheck-text-0.1.2.1-WBFOtvt9WBKRxD6OGByJi
include regex-tdfa-1.3.1.1-BCwLgMu8bIkHqgL3aGwfi5
include restless-git-0.7-UFSiNKIO7JAhtXDrJuQ9A
include rosezipper-0.2-adsm9153OEDbnOIh6bAbX
include s-cargot-0.1.4.0-3Y0Ore38PdfKk8mOiNNPdc
include sbv-8.15-I0puaKqGYlK4SCg7H5PVvM
include scientific-0.3.7.0-efZQihtFc48ez8vnBQBEb
include semver-range-0.2.8-8nVEb8L2fU05xIZQX5QJsy
include temporary-1.3-FvN8Zh2ZED0GQUsf4cjl3m
include text-1.2.4.1
include text-format-0.3.2-70ROTENnDNbH1sU3dlVuI0
include time-1.9.3
include transformers-0.5.6.2
include tree-view-0.5.1-BiraaYGE8RhIxCXxwQIJvi
include unordered-containers-0.2.14.0-8OGlGG27g8sAP0xnspajqs
include vector-0.12.3.1-GuyXuhm5vkg2DJyR57RlvI
include vty-5.33-J3vZo26SrP35UwerjjNbhR
include witherable-0.4.2-DUBLDgFaK7vIM9L5jeCZ4E
include wreq-0.5.3.3-77Dyek7iySYBpVjyTttpCV
EVM=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM,EVM.ABI=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.ABI,EVM.Concrete=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Concrete,EVM.Dapp=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Dapp,EVM.Debug=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Debug,EVM.Demand=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Demand,EVM.Dev=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Dev,EVM.Emacs=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Emacs,EVM.Exec=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Exec,EVM.Facts=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Facts,EVM.Facts.Git=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Facts.Git,EVM.FeeSchedule=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.FeeSchedule,EVM.Fetch=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Fetch,EVM.Flatten=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Flatten,EVM.Format=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Format,EVM.Hexdump=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Hexdump,EVM.Op=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Op,EVM.Patricia=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Patricia,EVM.Precompiled=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Precompiled,EVM.RLP=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.RLP,EVM.Solidity=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Solidity,EVM.Stepper=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Stepper,EVM.StorageLayout=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.StorageLayout,EVM.SymExec=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.SymExec,EVM.Symbolic=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Symbolic,EVM.TTY=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.TTY,EVM.TTYCenteredList=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.TTYCenteredList,EVM.Transaction=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Transaction,EVM.Types=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.Types,EVM.UnitTest=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.UnitTest,EVM.VMTest=hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM:EVM.VMTest
unit hevm-0.49.0-LH3cqZEvt8nLw09I1xC6YC-hevm
include QuickCheck-2.14.2-LnAekkDY9lpEHhc1zrdrc6
include aeson-1.5.6.0-BJDOUZRCk2WG96msIm3dEW
include ansi-wl-pprint-0.6.9-C805La7BvHdB53XO8GGzbO
include async-2.2.4-LKRgh7sYqdW6DtVnwO4xUI
include base-4.14.3.0
include base16-bytestring-1.0.2.0-4uEreLBAb4sId4vXaU1KFZ
include binary-0.8.8.0
include brick-0.62-K8hRY4DSCcjDuYhXX8LMf5
include bytestring-0.10.12.0
include containers-0.6.5.1
include cryptonite-0.29-Bc51cmj1s5TEuimBjzgMVv
include data-dword-0.3.2-JH6XMwRWstK5onUPjJBTD
include deepseq-1.4.4.0
include directory-1.3.6.0
include filepath-1.4.2.1
include free-5.1.7-HoevyB9ZW7xKp6OpuEYdJs
include hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM
include lens-4.19.2-BfTCUuKkOwvDIUf26OeKoU
include lens-aeson-1.1.2-BYkhndzV1QKLUYJQeO8ts
include memory-0.15.0-EMCKRb89UubC3qqFetWNBn
include mtl-2.2.2
include operational-0.2.4.0-Ca24MHRrc1E4HuoKZtivOo
include optparse-generic-1.4.6-E34KbCXg5PjIiHjWRijrMw
include process-1.6.13.2
include quickcheck-text-0.1.2.1-WBFOtvt9WBKRxD6OGByJi
include regex-tdfa-1.3.1.1-BCwLgMu8bIkHqgL3aGwfi5
include sbv-8.15-I0puaKqGYlK4SCg7H5PVvM
include temporary-1.3-FvN8Zh2ZED0GQUsf4cjl3m
include text-1.2.4.1
include text-format-0.3.2-70ROTENnDNbH1sU3dlVuI0
include unordered-containers-0.2.14.0-8OGlGG27g8sAP0xnspajqs
include vector-0.12.3.1-GuyXuhm5vkg2DJyR57RlvI
include vty-5.33-J3vZo26SrP35UwerjjNbhR
unit hevm-0.49.0-HbgBp8SedTLZxaJGBdBw4-test
include HUnit-1.6.2.0-7DKjurhu5hr9jKXrIpNRxV
include QuickCheck-2.14.2-LnAekkDY9lpEHhc1zrdrc6
include base-4.14.3.0
include base16-bytestring-1.0.2.0-4uEreLBAb4sId4vXaU1KFZ
include binary-0.8.8.0
include bytestring-0.10.12.0
include containers-0.6.5.1
include free-5.1.7-HoevyB9ZW7xKp6OpuEYdJs
include here-1.2.13-JShjHCroSGH6Vd5Hp6Wo48
include hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM
include lens-4.19.2-BfTCUuKkOwvDIUf26OeKoU
include mtl-2.2.2
include sbv-8.15-I0puaKqGYlK4SCg7H5PVvM
include tasty-1.4.2-8uNODzuO8iuERCqkmI6DdY
include tasty-hunit-0.10.0.3-7LGqFUvb8q5LYq7uuCTUBm
include tasty-quickcheck-0.10.1.2-1X1mgcPW5Q86feFgT0Kvk0
include text-1.2.4.1
include vector-0.12.3.1-GuyXuhm5vkg2DJyR57RlvI
Ready component graph:
definite hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM
depends Decimal-0.5.2-CREOYauIC8L2nQIaOAAUpc
depends QuickCheck-2.14.2-LnAekkDY9lpEHhc1zrdrc6
depends abstract-par-0.3.3-FOwYjusRplXKjnCmAN2H2X
depends aeson-1.5.6.0-BJDOUZRCk2WG96msIm3dEW
depends ansi-wl-pprint-0.6.9-C805La7BvHdB53XO8GGzbO
depends base-4.14.3.0
depends base16-bytestring-1.0.2.0-4uEreLBAb4sId4vXaU1KFZ
depends binary-0.8.8.0
depends brick-0.62-K8hRY4DSCcjDuYhXX8LMf5
depends bytestring-0.10.12.0
depends cereal-0.5.8.2-7ddQioIHTZNSBtDB344Mn
depends containers-0.6.5.1
depends cryptonite-0.29-Bc51cmj1s5TEuimBjzgMVv
depends data-dword-0.3.2-JH6XMwRWstK5onUPjJBTD
depends deepseq-1.4.4.0
depends directory-1.3.6.0
depends fgl-5.7.0.3-1n6d90XG6W53f7wN5kKQGw
depends filepath-1.4.2.1
depends free-5.1.7-HoevyB9ZW7xKp6OpuEYdJs
depends haskeline-0.8.2
depends here-1.2.13-JShjHCroSGH6Vd5Hp6Wo48
depends lens-4.19.2-BfTCUuKkOwvDIUf26OeKoU
depends lens-aeson-1.1.2-BYkhndzV1QKLUYJQeO8ts
depends megaparsec-9.0.1-BK8cf50OrfD1ab66ZFCdFY
depends memory-0.15.0-EMCKRb89UubC3qqFetWNBn
depends monad-par-0.3.5-11qJNehr2mg9GigviWKZU7
depends mtl-2.2.2
depends multiset-0.3.4.3-3YdXsRxKq1hFEElPbEXlBs
depends operational-0.2.4.0-Ca24MHRrc1E4HuoKZtivOo
depends optparse-generic-1.4.6-E34KbCXg5PjIiHjWRijrMw
depends process-1.6.13.2
depends quickcheck-text-0.1.2.1-WBFOtvt9WBKRxD6OGByJi
depends regex-tdfa-1.3.1.1-BCwLgMu8bIkHqgL3aGwfi5
depends restless-git-0.7-UFSiNKIO7JAhtXDrJuQ9A
depends rosezipper-0.2-adsm9153OEDbnOIh6bAbX
depends s-cargot-0.1.4.0-3Y0Ore38PdfKk8mOiNNPdc
depends sbv-8.15-I0puaKqGYlK4SCg7H5PVvM
depends scientific-0.3.7.0-efZQihtFc48ez8vnBQBEb
depends semver-range-0.2.8-8nVEb8L2fU05xIZQX5QJsy
depends temporary-1.3-FvN8Zh2ZED0GQUsf4cjl3m
depends text-1.2.4.1
depends text-format-0.3.2-70ROTENnDNbH1sU3dlVuI0
depends time-1.9.3
depends transformers-0.5.6.2
depends tree-view-0.5.1-BiraaYGE8RhIxCXxwQIJvi
depends unordered-containers-0.2.14.0-8OGlGG27g8sAP0xnspajqs
depends vector-0.12.3.1-GuyXuhm5vkg2DJyR57RlvI
depends vty-5.33-J3vZo26SrP35UwerjjNbhR
depends witherable-0.4.2-DUBLDgFaK7vIM9L5jeCZ4E
depends wreq-0.5.3.3-77Dyek7iySYBpVjyTttpCV
definite hevm-0.49.0-HbgBp8SedTLZxaJGBdBw4-test
depends HUnit-1.6.2.0-7DKjurhu5hr9jKXrIpNRxV
depends QuickCheck-2.14.2-LnAekkDY9lpEHhc1zrdrc6
depends base-4.14.3.0
depends base16-bytestring-1.0.2.0-4uEreLBAb4sId4vXaU1KFZ
depends binary-0.8.8.0
depends bytestring-0.10.12.0
depends containers-0.6.5.1
depends free-5.1.7-HoevyB9ZW7xKp6OpuEYdJs
depends here-1.2.13-JShjHCroSGH6Vd5Hp6Wo48
depends hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM
depends lens-4.19.2-BfTCUuKkOwvDIUf26OeKoU
depends mtl-2.2.2
depends sbv-8.15-I0puaKqGYlK4SCg7H5PVvM
depends tasty-1.4.2-8uNODzuO8iuERCqkmI6DdY
depends tasty-hunit-0.10.0.3-7LGqFUvb8q5LYq7uuCTUBm
depends tasty-quickcheck-0.10.1.2-1X1mgcPW5Q86feFgT0Kvk0
depends text-1.2.4.1
depends vector-0.12.3.1-GuyXuhm5vkg2DJyR57RlvI
definite hevm-0.49.0-LH3cqZEvt8nLw09I1xC6YC-hevm
depends QuickCheck-2.14.2-LnAekkDY9lpEHhc1zrdrc6
depends aeson-1.5.6.0-BJDOUZRCk2WG96msIm3dEW
depends ansi-wl-pprint-0.6.9-C805La7BvHdB53XO8GGzbO
depends async-2.2.4-LKRgh7sYqdW6DtVnwO4xUI
depends base-4.14.3.0
depends base16-bytestring-1.0.2.0-4uEreLBAb4sId4vXaU1KFZ
depends binary-0.8.8.0
depends brick-0.62-K8hRY4DSCcjDuYhXX8LMf5
depends bytestring-0.10.12.0
depends containers-0.6.5.1
depends cryptonite-0.29-Bc51cmj1s5TEuimBjzgMVv
depends data-dword-0.3.2-JH6XMwRWstK5onUPjJBTD
depends deepseq-1.4.4.0
depends directory-1.3.6.0
depends filepath-1.4.2.1
depends free-5.1.7-HoevyB9ZW7xKp6OpuEYdJs
depends hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM
depends lens-4.19.2-BfTCUuKkOwvDIUf26OeKoU
depends lens-aeson-1.1.2-BYkhndzV1QKLUYJQeO8ts
depends memory-0.15.0-EMCKRb89UubC3qqFetWNBn
depends mtl-2.2.2
depends operational-0.2.4.0-Ca24MHRrc1E4HuoKZtivOo
depends optparse-generic-1.4.6-E34KbCXg5PjIiHjWRijrMw
depends process-1.6.13.2
depends quickcheck-text-0.1.2.1-WBFOtvt9WBKRxD6OGByJi
depends regex-tdfa-1.3.1.1-BCwLgMu8bIkHqgL3aGwfi5
depends sbv-8.15-I0puaKqGYlK4SCg7H5PVvM
depends temporary-1.3-FvN8Zh2ZED0GQUsf4cjl3m
depends text-1.2.4.1
depends text-format-0.3.2-70ROTENnDNbH1sU3dlVuI0
depends unordered-containers-0.2.14.0-8OGlGG27g8sAP0xnspajqs
depends vector-0.12.3.1-GuyXuhm5vkg2DJyR57RlvI
depends vty-5.33-J3vZo26SrP35UwerjjNbhR
Using Cabal-3.2.1.0 compiled by ghc-8.10
Using compiler: ghc-8.10.7
Using install prefix: /nix/store/0hbqxy52p64rsqfp2l57b5j1qr95i418-hevm-0.49.0
Executables installed in:
/nix/store/0hbqxy52p64rsqfp2l57b5j1qr95i418-hevm-0.49.0/bin
Libraries installed in:
/nix/store/0hbqxy52p64rsqfp2l57b5j1qr95i418-hevm-0.49.0/lib/ghc-8.10.7/x86_64-linux-ghc-8.10.7/hevm-0.49.0-HHNMFP4PjFPDTu1Tsq1CQM
Dynamic Libraries installed in:
/nix/store/0hbqxy52p64rsqfp2l57b5j1qr95i418-hevm-0.49.0/lib/ghc-8.10.7/x86_64-linux-ghc-8.10.7
Private executables installed in:
/nix/store/0hbqxy52p64rsqfp2l57b5j1qr95i418-hevm-0.49.0/libexec/x86_64-linux-ghc-8.10.7/hevm-0.49.0
Data files installed in:
/nix/store/317d1xxzr97ib26m40b8grzn939bmznh-hevm-0.49.0-data/share/ghc-8.10.7/x86_64-linux-ghc-8.10.7/hevm-0.49.0
Documentation installed in:
/nix/store/317d1xxzr97ib26m40b8grzn939bmznh-hevm-0.49.0-data/share/ghc-8.10.7/doc/x86_64-linux-ghc-8.10.7/hevm-0.49.0
Configuration files installed in:
/nix/store/0hbqxy52p64rsqfp2l57b5j1qr95i418-hevm-0.49.0/etc
No alex found
Using ar found on system at:
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 10.3.0 given by user at:
/nix/store/gkzmfpb04ddb7phzj8g9sl6saxzprssg-gcc-wrapper-10.3.0/bin/gcc
Using ghc version 8.10.7 found on system at:
/nix/store/m1nfxj7x22vkjfwl6ijkf6ws8v04sqnl-ghc-8.10.7/bin/ghc
Using ghc-pkg version 8.10.7 found on system at:
/nix/store/m1nfxj7x22vkjfwl6ijkf6ws8v04sqnl-ghc-8.10.7/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.24.2 found on system at:
/nix/store/m1nfxj7x22vkjfwl6ijkf6ws8v04sqnl-ghc-8.10.7/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.68 found on system at:
/nix/store/m1nfxj7x22vkjfwl6ijkf6ws8v04sqnl-ghc-8.10.7/bin/hpc
Using hsc2hs version 0.68.7 found on system at:
/nix/store/m1nfxj7x22vkjfwl6ijkf6ws8v04sqnl-ghc-8.10.7/bin/hsc2hs
No hscolour found
No jhc found
Using ld found on system at:
/nix/store/z3fj7lv606mcdllhg0q7d98lpgc7b21z-binutils-wrapper-2.35.2/bin/ld.gold
No pkg-config found
Using runghc version 8.10.7 found on system at:
/nix/store/m1nfxj7x22vkjfwl6ijkf6ws8v04sqnl-ghc-8.10.7/bin/runghc
Using strip version 2.35 found on system at:
/nix/store/gkzmfpb04ddb7phzj8g9sl6saxzprssg-gcc-wrapper-10.3.0/bin/strip
Using tar found on system at:
/nix/store/g05qzsx7dk2bg689p9ixms74xvmk81nh-gnutar-1.34/bin/tar
No uhc found
building
Preprocessing library for hevm-0.49.0..
Building library for hevm-0.49.0..
[ 1 of 32] Compiling EVM.Demand ( src/EVM/Demand.hs, dist/build/EVM/Demand.o, dist/build/EVM/Demand.dyn_o )
[ 2 of 32] Compiling EVM.FeeSchedule ( src/EVM/FeeSchedule.hs, dist/build/EVM/FeeSchedule.o, dist/build/EVM/FeeSchedule.dyn_o )
[ 3 of 32] Compiling EVM.Hexdump ( src/EVM/Hexdump.hs, dist/build/EVM/Hexdump.o, dist/build/EVM/Hexdump.dyn_o )
[ 4 of 32] Compiling EVM.Precompiled ( src/EVM/Precompiled.hs, dist/build/EVM/Precompiled.o, dist/build/EVM/Precompiled.dyn_o )
[ 5 of 32] Compiling EVM.TTYCenteredList ( src/EVM/TTYCenteredList.hs, dist/build/EVM/TTYCenteredList.o, dist/build/EVM/TTYCenteredList.dyn_o )
[ 6 of 32] Compiling EVM.Types ( src/EVM/Types.hs, dist/build/EVM/Types.o, dist/build/EVM/Types.dyn_o )
[ 7 of 32] Compiling EVM.RLP ( src/EVM/RLP.hs, dist/build/EVM/RLP.o, dist/build/EVM/RLP.dyn_o )
[ 8 of 32] Compiling EVM.Patricia ( src/EVM/Patricia.hs, dist/build/EVM/Patricia.o, dist/build/EVM/Patricia.dyn_o )
[ 9 of 32] Compiling EVM.Op ( src/EVM/Op.hs, dist/build/EVM/Op.o, dist/build/EVM/Op.dyn_o )
[10 of 32] Compiling EVM.Concrete ( src/EVM/Concrete.hs, dist/build/EVM/Concrete.o, dist/build/EVM/Concrete.dyn_o )
[11 of 32] Compiling EVM.Symbolic ( src/EVM/Symbolic.hs, dist/build/EVM/Symbolic.o, dist/build/EVM/Symbolic.dyn_o )
[12 of 32] Compiling EVM.ABI ( src/EVM/ABI.hs, dist/build/EVM/ABI.o, dist/build/EVM/ABI.dyn_o )
src/EVM/ABI.hs:525:3: warning: [-Wunused-do-bind]
A do-notation statement discarded a result of type ‘String’
Suppress this warning by saying ‘_ <- string "0x"’
|
525 | string "0x"
| ^^^^^^^^^^^
src/EVM/ABI.hs:529:10: warning: [-Wunused-matches]
Defined but not used: ‘d’
|
529 | Left d -> pfail
| ^
[13 of 32] Compiling EVM.Solidity ( src/EVM/Solidity.hs, dist/build/EVM/Solidity.o, dist/build/EVM/Solidity.dyn_o )
src/EVM/Solidity.hs:218:1: warning: [-Wunused-top-binds]
Defined but not used: ‘immutableReferences’
|
218 | makeLenses ''SolcContract
| ^^^^^^^^^^^^^^^^^^^^^^^^^
[14 of 32] Compiling EVM ( src/EVM.hs, dist/build/EVM.o, dist/build/EVM.dyn_o )
src/EVM.hs:55:1: warning: [-Wunused-imports]
The qualified import of ‘Data.Vector’ is redundant
except perhaps to import instances from ‘Data.Vector’
To import instances alone, use: import Data.Vector()
|
55 | import qualified Data.Vector as V
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/EVM.hs:2298:24: warning: [-Wunused-record-wildcards]
No variables bound in the record wildcard match are used
Possible fix: omit the ‘..’
|
2298 | FeeSchedule {..} = view ( block . schedule ) oldVm
| ^^
[15 of 32] Compiling EVM.Transaction ( src/EVM/Transaction.hs, dist/build/EVM/Transaction.o, dist/build/EVM/Transaction.dyn_o )
src/EVM/Transaction.hs:165:22: warning: [-Wtype-defaults]
• Defaulting the following constraints to type ‘Integer’
(Read a0)
arising from a use of ‘read’ at src/EVM/Transaction.hs:165:22-25
(Eq a0)
arising from the literal ‘0x00’ at src/EVM/Transaction.hs:167:12-15
(Num a0)
arising from the literal ‘0x00’ at src/EVM/Transaction.hs:167:12-15
• In the first argument of ‘fmap’, namely ‘read’
In the first argument of ‘(<$>)’, namely ‘fmap read’
In a stmt of a 'do' block:
txType <- fmap read <$> (val JSON..:? "type")
|
165 | txType <- fmap read <$> (val JSON..:? "type")
| ^^^^
[16 of 32] Compiling EVM.Fetch ( src/EVM/Fetch.hs, dist/build/EVM/Fetch.o, dist/build/EVM/Fetch.dyn_o )
[17 of 32] Compiling EVM.Facts ( src/EVM/Facts.hs, dist/build/EVM/Facts.o, dist/build/EVM/Facts.dyn_o )
src/EVM/Facts.hs:50:1: warning: [-Wunused-imports]
The import of ‘Data.Monoid’ is redundant
except perhaps to import instances from ‘Data.Monoid’
To import instances alone, use: import Data.Monoid()
|
50 | import Data.Monoid ((<>))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/EVM/Facts.hs:122:18: warning: [-Wunused-matches]
Defined but not used: ‘b’
|
122 | SymbolicBuffer b ->
| ^
[18 of 32] Compiling EVM.Facts.Git ( src/EVM/Facts/Git.hs, dist/build/EVM/Facts/Git.o, dist/build/EVM/Facts/Git.dyn_o )
[19 of 32] Compiling EVM.Exec ( src/EVM/Exec.hs, dist/build/EVM/Exec.o, dist/build/EVM/Exec.dyn_o )
[20 of 32] Compiling EVM.Stepper ( src/EVM/Stepper.hs, dist/build/EVM/Stepper.o, dist/build/EVM/Stepper.dyn_o )
[21 of 32] Compiling EVM.SymExec ( src/EVM/SymExec.hs, dist/build/EVM/SymExec.o, dist/build/EVM/SymExec.dyn_o )
[22 of 32] Compiling EVM.Debug ( src/EVM/Debug.hs, dist/build/EVM/Debug.o, dist/build/EVM/Debug.dyn_o )
[23 of 32] Compiling EVM.Dapp ( src/EVM/Dapp.hs, dist/build/EVM/Dapp.o, dist/build/EVM/Dapp.dyn_o )
[24 of 32] Compiling EVM.StorageLayout ( src/EVM/StorageLayout.hs, dist/build/EVM/StorageLayout.o, dist/build/EVM/StorageLayout.dyn_o )
[25 of 32] Compiling EVM.Format ( src/EVM/Format.hs, dist/build/EVM/Format.o, dist/build/EVM/Format.dyn_o )
[26 of 32] Compiling EVM.Flatten ( src/EVM/Flatten.hs, dist/build/EVM/Flatten.o, dist/build/EVM/Flatten.dyn_o )
src/EVM/Flatten.hs:460:24: warning: [-Wtype-defaults]
• Defaulting the following constraints to type ‘Integer’
(Num a0) arising from a use of ‘f’ at src/EVM/Flatten.hs:460:24
(Show a0) arising from a use of ‘f’ at src/EVM/Flatten.hs:460:24
• In the first argument of ‘foldl'’, namely ‘f’
In the second argument of ‘(.)’, namely ‘foldl' f ([], Map.empty)’
In the expression: fst . foldl' f ([], Map.empty)
|
460 | indexed = fst . foldl' f ([], Map.empty) -- (zip (fmap snd xs) $ replicate (length xs) 0) xs
| ^
[27 of 32] Compiling EVM.UnitTest ( src/EVM/UnitTest.hs, dist/build/EVM/UnitTest.o, dist/build/EVM/UnitTest.dyn_o )
[28 of 32] Compiling EVM.VMTest ( src/EVM/VMTest.hs, dist/build/EVM/VMTest.o, dist/build/EVM/VMTest.dyn_o )
src/EVM/VMTest.hs:169:1: warning: [-Worphans]
Orphan instance: instance FromJSON EVM.Contract
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
|
169 | instance FromJSON EVM.Contract where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
[29 of 32] Compiling Paths_hevm ( dist/build/autogen/Paths_hevm.hs, dist/build/Paths_hevm.o, dist/build/Paths_hevm.dyn_o )
[30 of 32] Compiling EVM.TTY ( src/EVM/TTY.hs, dist/build/EVM/TTY.o, dist/build/EVM/TTY.dyn_o )
[31 of 32] Compiling EVM.Emacs ( src/EVM/Emacs.hs, dist/build/EVM/Emacs.o, dist/build/EVM/Emacs.dyn_o )
src/EVM/Emacs.hs:85:7: warning: [-Wincomplete-patterns]
Pattern match(es) are non-exhaustive
In a case alternative:
Patterns not matched:
Stepper.Run
Stepper.Ask _
Stepper.IOAct _
|
85 | case action of
| ^^^^^^^^^^^^^^...
src/EVM/Emacs.hs:312:7: warning: [-Wunused-local-binds]
Defined but not used: ‘vm’
|
312 | let vm = view uiVm s
| ^^
src/EVM/Emacs.hs:313:7: warning: [-Wunused-local-binds]
Defined but not used: ‘sendHashes’
|
313 | sendHashes = Set.difference (allHashes vm) (view uiVmSentHashes s)
| ^^^^^^^^^^
src/EVM/Emacs.hs:314:7: warning: [-Wunused-local-binds]
Defined but not used: ‘sendCodes’
|
314 | sendCodes = Map.fromSet (`codeByHash` vm) sendHashes
| ^^^^^^^^^
[32 of 32] Compiling EVM.Dev ( src/EVM/Dev.hs, dist/build/EVM/Dev.o, dist/build/EVM/Dev.dyn_o )
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
/nix/store/rbqplhv2s539liymkvm3zbjj9lvgzpd5-binutils-2.35.2/bin/ld.gold: error: /nix/store/krz4iin6qwx74ipx96fy1khyz08l4j24-glibc-2.33-59-static/lib/libc.a(malloc.o): unsupported reloc 23 against local symbol
collect2: error: ld returned 1 exit status
`cc' failed in phase `Linker'. (Exit code: 1)
builder for '/nix/store/v5jlfv6sjncwzirw5lrh0v2whcx1q9pf-hevm-0.49.0.drv' failed with exit code 1
error: build of '/nix/store/4g70b3cgcr7j910r0gwqgyhjs3lz2qq0-dapp-0.35.0.drv', '/nix/store/gsvzssk0dg6anhdignlyqdiychq4kz1a-seth-0.12.0.drv', '/nix/store/v5jlfv6sjncwzirw5lrh0v2whcx1q9pf-hevm-0.49.0.drv' failed
A quick search for unsupported reloc 23 against local symbol
comes up with some issues at other repos that might indicate a mismatch in gcc/glibc versions, but I'm not quite sure how this could be occurring with nix when the gcc version in the build output has been out for a while. Any ideas on what might be going on here would be appreciated!
System Info
$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 5.15.7, NixOS, 21.11 (Porcupine)`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.3.16`
- channels(root): `"nixos-21.11.334534.2627c4b7951"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
hmmmm, interesting, I'm wondering if it's because you're applying our overlay to a different version of nixpkgs than we use in the dapptools repo?
Does the following shell work for you?
# sol-dev.nix
let
dapptools = import (fetchTarball {
# Release `hevm/0.49.0`
url = "https://github.com/dapphub/dapptools/archive/fb9476ded759da44c449eb391cc67bfb0df61112.tar.gz";
sha256 = "1aan8mq7mbj90hfblha92wynvxyckrlwsnq7av4mqms574fmq842";
}) {};
in with dapptools; stdenv.mkDerivation {
name = "sol-dev-env";
buildInputs = [ dapp hevm seth ethsign ];
}