Skip to content

Instantly share code, notes, and snippets.

@CohenCyril
Last active January 25, 2021 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CohenCyril/a7db91983caaa5eb1a1b840b489fd9e7 to your computer and use it in GitHub Desktop.
Save CohenCyril/a7db91983caaa5eb1a1b840b489fd9e7 to your computer and use it in GitHub Desktop.
nix-shell-crash
$ git clone https://github.com/math-comp/Abel.git Abel
$ cd Abel
$ nix-shell -vvvvv
acquiring global GC lock '/nix/var/nix/gc.lock'
acquiring read lock on '/nix/var/nix/temproots/6064'
acquiring write lock on '/nix/var/nix/temproots/6064'
downgrading to read lock on '/nix/var/nix/temproots/6064'
using cache entry '{"name":"source","type":"tarball","url":"https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz"}' -> '{"etag":"\"02401e28baa772ace00b5216531b7b35856b27791234c0276b9b10dcd13bd0ff\"","lastModified":1601104372}', '/nix/store/ia8qfk4dyv21j956ccmaf6gy9zq7x650-source'
acquiring write lock on '/nix/var/nix/temproots/6064'
downgrading to read lock on '/nix/var/nix/temproots/6064'
using cache entry '{"name":"source","type":"file","url":"https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz"}' -> '{"etag":"\"02401e28baa772ace00b5216531b7b35856b27791234c0276b9b10dcd13bd0ff\"","url":"https://codeload.github.com/NixOS/nixpkgs-channels/tar.gz/502845c3e31ef3de0e424f3fcb09217df2ce6df6"}', '/nix/store/hpskim1vnqmq2d5l3w4frcc42qvw9rfn-source'
downloading 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz'...
download thread waiting for 10000 ms
starting download of https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz
verify TLS: Nix CA file = '/etc/ssl/certs/ca-certificates.crt'
curl: Couldn't find host github.com in the .netrc file; using defaults
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
curl: Trying 140.82.121.4:443...
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
curl: Connected to github.com (140.82.121.4) port 443 (#0)
curl: ALPN, offering h2
curl: ALPN, offering http/1.1
curl: successfully set certificate verify locations:
curl: CAfile: /etc/ssl/certs/ca-certificates.crt
curl: CApath: none
curl: TLSv1.3 (OUT), TLS handshake, Client hello (1):
download thread waiting for 100 ms
curl: TLSv1.3 (IN), TLS handshake, Server hello (2):
curl: TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
curl: TLSv1.3 (IN), TLS handshake, Certificate (11):
curl: TLSv1.3 (IN), TLS handshake, CERT verify (15):
curl: TLSv1.3 (IN), TLS handshake, Finished (20):
curl: TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
curl: TLSv1.3 (OUT), TLS handshake, Finished (20):
curl: SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
curl: ALPN, server accepted to use h2
curl: Server certificate:
curl: subject: C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=github.com
curl: start date: May 5 00:00:00 2020 GMT
curl: expire date: May 10 12:00:00 2022 GMT
curl: subjectAltName: host "github.com" matched cert's "github.com"
curl: issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
curl: SSL certificate verify ok.
curl: Using HTTP2, server supports multi-use
curl: Connection state changed (HTTP/2 confirmed)
curl: Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
curl: Using Stream ID: 1 (easy handle 0x7ff0e4001170)
download thread waiting for 100 ms
curl: TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
curl: TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
curl: old SSL session ID is stale, removing
curl: Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': HTTP/2 302
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': date: Mon, 25 Jan 2021 09:17:32 GMT
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': content-type: text/html; charset=utf-8
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': server: GitHub.com
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': status: 302 Found
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': vary: X-PJAX, Accept-Encoding, Accept, X-Requested-With, Accept-Encoding
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': location: https://codeload.github.com/NixOS/nixpkgs-channels/tar.gz/502845c3e31ef3de0e424f3fcb09217df2ce6df6
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': cache-control: max-age=0, private
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': strict-transport-security: max-age=31536000; includeSubdomains; preload
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': x-frame-options: deny
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': x-content-type-options: nosniff
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': x-xss-protection: 1; mode=block
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': referrer-policy: no-referrer-when-downgrade
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': expect-ct: max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': content-security-policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; connect-src 'self' uploads.github.com www.githubstatus.com collector.githubapp.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com cdn.optimizely.com logx.optimizely.com/v1/events wss://alive.github.com online.visualstudio.com/api/v1/locations; font-src github.githubassets.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; frame-src render.githubusercontent.com; img-src 'self' data: github.githubassets.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; manifest-src 'self'; media-src 'none'; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; worker-src github.com/socket-worker-5029ae85.js gist.github.com/socket-worker-5029ae85.js
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': x-github-request-id: B260:ADA8:2846819:33833FA:600E8CAC
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz':
curl: Ignoring the response-body
curl: Connection #0 to host github.com left intact
curl: Issue another request to this URL: 'https://codeload.github.com/NixOS/nixpkgs-channels/tar.gz/502845c3e31ef3de0e424f3fcb09217df2ce6df6'
curl: Couldn't find host codeload.github.com in the .netrc file; using defaults
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
curl: Trying 140.82.121.10:443...
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
curl: Connected to codeload.github.com (140.82.121.10) port 443 (#1)
curl: ALPN, offering h2
curl: ALPN, offering http/1.1
curl: successfully set certificate verify locations:
curl: CAfile: /etc/ssl/certs/ca-certificates.crt
curl: CApath: none
curl: TLSv1.3 (OUT), TLS handshake, Client hello (1):
download thread waiting for 100 ms
curl: TLSv1.3 (IN), TLS handshake, Server hello (2):
curl: TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
curl: TLSv1.3 (IN), TLS handshake, Certificate (11):
curl: TLSv1.3 (IN), TLS handshake, CERT verify (15):
curl: TLSv1.3 (IN), TLS handshake, Finished (20):
curl: TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
curl: TLSv1.3 (OUT), TLS handshake, Finished (20):
curl: SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
curl: ALPN, server accepted to use http/1.1
curl: Server certificate:
curl: subject: C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=*.github.com
curl: start date: Jun 22 00:00:00 2020 GMT
curl: expire date: Aug 17 12:00:00 2022 GMT
curl: subjectAltName: host "codeload.github.com" matched cert's "*.github.com"
curl: issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
curl: SSL certificate verify ok.
download thread waiting for 100 ms
curl: TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
curl: TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
curl: old SSL session ID is stale, removing
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
download thread waiting for 100 ms
curl: Mark bundle as not supporting multiuse
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': HTTP/1.1 304 Not Modified
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': Date: Mon, 25 Jan 2021 09:17:32 GMT
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': Access-Control-Allow-Origin: https://render.githubusercontent.com
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': Strict-Transport-Security: max-age=31536000
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': Vary: Authorization,Accept-Encoding
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': X-Content-Type-Options: nosniff
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': X-Frame-Options: deny
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': X-XSS-Protection: 1; mode=block
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': Vary: Accept-Encoding
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz': X-GitHub-Request-Id: 9C0E:4AFA:15AFCA:1EB301:600E8CAC
got header for 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz':
curl: Connection #1 to host codeload.github.com left intact
finished download of 'https://github.com/NixOS/nixpkgs-channels/archive/502845c3e31ef3de0e424f3fcb09217df2ce6df6.tar.gz'; curl status = 0, HTTP status = 304, body = 0 bytes
download thread waiting for 10000 ms
nix-shell: src/libfetchers/tarball.cc:67: nix::fetchers::DownloadFileResult nix::fetchers::downloadFile(nix::ref<nix::Store>, const string&, const string&, bool, const Headers&): Assertion `request.expectedETag == res.etag' failed.
[1] 6055 abort (core dumped) nix-shell -vvvvv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment