# Pastebin zd2PxsJY bash-4.4# strace -e open nix-copy-closure --use-substitutes build-slave "$drv" open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/tls/x86_64/libnixmain.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/tls/libnixmain.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/x86_64/libnixmain.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libnixmain.so", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libnixutil.so", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libnixformat.so", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libnixstore.so", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/baidkxp1dsb5varjq06b5jsjf2a33hc1-gcc-5.4.0-lib/lib/tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/baidkxp1dsb5varjq06b5jsjf2a33hc1-gcc-5.4.0-lib/lib/tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/baidkxp1dsb5varjq06b5jsjf2a33hc1-gcc-5.4.0-lib/lib/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/baidkxp1dsb5varjq06b5jsjf2a33hc1-gcc-5.4.0-lib/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/a0lxvniz27b5gn86qnn4n1riwhwfs3q1-openssl-1.0.2k/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/a0lxvniz27b5gn86qnn4n1riwhwfs3q1-openssl-1.0.2k/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/a0lxvniz27b5gn86qnn4n1riwhwfs3q1-openssl-1.0.2k/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/a0lxvniz27b5gn86qnn4n1riwhwfs3q1-openssl-1.0.2k/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/0n7ibi28rbjc2c702ypwfwwp5461jnhc-xz-5.2.2/lib/tls/x86_64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/0n7ibi28rbjc2c702ypwfwwp5461jnhc-xz-5.2.2/lib/tls/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/0n7ibi28rbjc2c702ypwfwwp5461jnhc-xz-5.2.2/lib/x86_64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/0n7ibi28rbjc2c702ypwfwwp5461jnhc-xz-5.2.2/lib/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libbz2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/0n7ibi28rbjc2c702ypwfwwp5461jnhc-xz-5.2.2/lib/libbz2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/a0lxvniz27b5gn86qnn4n1riwhwfs3q1-openssl-1.0.2k/lib/libbz2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libbz2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/baidkxp1dsb5varjq06b5jsjf2a33hc1-gcc-5.4.0-lib/lib/libbz2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/l3y2iyh0i5vdcfbcqndcbxv2kyg7308k-bzip2-1.0.6.0.1/lib/tls/x86_64/libbz2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/l3y2iyh0i5vdcfbcqndcbxv2kyg7308k-bzip2-1.0.6.0.1/lib/tls/libbz2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/l3y2iyh0i5vdcfbcqndcbxv2kyg7308k-bzip2-1.0.6.0.1/lib/x86_64/libbz2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/l3y2iyh0i5vdcfbcqndcbxv2kyg7308k-bzip2-1.0.6.0.1/lib/libbz2.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/0n7ibi28rbjc2c702ypwfwwp5461jnhc-xz-5.2.2/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/a0lxvniz27b5gn86qnn4n1riwhwfs3q1-openssl-1.0.2k/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/d34xiny1zqd2igm6rflfsc9z0ph5nmrl-sqlite-3.17.0/lib/tls/x86_64/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/d34xiny1zqd2igm6rflfsc9z0ph5nmrl-sqlite-3.17.0/lib/tls/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/d34xiny1zqd2igm6rflfsc9z0ph5nmrl-sqlite-3.17.0/lib/x86_64/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/d34xiny1zqd2igm6rflfsc9z0ph5nmrl-sqlite-3.17.0/lib/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/d34xiny1zqd2igm6rflfsc9z0ph5nmrl-sqlite-3.17.0/lib/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/8998nvnl3i4i2249ifqyka4lphmyafa6-curl-7.53.1/lib/tls/x86_64/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/8998nvnl3i4i2249ifqyka4lphmyafa6-curl-7.53.1/lib/tls/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/8998nvnl3i4i2249ifqyka4lphmyafa6-curl-7.53.1/lib/x86_64/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/8998nvnl3i4i2249ifqyka4lphmyafa6-curl-7.53.1/lib/libcurl.so.4", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libsodium.so.18", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/d34xiny1zqd2igm6rflfsc9z0ph5nmrl-sqlite-3.17.0/lib/libsodium.so.18", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/8998nvnl3i4i2249ifqyka4lphmyafa6-curl-7.53.1/lib/libsodium.so.18", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/5aq5csvzdwgkwgfcib0mgif99q59ksqk-libsodium-1.0.11/lib/tls/x86_64/libsodium.so.18", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/5aq5csvzdwgkwgfcib0mgif99q59ksqk-libsodium-1.0.11/lib/tls/libsodium.so.18", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/5aq5csvzdwgkwgfcib0mgif99q59ksqk-libsodium-1.0.11/lib/x86_64/libsodium.so.18", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/5aq5csvzdwgkwgfcib0mgif99q59ksqk-libsodium-1.0.11/lib/libsodium.so.18", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libaws-cpp-sdk-s3.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/d34xiny1zqd2igm6rflfsc9z0ph5nmrl-sqlite-3.17.0/lib/libaws-cpp-sdk-s3.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/8998nvnl3i4i2249ifqyka4lphmyafa6-curl-7.53.1/lib/libaws-cpp-sdk-s3.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/5aq5csvzdwgkwgfcib0mgif99q59ksqk-libsodium-1.0.11/lib/libaws-cpp-sdk-s3.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/f03hw43g1z0b29dvwqb2r3faq8g0pcdj-aws-sdk-cpp-1.0.60/lib/tls/x86_64/libaws-cpp-sdk-s3.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/f03hw43g1z0b29dvwqb2r3faq8g0pcdj-aws-sdk-cpp-1.0.60/lib/tls/libaws-cpp-sdk-s3.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/f03hw43g1z0b29dvwqb2r3faq8g0pcdj-aws-sdk-cpp-1.0.60/lib/x86_64/libaws-cpp-sdk-s3.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/f03hw43g1z0b29dvwqb2r3faq8g0pcdj-aws-sdk-cpp-1.0.60/lib/libaws-cpp-sdk-s3.so", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/3ra8mkjaca8vhib620cxk7yidfsanpxi-nix-1.12pre5073_1cf4801/lib/libaws-cpp-sdk-core.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/d34xiny1zqd2igm6rflfsc9z0ph5nmrl-sqlite-3.17.0/lib/libaws-cpp-sdk-core.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/8998nvnl3i4i2249ifqyka4lphmyafa6-curl-7.53.1/lib/libaws-cpp-sdk-core.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/5aq5csvzdwgkwgfcib0mgif99q59ksqk-libsodium-1.0.11/lib/libaws-cpp-sdk-core.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/f03hw43g1z0b29dvwqb2r3faq8g0pcdj-aws-sdk-cpp-1.0.60/lib/libaws-cpp-sdk-core.so", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/a11n0x3yx6qnjm29yrhp8zqyvfazs5in-nghttp2-1.19.0-lib/lib/tls/x86_64/libnghttp2.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/a11n0x3yx6qnjm29yrhp8zqyvfazs5in-nghttp2-1.19.0-lib/lib/tls/libnghttp2.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/a11n0x3yx6qnjm29yrhp8zqyvfazs5in-nghttp2-1.19.0-lib/lib/x86_64/libnghttp2.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/a11n0x3yx6qnjm29yrhp8zqyvfazs5in-nghttp2-1.19.0-lib/lib/libnghttp2.so.14", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/a11n0x3yx6qnjm29yrhp8zqyvfazs5in-nghttp2-1.19.0-lib/lib/libssh2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/ls21xyff5y0a1x8inrc5f9xyyyhjf2kp-zlib-1.2.11/lib/tls/x86_64/libssh2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/ls21xyff5y0a1x8inrc5f9xyyyhjf2kp-zlib-1.2.11/lib/tls/libssh2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/ls21xyff5y0a1x8inrc5f9xyyyhjf2kp-zlib-1.2.11/lib/x86_64/libssh2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/ls21xyff5y0a1x8inrc5f9xyyyhjf2kp-zlib-1.2.11/lib/libssh2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/a0lxvniz27b5gn86qnn4n1riwhwfs3q1-openssl-1.0.2k/lib/libssh2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/cnjz475plfbkrr5kbpgx4izsk625il2z-libssh2-1.8.0/lib/tls/x86_64/libssh2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/cnjz475plfbkrr5kbpgx4izsk625il2z-libssh2-1.8.0/lib/tls/libssh2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/cnjz475plfbkrr5kbpgx4izsk625il2z-libssh2-1.8.0/lib/x86_64/libssh2.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/cnjz475plfbkrr5kbpgx4izsk625il2z-libssh2-1.8.0/lib/libssh2.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/a11n0x3yx6qnjm29yrhp8zqyvfazs5in-nghttp2-1.19.0-lib/lib/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/ls21xyff5y0a1x8inrc5f9xyyyhjf2kp-zlib-1.2.11/lib/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/a0lxvniz27b5gn86qnn4n1riwhwfs3q1-openssl-1.0.2k/lib/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/a11n0x3yx6qnjm29yrhp8zqyvfazs5in-nghttp2-1.19.0-lib/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/ls21xyff5y0a1x8inrc5f9xyyyhjf2kp-zlib-1.2.11/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3 open("/etc/nix/nix.conf", O_RDONLY|O_CLOEXEC) = 3 open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/etc/group", O_RDONLY|O_CLOEXEC) = 3 open("/nix/var/nix/db/big-lock", O_RDWR|O_CREAT|O_CLOEXEC, 0600) = 3 open("/nix/var/nix/db/schema", O_RDONLY|O_CLOEXEC) = 4 open("/nix/var/nix/db/db.sqlite", O_RDWR|O_CLOEXEC) = 4 open("/nix/var/nix/db/db.sqlite-wal", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 5 open("/nix/var/nix/db/db.sqlite-shm", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 6 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=164, si_uid=0, si_status=SIGKILL, si_utime=0, si_stime=0} --- killing process 164 error: unexpected end-of-file