Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 22, 2019 23:23
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/7ee199c1464daa3bce9ded7bfaa90637 to your computer and use it in GitHub Desktop.
Save Whateverable/7ee199c1464daa3bce9ded7bfaa90637 to your computer and use it in GitHub Desktop.
bisectable6
use NativeCall; sub strlen(Str --> size_t) is native {*}; sub free(Pointer[void]) is native {*}; my Str $foo = 'ayy lmao'; explicitly-manage($foo); say strlen($foo); free(nativecast(Pointer[void], $foo))
Bisecting: 4622 revisions left to test after this (roughly 12 steps)
[dfdd5439f3a284ebcca6befb3680a343f7f129b9] Add now-passing test files
»»»»» Testing dfdd5439f3a284ebcca6befb3680a343f7f129b9
»»»»» Script output:
8
Native call expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque (Str+{NativeCall::ExplicitlyManagedString})
in sub nativecast at /tmp/whateverable/rakudo-moar/dfdd5439f3a284ebcca6befb3680a343f7f129b9/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 417
in block <unit> at /tmp/nfnVm_Vzdc line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
8
Native call expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque
in sub nativecast at /tmp/whateverable/rakudo-moar/ec386e5ff54a6e8028e74092d1a41cfccdc531d2/share/perl6/sources/DC51BBFFA1FFE3C541526C54146D423B5AC2FBCD line 335
in block <unit> at /tmp/nfnVm_Vzdc line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d4355cba8d8d2050b17436be0cbb21ad376d7677
»»»»» Script output:
8
Native call expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque (Str+{NativeCall::ExplicitlyManagedString})
in sub nativecast at /tmp/whateverable/rakudo-moar/d4355cba8d8d2050b17436be0cbb21ad376d7677/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 411
in block <unit> at /tmp/nfnVm_Vzdc line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
8
Native call expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque
in sub nativecast at /tmp/whateverable/rakudo-moar/ec386e5ff54a6e8028e74092d1a41cfccdc531d2/share/perl6/sources/DC51BBFFA1FFE3C541526C54146D423B5AC2FBCD line 335
in block <unit> at /tmp/nfnVm_Vzdc line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 70c19dd34c66f6d163ab482d63d721145adae9c2
»»»»» Script output:
8
Native call expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque (Str+{NativeCall::ExplicitlyManagedString})
in sub nativecast at /tmp/whateverable/rakudo-moar/70c19dd34c66f6d163ab482d63d721145adae9c2/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 395
in block <unit> at /tmp/nfnVm_Vzdc line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
8
Native call expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque
in sub nativecast at /tmp/whateverable/rakudo-moar/ec386e5ff54a6e8028e74092d1a41cfccdc531d2/share/perl6/sources/DC51BBFFA1FFE3C541526C54146D423B5AC2FBCD line 335
in block <unit> at /tmp/nfnVm_Vzdc line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 199d2613035802060013df636e94b49a9353beb6
»»»»» Script output:
8
Native call expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque
in sub nativecast at /tmp/whateverable/rakudo-moar/199d2613035802060013df636e94b49a9353beb6/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 line 393
in block <unit> at /tmp/nfnVm_Vzdc line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
8
Native call expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque
in sub nativecast at /tmp/whateverable/rakudo-moar/ec386e5ff54a6e8028e74092d1a41cfccdc531d2/share/perl6/sources/DC51BBFFA1FFE3C541526C54146D423B5AC2FBCD line 335
in block <unit> at /tmp/nfnVm_Vzdc line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b4c2e9dce2a7e159a9232f096a6a72b0459ca9bd
»»»»» Script output:
8
Native call expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque
in sub nativecast at /tmp/whateverable/rakudo-moar/b4c2e9dce2a7e159a9232f096a6a72b0459ca9bd/share/perl6/sources/075EFE4B4CDAAF73190194EA876F81A1F128D1A2 line 367
in block <unit> at /tmp/nfnVm_Vzdc line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
8
Native call expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque
in sub nativecast at /tmp/whateverable/rakudo-moar/ec386e5ff54a6e8028e74092d1a41cfccdc531d2/share/perl6/sources/DC51BBFFA1FFE3C541526C54146D423B5AC2FBCD line 335
in block <unit> at /tmp/nfnVm_Vzdc line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e7197bd8f8d719f73ba98e7d09e32707124dd682
»»»»» Cannot test this commit. Reason: Commit exists, but a perl6 executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 07fecb52eb1fd07397659f19a5cf36dc61f84053
»»»»» Script output:
8
Native call expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque
in sub nativecast at /tmp/whateverable/rakudo-moar/07fecb52eb1fd07397659f19a5cf36dc61f84053/share/perl6/sources/9E3C4A8A68FE9A400D1A2565FC094212BEEF72F6 line 335
in block <unit> at /tmp/nfnVm_Vzdc line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
8
Native call expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque
in sub nativecast at /tmp/whateverable/rakudo-moar/ec386e5ff54a6e8028e74092d1a41cfccdc531d2/share/perl6/sources/DC51BBFFA1FFE3C541526C54146D423B5AC2FBCD line 335
in block <unit> at /tmp/nfnVm_Vzdc line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
07fecb52eb1fd07397659f19a5cf36dc61f84053 is the first new commit
commit 07fecb52eb1fd07397659f19a5cf36dc61f84053
Author: Dave Rolsky <autarch@urth.org>
Date: Fri Dec 25 23:13:46 2015 -0600
I appreciate the thanks, but once is enough
:040000 040000 a021c33002ff4b5b46ebcb9b0293bb27319273d1 f3eb869e39284eecab14e13dc913b0a3e1cdfd3e M docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment