Skip to content

Instantly share code, notes, and snippets.

@drewr
Created February 15, 2024 17:25
Show Gist options
  • Save drewr/97c93c2ff85901e79b1eac2b2dac2477 to your computer and use it in GitHub Desktop.
Save drewr/97c93c2ff85901e79b1eac2b2dac2477 to your computer and use it in GitHub Desktop.
drewr@474b6b83 Thu 15 17:25:03 877 1 src/drewr/rustutils(main●)% nix-shell -E 'let pkgs = import <nixpkgs> {}; unstable = import <nixpkgs-unstable> {}; shell = pkgs.mkShell { buildInputs = [ unstable.cargo unstable.pkg-config unstable.openssl unstable.glibc ];}; in shell' --run "cargo build"
Compiling libc v0.2.153
Compiling proc-macro2 v1.0.78
Compiling syn v1.0.109
Compiling indexmap v1.9.3
Compiling aho-corasick v1.1.2
Compiling form_urlencoded v1.2.1
Compiling clap_lex v0.2.4
Compiling proc-macro-error-attr v1.0.4
Compiling unicode-normalization v0.1.22
Compiling proc-macro-error v1.0.4
error: failed to run custom build command for `libc v0.2.153`
Caused by:
process didn't exit successfully: `/home/drewr/src/drewr/rustutils/target/debug/build/libc-9d5d94f61df9a1d1/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `proc-macro2 v1.0.78`
Caused by:
process didn't exit successfully: `/home/drewr/src/drewr/rustutils/target/debug/build/proc-macro2-a41f86cbdf756cea/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)
error: failed to run custom build command for `syn v1.0.109`
Caused by:
process didn't exit successfully: `/home/drewr/src/drewr/rustutils/target/debug/build/syn-6a8bc936d888283c/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)
error: failed to run custom build command for `proc-macro-error-attr v1.0.4`
Caused by:
process didn't exit successfully: `/home/drewr/src/drewr/rustutils/target/debug/build/proc-macro-error-attr-2185e81226cba122/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)
error: failed to run custom build command for `proc-macro-error v1.0.4`
Caused by:
process didn't exit successfully: `/home/drewr/src/drewr/rustutils/target/debug/build/proc-macro-error-5e3afea5f58efcd2/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment