Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created June 6, 2019 17:21
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 Whateverable/3844b7e4bd58fc42500824a9045cbbd3 to your computer and use it in GitHub Desktop.
Save Whateverable/3844b7e4bd58fc42500824a9045cbbd3 to your computer and use it in GitHub Desktop.
committable6
HEAD use NativeCall; my CArray $mib .= new: 1, 5; my Pointer[int32] $mem .= new; sub sysctl(Str, uint32, Pointer[int32], size_t, Pointer[void], size_t) is native {*}; sysctl($mib, 2, $mem, nativesizeof(int32), Pointer[void].new, 0); say $mem
¦«HEAD(bd2ceef)»:
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was:
Failed to create directory '/home/bisectable/.perl6/short' with mode '0o777': Failed to mkdir: Read-only file system
in any statement_control at /tmp/whateverable/rakudo-moar/bd2ceefd5cb4ee9f0cd43b332fdffdc78dcfc645/share/perl6/lib/Perl6/Grammar.moarvm line 1
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was:
Failed to create directory '/home/bisectable/.perl6/short' with mode '0o777': Failed to mkdir: Read-only file system
in any statement_control at /tmp/whateverable/rakudo-moar/bd2ceefd5cb4ee9f0cd43b332fdffdc78dcfc645/share/perl6/lib/Perl6/Grammar.moarvm line 1
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was:
Failed to create directory '/home/bisectable/.perl6/short' with mode '0o777': Failed to mkdir: Read-only file system
in any statement_control at /tmp/whateverable/rakudo-moar/bd2ceefd5cb4ee9f0cd43b332fdffdc78dcfc645/share/perl6/lib/Perl6/Grammar.moarvm line 1
CArray cannot be used without a type
in method AT-POS at /tmp/whateverable/rakudo-moar/bd2ceefd5cb4ee9f0cd43b332fdffdc78dcfc645/share/perl6/sources/8660F65A7B3492675BB3B2058DB30E411A4C4E54 (NativeCall::Types) line 93
in method new at /tmp/whateverable/rakudo-moar/bd2ceefd5cb4ee9f0cd43b332fdffdc78dcfc645/share/perl6/sources/8660F65A7B3492675BB3B2058DB30E411A4C4E54 (NativeCall::Types) line 235
in method new at /tmp/whateverable/rakudo-moar/bd2ceefd5cb4ee9f0cd43b332fdffdc78dcfc645/share/perl6/sources/8660F65A7B3492675BB3B2058DB30E411A4C4E54 (NativeCall::Types) line 230
in block <unit> at /tmp/UGNd0pQAmi line 1
«exit code = 1»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment