run zef --verbose test for CSS::Selector::To::XPath [agent] flamboyant-moore-63797432 [raku] /tmp/whateverable/rakudo-moar/fe0e20c28859ea709eefad19af452c9d35dff20d/bin//raku Welcome to Rakudo™ v2025.11. Implementing the Raku® Programming Language v6.d. Built on MoarVM version 2025.11. [zef] /tmp/whateverable/rakudo-moar/fe0e20c28859ea709eefad19af452c9d35dff20d/share/perl6/site/bin/zef 1.0.0 === 1) install CSS::Selector::To::XPath dependencies All candidates are currently installed 2) zef --verbose test . ===> Testing: CSS::Selector::To::XPath:ver<0.0.8>:auth [CSS::Selector::To::XPath] Command: /tmp/whateverable/rakudo-moar/fe0e20c28859ea709eefad19af452c9d35dff20d/bin/rakudo -I /tmp/.zef.1765206994.33630/9018c62a4d8e0ff86ea1595e1e54985034a319dc.tar.gz/CSS-Selector-To-XPath-0.0.8 t/01_xpath.t [CSS::Selector::To::XPath] ok 1 - invalid css selector: [1a] [CSS::Selector::To::XPath] ok 2 - invalid css selector: [-1a] [CSS::Selector::To::XPath] ok 3 - invalid css selector: [--a] [CSS::Selector::To::XPath] ok 4 - invalid css selector: [!a] [CSS::Selector::To::XPath] ok 5 - invalid css selector: [ab!c] [CSS::Selector::To::XPath] ok 6 - invalid css selector: [] [CSS::Selector::To::XPath] ok 7 - invalid css selector: [x=1a] [CSS::Selector::To::XPath] ok 8 - invalid css selector: [x=-1a] [CSS::Selector::To::XPath] ok 9 - invalid css selector: [x=--a] [CSS::Selector::To::XPath] ok 10 - invalid css selector: [x=!a] [CSS::Selector::To::XPath] ok 11 - invalid css selector: [x=ab!c] [CSS::Selector::To::XPath] ok 12 - invalid css selector: [x="] [CSS::Selector::To::XPath] ok 13 - invalid css selector: [x="abc" "] [CSS::Selector::To::XPath] ok 14 - invalid css selector: [x=abc z] [CSS::Selector::To::XPath] ok 15 - .query-to-xpath() [CSS::Selector::To::XPath] ok 16 - css to xpath: * [CSS::Selector::To::XPath] ok 17 - css to xpath: e [CSS::Selector::To::XPath] ok 18 - css to xpath: e f [CSS::Selector::To::XPath] ok 19 - css to xpath: e > f [CSS::Selector::To::XPath] ok 20 - css to xpath: e, f [CSS::Selector::To::XPath] ok 21 - css to xpath: p.pastoral.marine [CSS::Selector::To::XPath] ok 22 - css to xpath: e:first-child [CSS::Selector::To::XPath] ok 23 - css to xpath: f > e:first-child [CSS::Selector::To::XPath] unimplemented pseudo-function: lang([:ident("en")]) [CSS::Selector::To::XPath] in block at /tmp/.zef.1765206994.33630/9018c62a4d8e0ff86ea1595e1e54985034a319dc.tar.gz/CSS-Selector-To-XPath-0.0.8/lib/CSS/Selector/To/XPath.rakumod (CSS::Selector::To::XPath) line 190 [CSS::Selector::To::XPath] not ok 24 - css to xpath: e:lang(en) [CSS::Selector::To::XPath] # Failed test 'css to xpath: e:lang(en)' [CSS::Selector::To::XPath] # at t/01_xpath.t line 23 [CSS::Selector::To::XPath] # expected: '//e[lang(., en)]' [CSS::Selector::To::XPath] # got: '//e[]' [CSS::Selector::To::XPath] ok 25 - css to xpath: e + f [CSS::Selector::To::XPath] ok 26 - css to xpath: e + \#bar [CSS::Selector::To::XPath] ok 27 - css to xpath: e + .bar [CSS::Selector::To::XPath] ok 28 - css to xpath: e[foo] [CSS::Selector::To::XPath] ok 29 - css to xpath: e[foo=warning] [CSS::Selector::To::XPath] ok 30 - css to xpath: e[foo="warning"] [CSS::Selector::To::XPath] ok 31 - css to xpath: e[foo~="warning"] [CSS::Selector::To::XPath] ok 32 - css to xpath: e[foo^="warning"] [CSS::Selector::To::XPath] ok 33 - css to xpath: e:not([foo^="warning"]) [CSS::Selector::To::XPath] ok 34 - css to xpath: e[foo$="warning"] [CSS::Selector::To::XPath] ok 35 - css to xpath: E[lang|="en"] [CSS::Selector::To::XPath] ok 36 - css to xpath: DIV.warning [CSS::Selector::To::XPath] ok 37 - css to xpath: E \#myid [CSS::Selector::To::XPath] ok 38 - css to xpath: p:not( \#me) [CSS::Selector::To::XPath] ok 39 - css to xpath: foo.bar, bar [CSS::Selector::To::XPath] ok 40 - css to xpath: E:nth-child(1) [CSS::Selector::To::XPath] ok 41 - css to xpath: E:last-child [CSS::Selector::To::XPath] ok 42 - css to xpath: F E:last-child [CSS::Selector::To::XPath] ok 43 - css to xpath: F > E:last-child [CSS::Selector::To::XPath] ok 44 - css to xpath: E[href*="bar"] [CSS::Selector::To::XPath] ok 45 - css to xpath: E[href*=bar] [CSS::Selector::To::XPath] ok 46 - css to xpath: E:not([href*="bar"]) [CSS::Selector::To::XPath] ok 47 - css to xpath: F > E:nth-of-type(3) [CSS::Selector::To::XPath] ok 48 - css to xpath: F > E:nth-last-of-type(3) [CSS::Selector::To::XPath] ok 49 - css to xpath: F > E:only-of-type [CSS::Selector::To::XPath] ok 50 - css to xpath: e ~ f [CSS::Selector::To::XPath] ok 51 - css to xpath: e ~ f.foo [CSS::Selector::To::XPath] ok 52 - css to xpath: E:contains("Hello") [CSS::Selector::To::XPath] ok 53 - css to xpath: E:contains( "Hello" ) .C [CSS::Selector::To::XPath] ok 54 - css to xpath: F, E:contains( "Hello" ) [CSS::Selector::To::XPath] ok 55 - css to xpath: E:contains( "Hello" ), F [CSS::Selector::To::XPath] ok 56 - css to xpath: E ~ \#bar [CSS::Selector::To::XPath] ok 57 - css to xpath: E ~ .bar [CSS::Selector::To::XPath] ok 58 - css to xpath: E ~ * [CSS::Selector::To::XPath] ok 59 - css to xpath: .foo ~ E [CSS::Selector::To::XPath] ok 60 - css to xpath: .foo ~ * [CSS::Selector::To::XPath] ok 61 - css to xpath: .foo ~ .bar [CSS::Selector::To::XPath] not ok 62 - css to xpath: > em # TODO is this a valid selector? [CSS::Selector::To::XPath] # Failed test 'css to xpath: > em' [CSS::Selector::To::XPath] # at t/01_xpath.t line 23 [CSS::Selector::To::XPath] # expected: '//*/em' [CSS::Selector::To::XPath] # got: (Failure) [CSS::Selector::To::XPath] ok 63 - css to xpath: :first-child [CSS::Selector::To::XPath] ok 64 - css to xpath: :last-child [CSS::Selector::To::XPath] ok 65 - css to xpath: E.c:first-child [CSS::Selector::To::XPath] ok 66 - css to xpath: E:first-child.c [CSS::Selector::To::XPath] ok 67 - css to xpath: E \#i:first-child [CSS::Selector::To::XPath] ok 68 - css to xpath: E:first-child \#i [CSS::Selector::To::XPath] unimplemented pseudo-function: lang([:ident("c")]) [CSS::Selector::To::XPath] in block at /tmp/.zef.1765206994.33630/9018c62a4d8e0ff86ea1595e1e54985034a319dc.tar.gz/CSS-Selector-To-XPath-0.0.8/lib/CSS/Selector/To/XPath.rakumod (CSS::Selector::To::XPath) line 190 [CSS::Selector::To::XPath] not ok 69 - css to xpath: :lang(c) [CSS::Selector::To::XPath] # Failed test 'css to xpath: :lang(c)' [CSS::Selector::To::XPath] # at t/01_xpath.t line 23 [CSS::Selector::To::XPath] # expected: '//*[lang(., c)]' [CSS::Selector::To::XPath] # got: '//*[]' [CSS::Selector::To::XPath] unimplemented pseudo-function: lang([:ident("c")]) [CSS::Selector::To::XPath] in block at /tmp/.zef.1765206994.33630/9018c62a4d8e0ff86ea1595e1e54985034a319dc.tar.gz/CSS-Selector-To-XPath-0.0.8/lib/CSS/Selector/To/XPath.rakumod (CSS::Selector::To::XPath) line 190 [CSS::Selector::To::XPath] # Failed test 'css to xpath: :lang(c) \#i' [CSS::Selector::To::XPath] # at t/01_xpath.t line 23 [CSS::Selector::To::XPath] # expected: '//*[lang(., c)][@id='i']' [CSS::Selector::To::XPath] # got: '//*[][@id='i']' [CSS::Selector::To::XPath] not ok 70 - css to xpath: :lang(c) \#i [CSS::Selector::To::XPath] unimplemented pseudo-function: lang([:ident("c")]) [CSS::Selector::To::XPath] in block at /tmp/.zef.1765206994.33630/9018c62a4d8e0ff86ea1595e1e54985034a319dc.tar.gz/CSS-Selector-To-XPath-0.0.8/lib/CSS/Selector/To/XPath.rakumod (CSS::Selector::To::XPath) line 190 [CSS::Selector::To::XPath] # Failed test 'css to xpath: \#i:lang(c)' [CSS::Selector::To::XPath] # at t/01_xpath.t line 23 [CSS::Selector::To::XPath] # expected: '//*[@id='i'][lang(., c)]' [CSS::Selector::To::XPath] # got: '//*[@id='i'][]' [CSS::Selector::To::XPath] not ok 71 - css to xpath: \#i:lang(c) [CSS::Selector::To::XPath] unimplemented pseudo-function: lang([:ident("c")]) [CSS::Selector::To::XPath] in block at /tmp/.zef.1765206994.33630/9018c62a4d8e0ff86ea1595e1e54985034a319dc.tar.gz/CSS-Selector-To-XPath-0.0.8/lib/CSS/Selector/To/XPath.rakumod (CSS::Selector::To::XPath) line 190 [CSS::Selector::To::XPath] not ok 72 - css to xpath: E:lang(c) \#i [CSS::Selector::To::XPath] # Failed test 'css to xpath: E:lang(c) \#i' [CSS::Selector::To::XPath] # at t/01_xpath.t line 23 [CSS::Selector::To::XPath] # expected: '//E[lang(., c)][@id='i']' [CSS::Selector::To::XPath] # got: '//E[][@id='i']' [CSS::Selector::To::XPath] unimplemented pseudo-function: lang([:ident("c")]) [CSS::Selector::To::XPath] in block at /tmp/.zef.1765206994.33630/9018c62a4d8e0ff86ea1595e1e54985034a319dc.tar.gz/CSS-Selector-To-XPath-0.0.8/lib/CSS/Selector/To/XPath.rakumod (CSS::Selector::To::XPath) line 190 [CSS::Selector::To::XPath] not ok 73 - css to xpath: E \#i:lang(c) [CSS::Selector::To::XPath] # Failed test 'css to xpath: E \#i:lang(c)' [CSS::Selector::To::XPath] # at t/01_xpath.t line 23 Aborting due to test failure: CSS::Selector::To::XPath:ver<0.0.8>:auth (use --force-test to override) [CSS::Selector::To::XPath] # expected: '//E[@id='i'][lang(., c)]' [CSS::Selector::To::XPath] # got: '//E[@id='i'][]' [CSS::Selector::To::XPath] unimplemented pseudo-function: lang([:ident("c")]) [CSS::Selector::To::XPath] in block at /tmp/.zef.1765206994.33630/9018c62a4d8e0ff86ea1595e1e54985034a319dc.tar.gz/CSS-Selector-To-XPath-0.0.8/lib/CSS/Selector/To/XPath.rakumod (CSS::Selector::To::XPath) line 190 [CSS::Selector::To::XPath] not ok 74 - css to xpath: *:lang(c) \#i:first-child [CSS::Selector::To::XPath] # Failed test 'css to xpath: *:lang(c) \#i:first-child' [CSS::Selector::To::XPath] # at t/01_xpath.t line 23 [CSS::Selector::To::XPath] # expected: '//*[lang(., c)][@id='i'][count(preceding-sibling::*) = 0 and parent::*]' [CSS::Selector::To::XPath] # got: '//*[][@id='i'][count(preceding-sibling::*) = 0 and parent::*]' [CSS::Selector::To::XPath] unimplemented pseudo-function: lang([:ident("c")]) [CSS::Selector::To::XPath] in block at /tmp/.zef.1765206994.33630/9018c62a4d8e0ff86ea1595e1e54985034a319dc.tar.gz/CSS-Selector-To-XPath-0.0.8/lib/CSS/Selector/To/XPath.rakumod (CSS::Selector::To::XPath) line 190 [CSS::Selector::To::XPath] not ok 75 - css to xpath: E:lang(c):first-child \#i [CSS::Selector::To::XPath] # Failed test 'css to xpath: E:lang(c):first-child \#i' [CSS::Selector::To::XPath] # at t/01_xpath.t line 23 [CSS::Selector::To::XPath] # expected: '//E[lang(., c)][count(preceding-sibling::*) = 0 and parent::*][@id='i']' [CSS::Selector::To::XPath] # got: '//E[][count(preceding-sibling::*) = 0 and parent::*][@id='i']' [CSS::Selector::To::XPath] unimplemented pseudo-function: lang([:ident("c")]) [CSS::Selector::To::XPath] in block at /tmp/.zef.1765206994.33630/9018c62a4d8e0ff86ea1595e1e54985034a319dc.tar.gz/CSS-Selector-To-XPath-0.0.8/lib/CSS/Selector/To/XPath.rakumod (CSS::Selector::To::XPath) line 190 [CSS::Selector::To::XPath] not ok 76 - css to xpath: E \#i:lang(c):first-child [CSS::Selector::To::XPath] # Failed test 'css to xpath: E \#i:lang(c):first-child' [CSS::Selector::To::XPath] # at t/01_xpath.t line 23 [CSS::Selector::To::XPath] # expected: '//E[@id='i'][lang(., c)][count(preceding-sibling::*) = 0 and parent::*]' [CSS::Selector::To::XPath] # got: '//E[@id='i'][][count(preceding-sibling::*) = 0 and parent::*]' [CSS::Selector::To::XPath] ok 77 - css to xpath: \#bar [CSS::Selector::To::XPath] ok 78 - css to xpath: *[foo] [CSS::Selector::To::XPath] ok 79 - css to xpath: [foo] [CSS::Selector::To::XPath] ok 80 - css to xpath: .warning [CSS::Selector::To::XPath] ok 81 - css to xpath: :nth-child(1) [CSS::Selector::To::XPath] ok 82 - css to xpath: E:nth-child(2) [CSS::Selector::To::XPath] ok 83 - css to xpath: E:nth-child(even) [CSS::Selector::To::XPath] ok 84 - css to xpath: E:nth-child(2n) [CSS::Selector::To::XPath] ok 85 - css to xpath: E:nth-child(2n+1) [CSS::Selector::To::XPath] ok 86 - css to xpath: E:nth-child(odd) [CSS::Selector::To::XPath] ok 87 - css to xpath: :root [CSS::Selector::To::XPath] ok 88 - css to xpath: E:root [CSS::Selector::To::XPath] ok 89 - css to xpath: E:empty [CSS::Selector::To::XPath] ok 90 - css to xpath: :empty [CSS::Selector::To::XPath] ok 91 - css to xpath: p , :root [CSS::Selector::To::XPath] ok 92 - css to xpath: p , q [CSS::Selector::To::XPath] ok 93 - css to xpath: div *:not(p) em [CSS::Selector::To::XPath] ok 94 - css to xpath: a:not(.external)[href] [CSS::Selector::To::XPath] ok 95 - css to xpath: div em:only-child [CSS::Selector::To::XPath] ok 96 - css to xpath: [x=abc] [CSS::Selector::To::XPath] ok 97 - css to xpath: [x=a-bc] [CSS::Selector::To::XPath] ok 98 - css to xpath: [x=abc-] [CSS::Selector::To::XPath] ok 99 - css to xpath: [x=ab--c] [CSS::Selector::To::XPath] ok 100 - css to xpath: option:not([value=""]) [CSS::Selector::To::XPath] ok 101 - css to xpath: option[ value="" ] [CSS::Selector::To::XPath] ok 102 - css to xpath: tr:not([class="wanted"]) [CSS::Selector::To::XPath] ok 103 - css to xpath: form[name='foo'] [CSS::Selector::To::XPath] ok 104 - css to xpath: E:last-of-type [CSS::Selector::To::XPath] ok 105 - css to xpath: E:disabled [CSS::Selector::To::XPath] ok 106 - css to xpath: E:Disabled [CSS::Selector::To::XPath] ok 107 - css to xpath: E:selected [CSS::Selector::To::XPath] ok 108 - css to xpath: E:checked [CSS::Selector::To::XPath] ok 109 - css to xpath: foo|h1 [CSS::Selector::To::XPath] ok 110 - css to xpath: *|h1 [CSS::Selector::To::XPath] ok 111 - css to xpath: tr:nth-child( 4n+1 ) [CSS::Selector::To::XPath] ok 112 - css to xpath: tr:nth-child( 4N+2 ) [CSS::Selector::To::XPath] ok 113 - css to xpath: tr:nth-child( 4n+3 ) [CSS::Selector::To::XPath] ok 114 - css to xpath: tr:nth-child( 4n+4 ) [CSS::Selector::To::XPath] ok 115 - css to xpath: tr:nth-child( 4n+5 ) [CSS::Selector::To::XPath] ok 116 - css to xpath: tr:nth-child( 4n+6 ) [CSS::Selector::To::XPath] ok 117 - css to xpath: tr:nth-child( 4n-1 ) [CSS::Selector::To::XPath] ok 118 - css to xpath: tr:nth-child( -2n+ 6 ) [CSS::Selector::To::XPath] ok 119 - css to xpath: tr:nth-child( -n+ 6 ) [CSS::Selector::To::XPath] 1..119 [CSS::Selector::To::XPath] # You failed 9 tests of 119 [CSS::Selector::To::XPath] Command: /tmp/whateverable/rakudo-moar/fe0e20c28859ea709eefad19af452c9d35dff20d/bin/rakudo -I /tmp/.zef.1765206994.33630/9018c62a4d8e0ff86ea1595e1e54985034a319dc.tar.gz/CSS-Selector-To-XPath-0.0.8 t/02_html.t [CSS::Selector::To::XPath] 1..1 [CSS::Selector::To::XPath] ok 1 - # SKIP LibXML is required to run these tests [CSS::Selector::To::XPath] Command: /tmp/whateverable/rakudo-moar/fe0e20c28859ea709eefad19af452c9d35dff20d/bin/rakudo -I /tmp/.zef.1765206994.33630/9018c62a4d8e0ff86ea1595e1e54985034a319dc.tar.gz/CSS-Selector-To-XPath-0.0.8 t/03_custom_pseudos.t [CSS::Selector::To::XPath] 1..5 [CSS::Selector::To::XPath] ok 1 - inherited pseudo-class [CSS::Selector::To::XPath] ok 2 - [CSS::Selector::To::XPath] ok 3 - css selection: a:visited [CSS::Selector::To::XPath] ok 4 - css selection: a:hover [CSS::Selector::To::XPath] ok 5 - css selection: a:root [CSS::Selector::To::XPath] Command: /tmp/whateverable/rakudo-moar/fe0e20c28859ea709eefad19af452c9d35dff20d/bin/rakudo -I /tmp/.zef.1765206994.33630/9018c62a4d8e0ff86ea1595e1e54985034a319dc.tar.gz/CSS-Selector-To-XPath-0.0.8 t/04_fallback_pseudos.t [CSS::Selector::To::XPath] 1..5 [CSS::Selector::To::XPath] ok 1 - :fallback option [CSS::Selector::To::XPath] ok 2 - css selection: a:visited [CSS::Selector::To::XPath] ok 3 - css selection: a:Hover [CSS::Selector::To::XPath] ok 4 - css selection: a:Color("blue") [CSS::Selector::To::XPath] ok 5 - css selection: a:root ===> Testing [FAIL]: CSS::Selector::To::XPath:ver<0.0.8>:auth