Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created September 18, 2016 03:05
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/9f081f1cb9018d60e4002dc13609c661 to your computer and use it in GitHub Desktop.
Save Whateverable/9f081f1cb9018d60e4002dc13609c661 to your computer and use it in GitHub Desktop.
bisectable6oops
run(:out, "ls").out.encoding.say
Bisecting: 970 revisions left to test after this (roughly 10 steps)
[3614487bdab3b7e3455df643e05171362d3d9045] Get rid of internal IdName class altogether
»»»»» Testing 3614487bdab3b7e3455df643e05171362d3d9045
»»»»» Script output:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» Script exit code: 1
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» The output is identical
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
»»»»» Testing fb71b2b7067b5306c94acd95d2693e0446be74dc
»»»»» Script output:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» Script exit code: 1
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» The output is identical
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
»»»»» Testing b548e437e58bf76d879b97865fd132e79f363e40
»»»»» Script output:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» Script exit code: 1
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» The output is identical
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
»»»»» Testing ec9e814a74456651c63159f897b496f4d2c9df10
»»»»» Script output:
Unhandled exception: While looking for '/tmp/whateverable/rakudo-moar/ec9e814a74456651c63159f897b496f4d2c9df10/share/perl6/runtime/perl6.moarvm': no such file or directory
»»»»» Script exit code: 1
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
»»»»» Testing 26ebe43b12841c504cb35c1c2a746020128b7a73
»»»»» Script output:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» Script exit code: 1
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» The output is identical
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
»»»»» Testing dc83730004d8a216c913a2c760690445cea5dc58
»»»»» Script output:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» Script exit code: 1
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» The output is identical
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
»»»»» Testing 763d6787da736dc58b03490062130843272ea539
»»»»» Script output:
concatenate requires a concrete string, but got null
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» Script exit code: 1
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4efdd949dfb6279ed4998877f015101f3c653bfb
»»»»» Script output:
concatenate requires a concrete string, but got null
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» Script exit code: 1
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
»»»»» Testing 508192fc8089c07948a56ce67f2d3e2f043dfe4b
»»»»» Script output:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» Script exit code: 1
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» The output is identical
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1a03efe4e3b61a07b7df505af5e2575893677a8f
»»»»» Script output:
concatenate requires a concrete string, but got null
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» Script exit code: 1
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
»»»»» Testing 87887daa55ec541f8bd8232a3ed1861b2e805e86
»»»»» Script output:
concatenate requires a concrete string, but got null
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» Script exit code: 1
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
Cannot find method 'encoding': no method cache and no .^find_method
in block <unit> at /tmp/8zYHPWge7e line 1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
87887daa55ec541f8bd8232a3ed1861b2e805e86 is the first bad commit
commit 87887daa55ec541f8bd8232a3ed1861b2e805e86
Author: Elizabeth Mattijsen <liz@dijkmat.nl>
Date: Fri Aug 26 15:00:02 2016 +0300
Make IO::Handle.encoding actually work
So now you can query the encoding of an IO::Handle. It will return
"bin" if you specified :bin when opening the handle.
:040000 040000 e29082b85fb50b56463a34c7584f5fa3a981cce2 810ec21fe9978c0268f6f98fd4cfbee5679461a7 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment