I: pbuilder: network access will be disabled during build I: Current time: Fri May 24 08:50:37 +14 2024 I: pbuilder-time-stamp: 1716490237 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [ruby-rubocop-ast_1.24.0-2.dsc] I: copying [./ruby-rubocop-ast_1.24.0.orig.tar.gz] I: copying [./ruby-rubocop-ast_1.24.0-2.debian.tar.xz] I: Extracting source gpgv: Signature made Thu Dec 22 11:30:59 2022 +14 gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C gpgv: issuer "kanashiro@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ruby-rubocop-ast_1.24.0-2.dsc: no acceptable signature found dpkg-source: info: extracting ruby-rubocop-ast in ruby-rubocop-ast-1.24.0 dpkg-source: info: unpacking ruby-rubocop-ast_1.24.0.orig.tar.gz dpkg-source: info: unpacking ruby-rubocop-ast_1.24.0-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-gemspec-drop-git-usage.patch dpkg-source: info: applying 0002-Fix-compile-task.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/30643/tmp/hooks/D01_modify_environment starting debug: Running on codethink15-arm64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 May 24 08:50 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/30643/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/30643/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") BASH_VERSION='5.2.15(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=arm64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DIRSTACK=() DISTRIBUTION=bookworm EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/var/lib/jenkins HOSTNAME=i-capture-the-hostname HOSTTYPE=aarch64 HOST_ARCH=arm64 IFS=' ' LANG=C LANGUAGE=nl_BE:nl LC_ALL=C MACHTYPE=aarch64-unknown-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=30643 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.KgCiqyfR/pbuilderrc_88E7 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KgCiqyfR/b2 --logfile b2/build.log --extrapackages usrmerge ruby-rubocop-ast_1.24.0-2.dsc' SUDO_GID=117 SUDO_UID=110 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root USERNAME=root _='I: set' http_proxy=http://192.168.101.16:3128 I: uname -a Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 22 06:47 /bin -> usr/bin I: user script /srv/workspace/pbuilder/30643/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), gem2deb (>= 1), racc, rake, ruby-oedipus-lex, ruby-rspec, ruby-whitequark-parser (>= 3.1.1.0) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19616 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on gem2deb (>= 1); however: Package gem2deb is not installed. pbuilder-satisfydepends-dummy depends on racc; however: Package racc is not installed. pbuilder-satisfydepends-dummy depends on rake; however: Package rake is not installed. pbuilder-satisfydepends-dummy depends on ruby-oedipus-lex; however: Package ruby-oedipus-lex is not installed. pbuilder-satisfydepends-dummy depends on ruby-rspec; however: Package ruby-rspec is not installed. pbuilder-satisfydepends-dummy depends on ruby-whitequark-parser (>= 3.1.1.0); however: Package ruby-whitequark-parser is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} ca-certificates{a} debhelper{a} devscripts{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dirmngr{a} dwz{a} file{a} gem2deb{a} gem2deb-test-runner{a} gettext{a} gettext-base{a} gnupg{a} gnupg-l10n{a} gnupg-utils{a} gpg{a} gpg-agent{a} gpg-wks-client{a} gpg-wks-server{a} gpgconf{a} gpgsm{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libassuan0{a} libb-hooks-op-check-perl{a} libbsd0{a} libclass-method-modifiers-perl{a} libclass-xsaccessor-perl{a} libclone-perl{a} libdebhelper-perl{a} libdevel-callchecker-perl{a} libdynaloader-functions-perl{a} libedit2{a} libelf1{a} libencode-locale-perl{a} libexpat1{a} libfile-dirlist-perl{a} libfile-homedir-perl{a} libfile-listing-perl{a} libfile-stripnondeterminism-perl{a} libfile-touch-perl{a} libfile-which-perl{a} libgmp-dev{a} libgmpxx4ldbl{a} libhtml-parser-perl{a} libhtml-tagset-perl{a} libhtml-tree-perl{a} libhttp-cookies-perl{a} libhttp-date-perl{a} libhttp-message-perl{a} libhttp-negotiate-perl{a} libicu72{a} libimport-into-perl{a} libio-html-perl{a} libio-pty-perl{a} libio-socket-ssl-perl{a} libipc-run-perl{a} libksba8{a} libldap-2.5-0{a} liblwp-mediatypes-perl{a} liblwp-protocol-https-perl{a} libmagic-mgc{a} libmagic1{a} libmodule-runtime-perl{a} libmoo-perl{a} libncurses6{a} libnet-http-perl{a} libnet-ssleay-perl{a} libnpth0{a} libparams-classify-perl{a} libpipeline1{a} libpython3-stdlib{a} libpython3.11-minimal{a} libpython3.11-stdlib{a} libreadline8{a} libregexp-ipv6-perl{a} librole-tiny-perl{a} libruby{a} libruby3.1{a} libsasl2-2{a} libsasl2-modules-db{a} libsub-override-perl{a} libsub-quote-perl{a} libtimedate-perl{a} libtool{a} libtry-tiny-perl{a} libuchardet0{a} liburi-perl{a} libwww-perl{a} libwww-robotrules-perl{a} libxml2{a} libyaml-0-2{a} m4{a} man-db{a} media-types{a} netbase{a} openssl{a} patchutils{a} perl-openssl-defaults{a} pinentry-curses{a} po-debconf{a} python3{a} python3-minimal{a} python3.11{a} python3.11-minimal{a} racc{a} rake{a} readline-common{a} ruby{a} ruby-all-dev{a} ruby-ast{a} ruby-diff-lcs{a} ruby-net-telnet{a} ruby-oedipus-lex{a} ruby-rspec{a} ruby-rspec-core{a} ruby-rspec-expectations{a} ruby-rspec-mocks{a} ruby-rspec-support{a} ruby-rubygems{a} ruby-sdbm{a} ruby-webrick{a} ruby-whitequark-parser{a} ruby-xmlrpc{a} ruby3.1{a} ruby3.1-dev{a} rubygems-integration{a} sensible-utils{a} wdiff{a} The following packages are RECOMMENDED but will NOT be installed: apt-file curl dctrl-tools debian-keyring dput dput-ng dupload equivs fonts-lato libarchive-cpio-perl libdata-dump-perl libdistro-info-perl libgit-wrapper-perl libgitlab-api-v4-perl libgpm2 libhtml-form-perl libhtml-format-perl libhttp-daemon-perl libjs-jquery libldap-common liblist-compare-perl libltdl-dev libmail-sendmail-perl libmailtools-perl libnamespace-clean-perl libsasl2-modules libsoap-lite-perl libstring-shellquote-perl libxstring-perl licensecheck lintian lynx pristine-tar python3-apt python3-debian python3-magic python3-requests python3-unidiff python3-xdg ruby3.1-doc strace unzip wget zip 0 packages upgraded, 135 newly installed, 0 to remove and 0 not upgraded. Need to get 46.1 MB of archives. After unpacking 176 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main arm64 libpython3.11-minimal arm64 3.11.2-6 [806 kB] Get: 2 http://deb.debian.org/debian bookworm/main arm64 libexpat1 arm64 2.5.0-1 [84.8 kB] Get: 3 http://deb.debian.org/debian bookworm/main arm64 python3.11-minimal arm64 3.11.2-6 [1858 kB] Get: 4 http://deb.debian.org/debian bookworm/main arm64 python3-minimal arm64 3.11.2-1+b1 [26.3 kB] Get: 5 http://deb.debian.org/debian bookworm/main arm64 media-types all 10.0.0 [26.1 kB] Get: 6 http://deb.debian.org/debian bookworm/main arm64 readline-common all 8.2-1.3 [69.0 kB] Get: 7 http://deb.debian.org/debian bookworm/main arm64 libreadline8 arm64 8.2-1.3 [155 kB] Get: 8 http://deb.debian.org/debian bookworm/main arm64 libpython3.11-stdlib arm64 3.11.2-6 [1747 kB] Get: 9 http://deb.debian.org/debian bookworm/main arm64 python3.11 arm64 3.11.2-6 [572 kB] Get: 10 http://deb.debian.org/debian bookworm/main arm64 libpython3-stdlib arm64 3.11.2-1+b1 [9296 B] Get: 11 http://deb.debian.org/debian bookworm/main arm64 python3 arm64 3.11.2-1+b1 [26.3 kB] Get: 12 http://deb.debian.org/debian bookworm/main arm64 netbase all 6.4 [12.8 kB] Get: 13 http://deb.debian.org/debian bookworm/main arm64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 14 http://deb.debian.org/debian bookworm/main arm64 openssl arm64 3.0.8-1 [1373 kB] Get: 15 http://deb.debian.org/debian bookworm/main arm64 ca-certificates all 20230311 [153 kB] Get: 16 http://deb.debian.org/debian bookworm/main arm64 libmagic-mgc arm64 1:5.44-3 [305 kB] Get: 17 http://deb.debian.org/debian bookworm/main arm64 libmagic1 arm64 1:5.44-3 [98.5 kB] Get: 18 http://deb.debian.org/debian bookworm/main arm64 file arm64 1:5.44-3 [42.5 kB] Get: 19 http://deb.debian.org/debian bookworm/main arm64 gettext-base arm64 0.21-12 [159 kB] Get: 20 http://deb.debian.org/debian bookworm/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB] Get: 21 http://deb.debian.org/debian bookworm/main arm64 groff-base arm64 1.22.4-10 [861 kB] Get: 22 http://deb.debian.org/debian bookworm/main arm64 bsdextrautils arm64 2.38.1-5+b1 [86.9 kB] Get: 23 http://deb.debian.org/debian bookworm/main arm64 libpipeline1 arm64 1.5.7-1 [36.4 kB] Get: 24 http://deb.debian.org/debian bookworm/main arm64 man-db arm64 2.11.2-2 [1369 kB] Get: 25 http://deb.debian.org/debian bookworm/main arm64 m4 arm64 1.4.19-3 [276 kB] Get: 26 http://deb.debian.org/debian bookworm/main arm64 autoconf all 2.71-3 [332 kB] Get: 27 http://deb.debian.org/debian bookworm/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 28 http://deb.debian.org/debian bookworm/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 29 http://deb.debian.org/debian bookworm/main arm64 autopoint all 0.21-12 [495 kB] Get: 30 http://deb.debian.org/debian bookworm/main arm64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 31 http://deb.debian.org/debian bookworm/main arm64 libtool all 2.4.7-5 [517 kB] Get: 32 http://deb.debian.org/debian bookworm/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 33 http://deb.debian.org/debian bookworm/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 34 http://deb.debian.org/debian bookworm/main arm64 libsub-override-perl all 0.09-4 [9304 B] Get: 35 http://deb.debian.org/debian bookworm/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 36 http://deb.debian.org/debian bookworm/main arm64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 37 http://deb.debian.org/debian bookworm/main arm64 libelf1 arm64 0.188-2.1 [173 kB] Get: 38 http://deb.debian.org/debian bookworm/main arm64 dwz arm64 0.15-1 [101 kB] Get: 39 http://deb.debian.org/debian bookworm/main arm64 libicu72 arm64 72.1-3 [9204 kB] Get: 40 http://deb.debian.org/debian bookworm/main arm64 libxml2 arm64 2.9.14+dfsg-1.1+b3 [619 kB] Get: 41 http://deb.debian.org/debian bookworm/main arm64 gettext arm64 0.21-12 [1248 kB] Get: 42 http://deb.debian.org/debian bookworm/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 43 http://deb.debian.org/debian bookworm/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 44 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] Get: 45 http://deb.debian.org/debian bookworm/main arm64 libassuan0 arm64 2.5.5-5 [45.9 kB] Get: 46 http://deb.debian.org/debian bookworm/main arm64 gpgconf arm64 2.2.40-1.1 [557 kB] Get: 47 http://deb.debian.org/debian bookworm/main arm64 libksba8 arm64 1.6.3-2 [119 kB] Get: 48 http://deb.debian.org/debian bookworm/main arm64 libsasl2-modules-db arm64 2.1.28+dfsg-10 [20.8 kB] Get: 49 http://deb.debian.org/debian bookworm/main arm64 libsasl2-2 arm64 2.1.28+dfsg-10 [58.0 kB] Get: 50 http://deb.debian.org/debian bookworm/main arm64 libldap-2.5-0 arm64 2.5.13+dfsg-5 [171 kB] Get: 51 http://deb.debian.org/debian bookworm/main arm64 libnpth0 arm64 1.6-3 [18.6 kB] Get: 52 http://deb.debian.org/debian bookworm/main arm64 dirmngr arm64 2.2.40-1.1 [770 kB] Get: 53 http://deb.debian.org/debian bookworm/main arm64 gnupg-l10n all 2.2.40-1.1 [1093 kB] Get: 54 http://deb.debian.org/debian bookworm/main arm64 gnupg-utils arm64 2.2.40-1.1 [880 kB] Get: 55 http://deb.debian.org/debian bookworm/main arm64 gpg arm64 2.2.40-1.1 [903 kB] Get: 56 http://deb.debian.org/debian bookworm/main arm64 pinentry-curses arm64 1.2.1-1 [75.2 kB] Get: 57 http://deb.debian.org/debian bookworm/main arm64 gpg-agent arm64 2.2.40-1.1 [673 kB] Get: 58 http://deb.debian.org/debian bookworm/main arm64 gpg-wks-client arm64 2.2.40-1.1 [532 kB] Get: 59 http://deb.debian.org/debian bookworm/main arm64 gpg-wks-server arm64 2.2.40-1.1 [524 kB] Get: 60 http://deb.debian.org/debian bookworm/main arm64 gpgsm arm64 2.2.40-1.1 [651 kB] Get: 61 http://deb.debian.org/debian bookworm/main arm64 gnupg all 2.2.40-1.1 [846 kB] Get: 62 http://deb.debian.org/debian bookworm/main arm64 libfile-dirlist-perl all 0.05-3 [7600 B] Get: 63 http://deb.debian.org/debian bookworm/main arm64 libfile-which-perl all 1.27-2 [15.1 kB] Get: 64 http://deb.debian.org/debian bookworm/main arm64 libfile-homedir-perl all 1.006-2 [42.4 kB] Get: 65 http://deb.debian.org/debian bookworm/main arm64 libfile-touch-perl all 0.12-2 [8816 B] Get: 66 http://deb.debian.org/debian bookworm/main arm64 libio-pty-perl arm64 1:1.17-1 [34.5 kB] Get: 67 http://deb.debian.org/debian bookworm/main arm64 libipc-run-perl all 20220807.0-1 [104 kB] Get: 68 http://deb.debian.org/debian bookworm/main arm64 libclass-method-modifiers-perl all 2.14-1 [18.1 kB] Get: 69 http://deb.debian.org/debian bookworm/main arm64 libclass-xsaccessor-perl arm64 1.19-4+b1 [35.3 kB] Get: 70 http://deb.debian.org/debian bookworm/main arm64 libb-hooks-op-check-perl arm64 0.22-2+b1 [10.4 kB] Get: 71 http://deb.debian.org/debian bookworm/main arm64 libdynaloader-functions-perl all 0.003-3 [12.7 kB] Get: 72 http://deb.debian.org/debian bookworm/main arm64 libdevel-callchecker-perl arm64 0.008-2 [15.9 kB] Get: 73 http://deb.debian.org/debian bookworm/main arm64 libparams-classify-perl arm64 0.015-2+b1 [22.9 kB] Get: 74 http://deb.debian.org/debian bookworm/main arm64 libmodule-runtime-perl all 0.016-2 [19.6 kB] Get: 75 http://deb.debian.org/debian bookworm/main arm64 libimport-into-perl all 1.002005-2 [11.3 kB] Get: 76 http://deb.debian.org/debian bookworm/main arm64 librole-tiny-perl all 2.002004-1 [21.4 kB] Get: 77 http://deb.debian.org/debian bookworm/main arm64 libsub-quote-perl all 2.006008-1 [21.8 kB] Get: 78 http://deb.debian.org/debian bookworm/main arm64 libmoo-perl all 2.005005-1 [58.0 kB] Get: 79 http://deb.debian.org/debian bookworm/main arm64 libencode-locale-perl all 1.05-3 [12.9 kB] Get: 80 http://deb.debian.org/debian bookworm/main arm64 libtimedate-perl all 2.3300-2 [39.3 kB] Get: 81 http://deb.debian.org/debian bookworm/main arm64 libhttp-date-perl all 6.05-2 [10.5 kB] Get: 82 http://deb.debian.org/debian bookworm/main arm64 libfile-listing-perl all 6.15-1 [12.6 kB] Get: 83 http://deb.debian.org/debian bookworm/main arm64 libhtml-tagset-perl all 3.20-6 [11.7 kB] Get: 84 http://deb.debian.org/debian bookworm/main arm64 libregexp-ipv6-perl all 0.03-3 [5212 B] Get: 85 http://deb.debian.org/debian bookworm/main arm64 liburi-perl all 5.17-1 [90.4 kB] Get: 86 http://deb.debian.org/debian bookworm/main arm64 libhtml-parser-perl arm64 3.81-1 [98.6 kB] Get: 87 http://deb.debian.org/debian bookworm/main arm64 libhtml-tree-perl all 5.07-3 [211 kB] Get: 88 http://deb.debian.org/debian bookworm/main arm64 libclone-perl arm64 0.46-1 [13.5 kB] Get: 89 http://deb.debian.org/debian bookworm/main arm64 libio-html-perl all 1.004-3 [16.2 kB] Get: 90 http://deb.debian.org/debian bookworm/main arm64 liblwp-mediatypes-perl all 6.04-2 [20.2 kB] Get: 91 http://deb.debian.org/debian bookworm/main arm64 libhttp-message-perl all 6.44-1 [81.7 kB] Get: 92 http://deb.debian.org/debian bookworm/main arm64 libhttp-cookies-perl all 6.10-1 [19.6 kB] Get: 93 http://deb.debian.org/debian bookworm/main arm64 libhttp-negotiate-perl all 6.01-2 [13.1 kB] Get: 94 http://deb.debian.org/debian bookworm/main arm64 perl-openssl-defaults arm64 7+b1 [7924 B] Get: 95 http://deb.debian.org/debian bookworm/main arm64 libnet-ssleay-perl arm64 1.92-2+b1 [308 kB] Get: 96 http://deb.debian.org/debian bookworm/main arm64 libio-socket-ssl-perl all 2.081-2 [219 kB] Get: 97 http://deb.debian.org/debian bookworm/main arm64 libnet-http-perl all 6.22-1 [25.3 kB] Get: 98 http://deb.debian.org/debian bookworm/main arm64 liblwp-protocol-https-perl all 6.10-1 [12.2 kB] Get: 99 http://deb.debian.org/debian bookworm/main arm64 libtry-tiny-perl all 0.31-2 [22.6 kB] Get: 100 http://deb.debian.org/debian bookworm/main arm64 libwww-robotrules-perl all 6.02-1 [12.9 kB] Get: 101 http://deb.debian.org/debian bookworm/main arm64 libwww-perl all 6.68-1 [186 kB] Get: 102 http://deb.debian.org/debian bookworm/main arm64 patchutils arm64 0.4.2-1 [73.5 kB] Get: 103 http://deb.debian.org/debian bookworm/main arm64 wdiff arm64 1.2.2-5 [119 kB] Get: 104 http://deb.debian.org/debian bookworm/main arm64 devscripts arm64 2.23.3 [1073 kB] Get: 105 http://deb.debian.org/debian bookworm/main arm64 rubygems-integration all 1.18 [6704 B] Get: 106 http://deb.debian.org/debian bookworm/main arm64 ruby-net-telnet all 0.2.0-1 [13.1 kB] Get: 107 http://deb.debian.org/debian bookworm/main arm64 ruby-webrick all 1.8.1-1 [51.4 kB] Get: 108 http://deb.debian.org/debian bookworm/main arm64 ruby-xmlrpc all 0.3.2-2 [24.4 kB] Get: 109 http://deb.debian.org/debian bookworm/main arm64 libruby arm64 1:3.1 [4968 B] Get: 110 http://deb.debian.org/debian bookworm/main arm64 ruby-sdbm arm64 1.0.0-5+b1 [14.5 kB] Get: 111 http://deb.debian.org/debian bookworm/main arm64 libbsd0 arm64 0.11.7-2 [115 kB] Get: 112 http://deb.debian.org/debian bookworm/main arm64 libedit2 arm64 3.1-20221030-2 [88.1 kB] Get: 113 http://deb.debian.org/debian bookworm/main arm64 libncurses6 arm64 6.4-2 [94.0 kB] Get: 114 http://deb.debian.org/debian bookworm/main arm64 libyaml-0-2 arm64 0.2.5-1 [50.4 kB] Get: 115 http://deb.debian.org/debian bookworm/main arm64 libruby3.1 arm64 3.1.2-7 [5248 kB] Get: 116 http://deb.debian.org/debian bookworm/main arm64 ruby3.1 arm64 3.1.2-7 [663 kB] Get: 117 http://deb.debian.org/debian bookworm/main arm64 ruby-rubygems all 3.3.15-2 [293 kB] Get: 118 http://deb.debian.org/debian bookworm/main arm64 ruby arm64 1:3.1 [5868 B] Get: 119 http://deb.debian.org/debian bookworm/main arm64 rake all 13.0.6-3 [83.9 kB] Get: 120 http://deb.debian.org/debian bookworm/main arm64 gem2deb-test-runner arm64 2.1 [16.9 kB] Get: 121 http://deb.debian.org/debian bookworm/main arm64 libgmpxx4ldbl arm64 2:6.2.1+dfsg1-1.1 [338 kB] Get: 122 http://deb.debian.org/debian bookworm/main arm64 libgmp-dev arm64 2:6.2.1+dfsg1-1.1 [622 kB] Get: 123 http://deb.debian.org/debian bookworm/main arm64 ruby3.1-dev arm64 3.1.2-7 [1004 kB] Get: 124 http://deb.debian.org/debian bookworm/main arm64 ruby-all-dev arm64 1:3.1 [5984 B] Get: 125 http://deb.debian.org/debian bookworm/main arm64 gem2deb arm64 2.1 [53.5 kB] Get: 126 http://deb.debian.org/debian bookworm/main arm64 racc all 1.6.2-1 [87.7 kB] Get: 127 http://deb.debian.org/debian bookworm/main arm64 ruby-ast all 2.4.1-1 [10.3 kB] Get: 128 http://deb.debian.org/debian bookworm/main arm64 ruby-diff-lcs all 1.5.0-1 [29.0 kB] Get: 129 http://deb.debian.org/debian bookworm/main arm64 ruby-oedipus-lex all 2.6.0-2 [19.1 kB] Get: 130 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec-support all 3.12.0c0e1m1s0-1 [28.1 kB] Get: 131 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec-core all 3.12.0c0e1m1s0-1 [163 kB] Get: 132 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.5 kB] Get: 133 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.5 kB] Get: 134 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] Get: 135 http://deb.debian.org/debian bookworm/main arm64 ruby-whitequark-parser all 3.1.3.0-1 [424 kB] Fetched 46.1 MB in 2s (30.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19616 files and directories currently installed.) Preparing to unpack .../libpython3.11-minimal_3.11.2-6_arm64.deb ... Unpacking libpython3.11-minimal:arm64 (3.11.2-6) ... Selecting previously unselected package libexpat1:arm64. Preparing to unpack .../libexpat1_2.5.0-1_arm64.deb ... Unpacking libexpat1:arm64 (2.5.0-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.2-6_arm64.deb ... Unpacking python3.11-minimal (3.11.2-6) ... Setting up libpython3.11-minimal:arm64 (3.11.2-6) ... Setting up libexpat1:arm64 (2.5.0-1) ... Setting up python3.11-minimal (3.11.2-6) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19932 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.2-1+b1_arm64.deb ... Unpacking python3-minimal (3.11.2-1+b1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.0.0_all.deb ... Unpacking media-types (10.0.0) ... Selecting previously unselected package readline-common. Preparing to unpack .../2-readline-common_8.2-1.3_all.deb ... Unpacking readline-common (8.2-1.3) ... Selecting previously unselected package libreadline8:arm64. Preparing to unpack .../3-libreadline8_8.2-1.3_arm64.deb ... Unpacking libreadline8:arm64 (8.2-1.3) ... Selecting previously unselected package libpython3.11-stdlib:arm64. Preparing to unpack .../4-libpython3.11-stdlib_3.11.2-6_arm64.deb ... Unpacking libpython3.11-stdlib:arm64 (3.11.2-6) ... Selecting previously unselected package python3.11. Preparing to unpack .../5-python3.11_3.11.2-6_arm64.deb ... Unpacking python3.11 (3.11.2-6) ... Selecting previously unselected package libpython3-stdlib:arm64. Preparing to unpack .../6-libpython3-stdlib_3.11.2-1+b1_arm64.deb ... Unpacking libpython3-stdlib:arm64 (3.11.2-1+b1) ... Setting up python3-minimal (3.11.2-1+b1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20366 files and directories currently installed.) Preparing to unpack .../000-python3_3.11.2-1+b1_arm64.deb ... Unpacking python3 (3.11.2-1+b1) ... Selecting previously unselected package netbase. Preparing to unpack .../001-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../002-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package openssl. Preparing to unpack .../003-openssl_3.0.8-1_arm64.deb ... Unpacking openssl (3.0.8-1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../004-ca-certificates_20230311_all.deb ... Unpacking ca-certificates (20230311) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../005-libmagic-mgc_1%3a5.44-3_arm64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../006-libmagic1_1%3a5.44-3_arm64.deb ... Unpacking libmagic1:arm64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../007-file_1%3a5.44-3_arm64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../008-gettext-base_0.21-12_arm64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../009-libuchardet0_0.0.7-1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../010-groff-base_1.22.4-10_arm64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../011-bsdextrautils_2.38.1-5+b1_arm64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../012-libpipeline1_1.5.7-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../013-man-db_2.11.2-2_arm64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../014-m4_1.4.19-3_arm64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../015-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../016-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../017-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../018-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../019-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../020-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../021-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../022-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../023-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../024-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../025-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../026-libelf1_0.188-2.1_arm64.deb ... Unpacking libelf1:arm64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../027-dwz_0.15-1_arm64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../028-libicu72_72.1-3_arm64.deb ... Unpacking libicu72:arm64 (72.1-3) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../029-libxml2_2.9.14+dfsg-1.1+b3_arm64.deb ... Unpacking libxml2:arm64 (2.9.14+dfsg-1.1+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../030-gettext_0.21-12_arm64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../031-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../032-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../033-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package libassuan0:arm64. Preparing to unpack .../034-libassuan0_2.5.5-5_arm64.deb ... Unpacking libassuan0:arm64 (2.5.5-5) ... Selecting previously unselected package gpgconf. Preparing to unpack .../035-gpgconf_2.2.40-1.1_arm64.deb ... Unpacking gpgconf (2.2.40-1.1) ... Selecting previously unselected package libksba8:arm64. Preparing to unpack .../036-libksba8_1.6.3-2_arm64.deb ... Unpacking libksba8:arm64 (1.6.3-2) ... Selecting previously unselected package libsasl2-modules-db:arm64. Preparing to unpack .../037-libsasl2-modules-db_2.1.28+dfsg-10_arm64.deb ... Unpacking libsasl2-modules-db:arm64 (2.1.28+dfsg-10) ... Selecting previously unselected package libsasl2-2:arm64. Preparing to unpack .../038-libsasl2-2_2.1.28+dfsg-10_arm64.deb ... Unpacking libsasl2-2:arm64 (2.1.28+dfsg-10) ... Selecting previously unselected package libldap-2.5-0:arm64. Preparing to unpack .../039-libldap-2.5-0_2.5.13+dfsg-5_arm64.deb ... Unpacking libldap-2.5-0:arm64 (2.5.13+dfsg-5) ... Selecting previously unselected package libnpth0:arm64. Preparing to unpack .../040-libnpth0_1.6-3_arm64.deb ... Unpacking libnpth0:arm64 (1.6-3) ... Selecting previously unselected package dirmngr. Preparing to unpack .../041-dirmngr_2.2.40-1.1_arm64.deb ... Unpacking dirmngr (2.2.40-1.1) ... Selecting previously unselected package gnupg-l10n. Preparing to unpack .../042-gnupg-l10n_2.2.40-1.1_all.deb ... Unpacking gnupg-l10n (2.2.40-1.1) ... Selecting previously unselected package gnupg-utils. Preparing to unpack .../043-gnupg-utils_2.2.40-1.1_arm64.deb ... Unpacking gnupg-utils (2.2.40-1.1) ... Selecting previously unselected package gpg. Preparing to unpack .../044-gpg_2.2.40-1.1_arm64.deb ... Unpacking gpg (2.2.40-1.1) ... Selecting previously unselected package pinentry-curses. Preparing to unpack .../045-pinentry-curses_1.2.1-1_arm64.deb ... Unpacking pinentry-curses (1.2.1-1) ... Selecting previously unselected package gpg-agent. Preparing to unpack .../046-gpg-agent_2.2.40-1.1_arm64.deb ... Unpacking gpg-agent (2.2.40-1.1) ... Selecting previously unselected package gpg-wks-client. Preparing to unpack .../047-gpg-wks-client_2.2.40-1.1_arm64.deb ... Unpacking gpg-wks-client (2.2.40-1.1) ... Selecting previously unselected package gpg-wks-server. Preparing to unpack .../048-gpg-wks-server_2.2.40-1.1_arm64.deb ... Unpacking gpg-wks-server (2.2.40-1.1) ... Selecting previously unselected package gpgsm. Preparing to unpack .../049-gpgsm_2.2.40-1.1_arm64.deb ... Unpacking gpgsm (2.2.40-1.1) ... Selecting previously unselected package gnupg. Preparing to unpack .../050-gnupg_2.2.40-1.1_all.deb ... Unpacking gnupg (2.2.40-1.1) ... Selecting previously unselected package libfile-dirlist-perl. Preparing to unpack .../051-libfile-dirlist-perl_0.05-3_all.deb ... Unpacking libfile-dirlist-perl (0.05-3) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../052-libfile-which-perl_1.27-2_all.deb ... Unpacking libfile-which-perl (1.27-2) ... Selecting previously unselected package libfile-homedir-perl. Preparing to unpack .../053-libfile-homedir-perl_1.006-2_all.deb ... Unpacking libfile-homedir-perl (1.006-2) ... Selecting previously unselected package libfile-touch-perl. Preparing to unpack .../054-libfile-touch-perl_0.12-2_all.deb ... Unpacking libfile-touch-perl (0.12-2) ... Selecting previously unselected package libio-pty-perl. Preparing to unpack .../055-libio-pty-perl_1%3a1.17-1_arm64.deb ... Unpacking libio-pty-perl (1:1.17-1) ... Selecting previously unselected package libipc-run-perl. Preparing to unpack .../056-libipc-run-perl_20220807.0-1_all.deb ... Unpacking libipc-run-perl (20220807.0-1) ... Selecting previously unselected package libclass-method-modifiers-perl. Preparing to unpack .../057-libclass-method-modifiers-perl_2.14-1_all.deb ... Unpacking libclass-method-modifiers-perl (2.14-1) ... Selecting previously unselected package libclass-xsaccessor-perl. Preparing to unpack .../058-libclass-xsaccessor-perl_1.19-4+b1_arm64.deb ... Unpacking libclass-xsaccessor-perl (1.19-4+b1) ... Selecting previously unselected package libb-hooks-op-check-perl:arm64. Preparing to unpack .../059-libb-hooks-op-check-perl_0.22-2+b1_arm64.deb ... Unpacking libb-hooks-op-check-perl:arm64 (0.22-2+b1) ... Selecting previously unselected package libdynaloader-functions-perl. Preparing to unpack .../060-libdynaloader-functions-perl_0.003-3_all.deb ... Unpacking libdynaloader-functions-perl (0.003-3) ... Selecting previously unselected package libdevel-callchecker-perl:arm64. Preparing to unpack .../061-libdevel-callchecker-perl_0.008-2_arm64.deb ... Unpacking libdevel-callchecker-perl:arm64 (0.008-2) ... Selecting previously unselected package libparams-classify-perl:arm64. Preparing to unpack .../062-libparams-classify-perl_0.015-2+b1_arm64.deb ... Unpacking libparams-classify-perl:arm64 (0.015-2+b1) ... Selecting previously unselected package libmodule-runtime-perl. Preparing to unpack .../063-libmodule-runtime-perl_0.016-2_all.deb ... Unpacking libmodule-runtime-perl (0.016-2) ... Selecting previously unselected package libimport-into-perl. Preparing to unpack .../064-libimport-into-perl_1.002005-2_all.deb ... Unpacking libimport-into-perl (1.002005-2) ... Selecting previously unselected package librole-tiny-perl. Preparing to unpack .../065-librole-tiny-perl_2.002004-1_all.deb ... Unpacking librole-tiny-perl (2.002004-1) ... Selecting previously unselected package libsub-quote-perl. Preparing to unpack .../066-libsub-quote-perl_2.006008-1_all.deb ... Unpacking libsub-quote-perl (2.006008-1) ... Selecting previously unselected package libmoo-perl. Preparing to unpack .../067-libmoo-perl_2.005005-1_all.deb ... Unpacking libmoo-perl (2.005005-1) ... Selecting previously unselected package libencode-locale-perl. Preparing to unpack .../068-libencode-locale-perl_1.05-3_all.deb ... Unpacking libencode-locale-perl (1.05-3) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../069-libtimedate-perl_2.3300-2_all.deb ... Unpacking libtimedate-perl (2.3300-2) ... Selecting previously unselected package libhttp-date-perl. Preparing to unpack .../070-libhttp-date-perl_6.05-2_all.deb ... Unpacking libhttp-date-perl (6.05-2) ... Selecting previously unselected package libfile-listing-perl. Preparing to unpack .../071-libfile-listing-perl_6.15-1_all.deb ... Unpacking libfile-listing-perl (6.15-1) ... Selecting previously unselected package libhtml-tagset-perl. Preparing to unpack .../072-libhtml-tagset-perl_3.20-6_all.deb ... Unpacking libhtml-tagset-perl (3.20-6) ... Selecting previously unselected package libregexp-ipv6-perl. Preparing to unpack .../073-libregexp-ipv6-perl_0.03-3_all.deb ... Unpacking libregexp-ipv6-perl (0.03-3) ... Selecting previously unselected package liburi-perl. Preparing to unpack .../074-liburi-perl_5.17-1_all.deb ... Unpacking liburi-perl (5.17-1) ... Selecting previously unselected package libhtml-parser-perl:arm64. Preparing to unpack .../075-libhtml-parser-perl_3.81-1_arm64.deb ... Unpacking libhtml-parser-perl:arm64 (3.81-1) ... Selecting previously unselected package libhtml-tree-perl. Preparing to unpack .../076-libhtml-tree-perl_5.07-3_all.deb ... Unpacking libhtml-tree-perl (5.07-3) ... Selecting previously unselected package libclone-perl:arm64. Preparing to unpack .../077-libclone-perl_0.46-1_arm64.deb ... Unpacking libclone-perl:arm64 (0.46-1) ... Selecting previously unselected package libio-html-perl. Preparing to unpack .../078-libio-html-perl_1.004-3_all.deb ... Unpacking libio-html-perl (1.004-3) ... Selecting previously unselected package liblwp-mediatypes-perl. Preparing to unpack .../079-liblwp-mediatypes-perl_6.04-2_all.deb ... Unpacking liblwp-mediatypes-perl (6.04-2) ... Selecting previously unselected package libhttp-message-perl. Preparing to unpack .../080-libhttp-message-perl_6.44-1_all.deb ... Unpacking libhttp-message-perl (6.44-1) ... Selecting previously unselected package libhttp-cookies-perl. Preparing to unpack .../081-libhttp-cookies-perl_6.10-1_all.deb ... Unpacking libhttp-cookies-perl (6.10-1) ... Selecting previously unselected package libhttp-negotiate-perl. Preparing to unpack .../082-libhttp-negotiate-perl_6.01-2_all.deb ... Unpacking libhttp-negotiate-perl (6.01-2) ... Selecting previously unselected package perl-openssl-defaults:arm64. Preparing to unpack .../083-perl-openssl-defaults_7+b1_arm64.deb ... Unpacking perl-openssl-defaults:arm64 (7+b1) ... Selecting previously unselected package libnet-ssleay-perl:arm64. Preparing to unpack .../084-libnet-ssleay-perl_1.92-2+b1_arm64.deb ... Unpacking libnet-ssleay-perl:arm64 (1.92-2+b1) ... Selecting previously unselected package libio-socket-ssl-perl. Preparing to unpack .../085-libio-socket-ssl-perl_2.081-2_all.deb ... Unpacking libio-socket-ssl-perl (2.081-2) ... Selecting previously unselected package libnet-http-perl. Preparing to unpack .../086-libnet-http-perl_6.22-1_all.deb ... Unpacking libnet-http-perl (6.22-1) ... Selecting previously unselected package liblwp-protocol-https-perl. Preparing to unpack .../087-liblwp-protocol-https-perl_6.10-1_all.deb ... Unpacking liblwp-protocol-https-perl (6.10-1) ... Selecting previously unselected package libtry-tiny-perl. Preparing to unpack .../088-libtry-tiny-perl_0.31-2_all.deb ... Unpacking libtry-tiny-perl (0.31-2) ... Selecting previously unselected package libwww-robotrules-perl. Preparing to unpack .../089-libwww-robotrules-perl_6.02-1_all.deb ... Unpacking libwww-robotrules-perl (6.02-1) ... Selecting previously unselected package libwww-perl. Preparing to unpack .../090-libwww-perl_6.68-1_all.deb ... Unpacking libwww-perl (6.68-1) ... Selecting previously unselected package patchutils. Preparing to unpack .../091-patchutils_0.4.2-1_arm64.deb ... Unpacking patchutils (0.4.2-1) ... Selecting previously unselected package wdiff. Preparing to unpack .../092-wdiff_1.2.2-5_arm64.deb ... Unpacking wdiff (1.2.2-5) ... Selecting previously unselected package devscripts. Preparing to unpack .../093-devscripts_2.23.3_arm64.deb ... Unpacking devscripts (2.23.3) ... Selecting previously unselected package rubygems-integration. Preparing to unpack .../094-rubygems-integration_1.18_all.deb ... Unpacking rubygems-integration (1.18) ... Selecting previously unselected package ruby-net-telnet. Preparing to unpack .../095-ruby-net-telnet_0.2.0-1_all.deb ... Unpacking ruby-net-telnet (0.2.0-1) ... Selecting previously unselected package ruby-webrick. Preparing to unpack .../096-ruby-webrick_1.8.1-1_all.deb ... Unpacking ruby-webrick (1.8.1-1) ... Selecting previously unselected package ruby-xmlrpc. Preparing to unpack .../097-ruby-xmlrpc_0.3.2-2_all.deb ... Unpacking ruby-xmlrpc (0.3.2-2) ... Selecting previously unselected package libruby:arm64. Preparing to unpack .../098-libruby_1%3a3.1_arm64.deb ... Unpacking libruby:arm64 (1:3.1) ... Selecting previously unselected package ruby-sdbm:arm64. Preparing to unpack .../099-ruby-sdbm_1.0.0-5+b1_arm64.deb ... Unpacking ruby-sdbm:arm64 (1.0.0-5+b1) ... Selecting previously unselected package libbsd0:arm64. Preparing to unpack .../100-libbsd0_0.11.7-2_arm64.deb ... Unpacking libbsd0:arm64 (0.11.7-2) ... Selecting previously unselected package libedit2:arm64. Preparing to unpack .../101-libedit2_3.1-20221030-2_arm64.deb ... Unpacking libedit2:arm64 (3.1-20221030-2) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../102-libncurses6_6.4-2_arm64.deb ... Unpacking libncurses6:arm64 (6.4-2) ... Selecting previously unselected package libyaml-0-2:arm64. Preparing to unpack .../103-libyaml-0-2_0.2.5-1_arm64.deb ... Unpacking libyaml-0-2:arm64 (0.2.5-1) ... Selecting previously unselected package libruby3.1:arm64. Preparing to unpack .../104-libruby3.1_3.1.2-7_arm64.deb ... Unpacking libruby3.1:arm64 (3.1.2-7) ... Selecting previously unselected package ruby3.1. Preparing to unpack .../105-ruby3.1_3.1.2-7_arm64.deb ... Unpacking ruby3.1 (3.1.2-7) ... Selecting previously unselected package ruby-rubygems. Preparing to unpack .../106-ruby-rubygems_3.3.15-2_all.deb ... Unpacking ruby-rubygems (3.3.15-2) ... Selecting previously unselected package ruby. Preparing to unpack .../107-ruby_1%3a3.1_arm64.deb ... Unpacking ruby (1:3.1) ... Selecting previously unselected package rake. Preparing to unpack .../108-rake_13.0.6-3_all.deb ... Unpacking rake (13.0.6-3) ... Selecting previously unselected package gem2deb-test-runner. Preparing to unpack .../109-gem2deb-test-runner_2.1_arm64.deb ... Unpacking gem2deb-test-runner (2.1) ... Selecting previously unselected package libgmpxx4ldbl:arm64. Preparing to unpack .../110-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_arm64.deb ... Unpacking libgmpxx4ldbl:arm64 (2:6.2.1+dfsg1-1.1) ... Selecting previously unselected package libgmp-dev:arm64. Preparing to unpack .../111-libgmp-dev_2%3a6.2.1+dfsg1-1.1_arm64.deb ... Unpacking libgmp-dev:arm64 (2:6.2.1+dfsg1-1.1) ... Selecting previously unselected package ruby3.1-dev:arm64. Preparing to unpack .../112-ruby3.1-dev_3.1.2-7_arm64.deb ... Unpacking ruby3.1-dev:arm64 (3.1.2-7) ... Selecting previously unselected package ruby-all-dev:arm64. Preparing to unpack .../113-ruby-all-dev_1%3a3.1_arm64.deb ... Unpacking ruby-all-dev:arm64 (1:3.1) ... Selecting previously unselected package gem2deb. Preparing to unpack .../114-gem2deb_2.1_arm64.deb ... Unpacking gem2deb (2.1) ... Selecting previously unselected package racc. Preparing to unpack .../115-racc_1.6.2-1_all.deb ... Unpacking racc (1.6.2-1) ... Selecting previously unselected package ruby-ast. Preparing to unpack .../116-ruby-ast_2.4.1-1_all.deb ... Unpacking ruby-ast (2.4.1-1) ... Selecting previously unselected package ruby-diff-lcs. Preparing to unpack .../117-ruby-diff-lcs_1.5.0-1_all.deb ... Unpacking ruby-diff-lcs (1.5.0-1) ... Selecting previously unselected package ruby-oedipus-lex. Preparing to unpack .../118-ruby-oedipus-lex_2.6.0-2_all.deb ... Unpacking ruby-oedipus-lex (2.6.0-2) ... Selecting previously unselected package ruby-rspec-support. Preparing to unpack .../119-ruby-rspec-support_3.12.0c0e1m1s0-1_all.deb ... Unpacking ruby-rspec-support (3.12.0c0e1m1s0-1) ... Selecting previously unselected package ruby-rspec-core. Preparing to unpack .../120-ruby-rspec-core_3.12.0c0e1m1s0-1_all.deb ... Unpacking ruby-rspec-core (3.12.0c0e1m1s0-1) ... Selecting previously unselected package ruby-rspec-expectations. Preparing to unpack .../121-ruby-rspec-expectations_3.12.0c0e1m1s0-1_all.deb ... Unpacking ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... Selecting previously unselected package ruby-rspec-mocks. Preparing to unpack .../122-ruby-rspec-mocks_3.12.0c0e1m1s0-1_all.deb ... Unpacking ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... Selecting previously unselected package ruby-rspec. Preparing to unpack .../123-ruby-rspec_3.12.0c0e1m1s0-1_all.deb ... Unpacking ruby-rspec (3.12.0c0e1m1s0-1) ... Selecting previously unselected package ruby-whitequark-parser. Preparing to unpack .../124-ruby-whitequark-parser_3.1.3.0-1_all.deb ... Unpacking ruby-whitequark-parser (3.1.3.0-1) ... Setting up libksba8:arm64 (1.6.3-2) ... Setting up media-types (10.0.0) ... Setting up libpipeline1:arm64 (1.5.7-1) ... Setting up wdiff (1.2.2-5) ... Setting up libfile-which-perl (1.27-2) ... Setting up libicu72:arm64 (72.1-3) ... Setting up ruby-oedipus-lex (2.6.0-2) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libdynaloader-functions-perl (0.003-3) ... Setting up libclass-method-modifiers-perl (2.14-1) ... Setting up libio-pty-perl (1:1.17-1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libclone-perl:arm64 (0.46-1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libyaml-0-2:arm64 (0.2.5-1) ... Setting up libhtml-tagset-perl (3.20-6) ... Setting up libdebhelper-perl (13.11.4) ... Setting up liblwp-mediatypes-perl (6.04-2) ... Setting up libtry-tiny-perl (0.31-2) ... Setting up libmagic1:arm64 (1:5.44-3) ... Setting up perl-openssl-defaults:arm64 (7+b1) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up libencode-locale-perl (1.05-3) ... Setting up libnpth0:arm64 (1.6-3) ... Setting up file (1:5.44-3) ... Setting up libassuan0:arm64 (2.5.5-5) ... Setting up libsasl2-modules-db:arm64 (2.1.28+dfsg-10) ... Setting up autotools-dev (20220109.1) ... Setting up libgmpxx4ldbl:arm64 (2:6.2.1+dfsg1-1.1) ... Setting up gnupg-l10n (2.2.40-1.1) ... Setting up ruby-ast (2.4.1-1) ... Setting up libncurses6:arm64 (6.4-2) ... Setting up ruby-net-telnet (0.2.0-1) ... Setting up libio-html-perl (1.004-3) ... Setting up autopoint (0.21-12) ... Setting up libb-hooks-op-check-perl:arm64 (0.22-2+b1) ... Setting up libipc-run-perl (20220807.0-1) ... Setting up libsasl2-2:arm64 (2.1.28+dfsg-10) ... Setting up autoconf (2.71-3) ... Setting up ruby-rspec-support (3.12.0c0e1m1s0-1) ... Setting up libtimedate-perl (2.3300-2) ... Setting up ruby-webrick (1.8.1-1) ... Setting up libregexp-ipv6-perl (0.03-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:arm64 (0.0.7-1) ... Setting up librole-tiny-perl (2.002004-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up netbase (6.4) ... Setting up libsub-quote-perl (2.006008-1) ... Setting up libclass-xsaccessor-perl (1.19-4+b1) ... Setting up libfile-dirlist-perl (0.05-3) ... Setting up libfile-homedir-perl (1.006-2) ... Setting up openssl (3.0.8-1) ... Setting up libbsd0:arm64 (0.11.7-2) ... Setting up libelf1:arm64 (0.188-2.1) ... Setting up readline-common (8.2-1.3) ... Setting up ruby-xmlrpc (0.3.2-2) ... Setting up libxml2:arm64 (2.9.14+dfsg-1.1+b3) ... Setting up liburi-perl (5.17-1) ... Setting up libfile-touch-perl (0.12-2) ... Setting up libnet-ssleay-perl:arm64 (1.92-2+b1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up pinentry-curses (1.2.1-1) ... Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up libhttp-date-perl (6.05-2) ... Setting up gettext (0.21-12) ... Setting up libgmp-dev:arm64 (2:6.2.1+dfsg1-1.1) ... Setting up libfile-listing-perl (6.15-1) ... Setting up libtool (2.4.7-5) ... Setting up libedit2:arm64 (3.1-20221030-2) ... Setting up libreadline8:arm64 (8.2-1.3) ... Setting up libnet-http-perl (6.22-1) ... Setting up libdevel-callchecker-perl:arm64 (0.008-2) ... Setting up libldap-2.5-0:arm64 (2.5.13+dfsg-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up patchutils (0.4.2-1) ... Setting up ca-certificates (20230311) ... Updating certificates in /etc/ssl/certs... 140 added, 0 removed; done. Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up libwww-robotrules-perl (6.02-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up libhtml-parser-perl:arm64 (3.81-1) ... Setting up gpgconf (2.2.40-1.1) ... Setting up libio-socket-ssl-perl (2.081-2) ... Setting up gpg (2.2.40-1.1) ... Setting up gnupg-utils (2.2.40-1.1) ... Setting up libhttp-message-perl (6.44-1) ... Setting up libhttp-negotiate-perl (6.01-2) ... Setting up gpg-agent (2.2.40-1.1) ... Setting up libhttp-cookies-perl (6.10-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libhtml-tree-perl (5.07-3) ... Setting up libpython3.11-stdlib:arm64 (3.11.2-6) ... Setting up libparams-classify-perl:arm64 (0.015-2+b1) ... Setting up gpgsm (2.2.40-1.1) ... Setting up rubygems-integration (1.18) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up dirmngr (2.2.40-1.1) ... Setting up libmodule-runtime-perl (0.016-2) ... Setting up gpg-wks-server (2.2.40-1.1) ... Setting up libpython3-stdlib:arm64 (3.11.2-1+b1) ... Setting up python3.11 (3.11.2-6) ... Setting up gpg-wks-client (2.2.40-1.1) ... Setting up libimport-into-perl (1.002005-2) ... Setting up libmoo-perl (2.005005-1) ... Setting up debhelper (13.11.4) ... Setting up python3 (3.11.2-1+b1) ... Setting up gnupg (2.2.40-1.1) ... Setting up libruby:arm64 (1:3.1) ... Setting up libwww-perl (6.68-1) ... Setting up ruby-rubygems (3.3.15-2) ... Setting up devscripts (2.23.3) ... Setting up rake (13.0.6-3) ... Setting up ruby3.1 (3.1.2-7) ... Setting up ruby-sdbm:arm64 (1.0.0-5+b1) ... Setting up liblwp-protocol-https-perl (6.10-1) ... Setting up libruby3.1:arm64 (3.1.2-7) ... Setting up ruby (1:3.1) ... Setting up racc (1.6.2-1) ... Setting up ruby-rspec-core (3.12.0c0e1m1s0-1) ... Setting up ruby3.1-dev:arm64 (3.1.2-7) ... Setting up ruby-diff-lcs (1.5.0-1) ... Setting up ruby-whitequark-parser (3.1.3.0-1) ... Setting up gem2deb-test-runner (2.1) ... Setting up ruby-all-dev:arm64 (1:3.1) ... Setting up ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... Setting up ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... Setting up gem2deb (2.1) ... Setting up ruby-rspec (3.12.0c0e1m1s0-1) ... Processing triggers for libc-bin (2.36-9) ... Processing triggers for ca-certificates (20230311) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... usrmerge is already the newest version (35). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/30643/tmp/hooks/A99_set_merged_usr starting Re-configuring usrmerge... I: user script /srv/workspace/pbuilder/30643/tmp/hooks/A99_set_merged_usr finished hostname: Temporary failure in name resolution I: Running cd /build/ruby-rubocop-ast-1.24.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-rubocop-ast_1.24.0-2_source.changes dpkg-buildpackage: info: source package ruby-rubocop-ast dpkg-buildpackage: info: source version 1.24.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Lucas Kanashiro dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean --buildsystem=ruby --with ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean W: XS-Ruby-Versions is deprecated, and will be ignored dh_autoreconf_clean -O--buildsystem=ruby dh_clean -O--buildsystem=ruby debian/rules binary dh binary --buildsystem=ruby --with ruby dh_update_autotools_config -O--buildsystem=ruby dh_autoreconf -O--buildsystem=ruby dh_auto_configure -O--buildsystem=ruby dh_ruby --configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/ruby-rubocop-ast-1.24.0' rake -f tasks/compile.rake generate Generating lib/rubocop/ast/node_pattern/lexer.rex.rb from lib/rubocop/ast/node_pattern/lexer.rex racc -l -v -o lib/rubocop/ast/node_pattern/parser.racc.rb lib/rubocop/ast/node_pattern/parser.y dh_auto_build dh_ruby --build make[1]: Leaving directory '/build/ruby-rubocop-ast-1.24.0' dh_auto_test -O--buildsystem=ruby dh_ruby --test create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=ruby dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-rubocop-ast/ -O--buildsystem=ruby dh_ruby --install /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast /usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240524-8729-fzr8e1/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on parser (>= 3.1.1.0) is not recommended if parser is semantically versioned, use: add_runtime_dependency 'parser', '~> 3.1', '>= 3.1.1.0' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: rubocop-ast Version: 1.24.0 File: rubocop-ast-1.24.0.gem /usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rubocop-ast/usr/share/rubygems-integration/all /tmp/d20240524-8729-fzr8e1/rubocop-ast-1.24.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop-ast.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/builder.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/ext/range.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/ext/range_min_max.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/alias_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/and_asgn_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/and_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/arg_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/args_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/array_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/asgn_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/block_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/break_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/case_match_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/case_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/casgn_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/class_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/const_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/def_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/defined_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/dstr_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/ensure_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/float_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/for_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/forward_args_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/hash_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/if_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/in_pattern_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/index_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/indexasgn_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/int_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/keyword_splat_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/lambda_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/mixin/collection_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/mixin/conditional_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/mixin/descendence.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/mixin/hash_element_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/mixin/modifier_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/mixin/numeric_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/mixin/parameterized_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/module_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/next_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/op_asgn_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/or_asgn_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/or_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/pair_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/procarg0_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/range_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/regexp_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/resbody_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/rescue_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/return_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/self_class_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/send_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/str_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/super_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/symbol_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/until_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/when_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/while_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node/yield_node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/builder.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/comment.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/compiler.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/compiler/binding.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/compiler/debug.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/lexer.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/lexer.rex.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/method_definer.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/node.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/parser.racc.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/parser.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/sets.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/node_pattern/with_meta.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/processed_source.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/rubocop_compatibility.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/sexp.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/token.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/traversal.rb /build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all/gems/rubocop-ast-1.24.0/lib/rubocop/ast/version.rb Successfully installed rubocop-ast-1.24.0 1 gem installed cd debian/ruby-rubocop-ast/usr/share/rubygems-integration/all rm -rf bin rm -rf build_info rm -rf cache rm -rf doc rm -rf extensions rmdir plugins cd gems/rubocop-ast-1.24.0 rm -f chmod 644 lib/rubocop/ast/builder.rb lib/rubocop/ast/ext/range.rb lib/rubocop/ast/ext/range_min_max.rb lib/rubocop/ast/node/alias_node.rb lib/rubocop/ast/node/and_asgn_node.rb lib/rubocop/ast/node/and_node.rb lib/rubocop/ast/node/arg_node.rb lib/rubocop/ast/node/args_node.rb lib/rubocop/ast/node/array_node.rb lib/rubocop/ast/node/asgn_node.rb lib/rubocop/ast/node/block_node.rb lib/rubocop/ast/node/break_node.rb lib/rubocop/ast/node/case_match_node.rb lib/rubocop/ast/node/case_node.rb lib/rubocop/ast/node/casgn_node.rb lib/rubocop/ast/node/class_node.rb lib/rubocop/ast/node/const_node.rb lib/rubocop/ast/node/def_node.rb lib/rubocop/ast/node/defined_node.rb lib/rubocop/ast/node/dstr_node.rb lib/rubocop/ast/node/ensure_node.rb lib/rubocop/ast/node/float_node.rb lib/rubocop/ast/node/for_node.rb lib/rubocop/ast/node/forward_args_node.rb lib/rubocop/ast/node/hash_node.rb lib/rubocop/ast/node/if_node.rb lib/rubocop/ast/node/in_pattern_node.rb lib/rubocop/ast/node/index_node.rb lib/rubocop/ast/node/indexasgn_node.rb lib/rubocop/ast/node/int_node.rb lib/rubocop/ast/node/keyword_splat_node.rb lib/rubocop/ast/node/lambda_node.rb lib/rubocop/ast/node/mixin/basic_literal_node.rb lib/rubocop/ast/node/mixin/binary_operator_node.rb lib/rubocop/ast/node/mixin/collection_node.rb lib/rubocop/ast/node/mixin/conditional_node.rb lib/rubocop/ast/node/mixin/descendence.rb lib/rubocop/ast/node/mixin/hash_element_node.rb lib/rubocop/ast/node/mixin/method_dispatch_node.rb lib/rubocop/ast/node/mixin/method_identifier_predicates.rb lib/rubocop/ast/node/mixin/modifier_node.rb lib/rubocop/ast/node/mixin/numeric_node.rb lib/rubocop/ast/node/mixin/parameterized_node.rb lib/rubocop/ast/node/mixin/predicate_operator_node.rb lib/rubocop/ast/node/module_node.rb lib/rubocop/ast/node/next_node.rb lib/rubocop/ast/node/op_asgn_node.rb lib/rubocop/ast/node/or_asgn_node.rb lib/rubocop/ast/node/or_node.rb lib/rubocop/ast/node/pair_node.rb lib/rubocop/ast/node/procarg0_node.rb lib/rubocop/ast/node/range_node.rb lib/rubocop/ast/node/regexp_node.rb lib/rubocop/ast/node/resbody_node.rb lib/rubocop/ast/node/rescue_node.rb lib/rubocop/ast/node/return_node.rb lib/rubocop/ast/node/self_class_node.rb lib/rubocop/ast/node/send_node.rb lib/rubocop/ast/node/str_node.rb lib/rubocop/ast/node/super_node.rb lib/rubocop/ast/node/symbol_node.rb lib/rubocop/ast/node/until_node.rb lib/rubocop/ast/node/when_node.rb lib/rubocop/ast/node/while_node.rb lib/rubocop/ast/node/yield_node.rb lib/rubocop/ast/node.rb lib/rubocop/ast/node_pattern/builder.rb lib/rubocop/ast/node_pattern/comment.rb lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb lib/rubocop/ast/node_pattern/compiler/binding.rb lib/rubocop/ast/node_pattern/compiler/debug.rb lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb lib/rubocop/ast/node_pattern/compiler/subcompiler.rb lib/rubocop/ast/node_pattern/compiler.rb lib/rubocop/ast/node_pattern/lexer.rb lib/rubocop/ast/node_pattern/lexer.rex.rb lib/rubocop/ast/node_pattern/method_definer.rb lib/rubocop/ast/node_pattern/node.rb lib/rubocop/ast/node_pattern/parser.racc.rb lib/rubocop/ast/node_pattern/parser.rb lib/rubocop/ast/node_pattern/sets.rb lib/rubocop/ast/node_pattern/with_meta.rb lib/rubocop/ast/node_pattern.rb lib/rubocop/ast/processed_source.rb lib/rubocop/ast/rubocop_compatibility.rb lib/rubocop/ast/sexp.rb lib/rubocop/ast/token.rb lib/rubocop/ast/traversal.rb lib/rubocop/ast/version.rb lib/rubocop/ast.rb lib/rubocop-ast.rb find lib/ -type d -empty -delete cd - cd - dh_installchangelogs -pruby-rubocop-ast /build/ruby-rubocop-ast-1.24.0/CHANGELOG.md upstream /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby3.1 │ └──────────────────────────────────────────────────────────────────────────────┘ GEM_PATH=/build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all:/build/ruby-rubocop-ast-1.24.0/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"rubocop-ast\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby3.1 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=. GEM_PATH=/build/ruby-rubocop-ast-1.24.0/debian/ruby-rubocop-ast/usr/share/rubygems-integration/all:/build/ruby-rubocop-ast-1.24.0/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake -f debian/ruby-tests.rake /usr/bin/ruby3.1 -ruri -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation warning: parser/current is loading parser/ruby31, which recognizes3.1.3-compliant syntax, but you are running 3.1.2. Please see https://github.com/whitequark/parser#compatibility-with-ruby-mri. Randomized with seed 10502 RuboCop::AST::WhileNode .new with a modifier while is expected to be a kind of RuboCop::AST::WhileNode with a statement while is expected to be a kind of RuboCop::AST::WhileNode #keyword is expected to eq "while" #do? with a do keyword is expected to be do without a do keyword is expected not to be do #inverse_keyword is expected to eq "until" #post_condition_loop? with a statement while is expected not to be post condition loop with a modifier while is expected to be post condition loop #loop_keyword? with a statement while is expected to be loop keyword with a modifier while is expected to be loop keyword RuboCop::AST::LambdaNode #receiver is expected to be nil #arguments is expected to eq 2 #method_name is expected to eq :lambda RuboCop::AST::SendNode #bare_access_modifier? with Ruby >= 2.7 when node is access modifier in numblock is expected to be bare access modifier when node is access modifier in block is expected to be bare access modifier when node is a bare `module_function` is expected to be bare access modifier when node is not an access modifier is expected not to be bare access modifier when node has an argument is expected not to be bare access modifier #first_argument with a single splat argument is expected to be splat type with a single literal argument is expected to be sym type with multiple literal arguments is expected to be sym type with multiple mixed arguments is expected to be sym type with no arguments is expected to be nil #setter_method? with an indexed setter method is expected to be setter method with a regular method is expected not to be setter method with an operator method is expected not to be setter method with a setter method is expected to be setter method #implicit_call? with an implicit call method is expected to be implicit call with a regular method is expected not to be implicit call with an explicit call method is expected not to be implicit call #attribute_accessor? with an accessor returns the accessor method and Array] with a call without arguments is expected to be nil #nonmutating_unary_operator_method? with a nonmutating unary operator method is expected to be nonmutating unary operator method with a regular method is expected not to be nonmutating unary operator method #arithmetic_operation? with a unary numeric operation is expected not to be arithmetic operation with a regular method call is expected not to be arithmetic operation with a binary arithmetic operation is expected to be arithmetic operation #comparison_method? with a regular method is expected not to be comparison method with a comparison method is expected to be comparison method with a negation method is expected not to be comparison method #const_receiver? with a non-constant receiver is expected not to be const receiver with a self receiver is expected not to be const receiver with a constant receiver is expected to be const receiver #block_node with a block literal is expected to be block type with a block argument is expected to be nil with Ruby >= 2.7 with a numblock literal is expected to be numblock type with no block is expected to be nil #double_colon? with a dot is expected not to be double colon with a double colon is expected to be double colon with a unary method is expected not to be double colon without a dot is expected not to be double colon #nonmutating_operator_method? with a mutating binary operator method is expected not to be nonmutating operator method with a nonmutating binary operator method is expected to be nonmutating operator method with a regular method is expected not to be nonmutating operator method with a nonmutating unary operator method is expected to be nonmutating operator method #def_modifier with a prefixed def modifier is expected to eq :bar with a block containing a method definition is expected to be nil with several prefixed def modifiers is expected to eq :qux with call with no argument is expected to be nil #dot? with a dot is expected to be dot without a dot is expected not to be dot with a double colon is expected not to be dot with a unary method is expected not to be dot #arguments with a single splat argument is expected to eq 1 with multiple literal arguments is expected to eq 2 with a single literal argument is expected to eq 1 with no arguments is expected to be empty with multiple mixed arguments is expected to eq 2 #nonmutating_array_method? with a nonmutating Array method is expected to be nonmutating array method with a regular method is expected not to be nonmutating array method with a mutating Array method is expected not to be nonmutating array method #bang_method? with a bang method is expected to be bang method with a predicate method is expected not to be bang method with a regular method is expected not to be bang method #last_argument with a single splat argument is expected to be splat type with no arguments is expected to be nil with multiple mixed arguments is expected to be splat type with a single literal argument is expected to be sym type with multiple literal arguments is expected to be sym type #prefix_bang? with a bang method is expected to be prefix bang with keyword `not` is expected not to be prefix bang with a non-negated method is expected not to be prefix bang #command? when argument is a string with an explicit receiver is expected not to be command "bar" with an implicit receiver is expected to be command "bar" when argument is a symbol with an implicit receiver is expected to be command :bar with an explicit receiver is expected not to be command :bar #binary_operation?? with a unary operation is expected not to be binary operation with a binary operation is expected to be binary operation with a regular method call is expected not to be binary operation with an implicit call method is expected not to be binary operation #method_name with an operator method is expected to eq :== with an implicit call method is expected to eq :call with a plain method is expected to eq :bar with a setter method is expected to eq :bar= #camel_case_method? with a regular method is expected not to be camel case method with a camel case method is expected to be camel case method #enumerable_method? with a regular method is expected not to be enumerable method with an enumerable method is expected to be enumerable method #arguments? with multiple literal arguments is expected to be arguments with multiple mixed arguments is expected to be arguments with a single literal argument is expected to be arguments with no arguments is expected not to be arguments with a single splat argument is expected to be arguments #block_argument? with mixed arguments is expected to be block argument with regular arguments is expected not to be block argument with no arguments is expected not to be block argument with a block argument is expected to be block argument #nonmutating_binary_operator_method? with a regular method is expected not to be nonmutating binary operator method with a nonmutating binary operator method is expected to be nonmutating binary operator method with a mutating binary operator method is expected not to be nonmutating binary operator method #splat_argument? with no arguments is expected not to be splat argument with mixed arguments is expected to be splat argument with a splat argument is expected to be splat argument with regular arguments is expected not to be splat argument #receiver with a variable receiver is expected to be send type with no receiver is expected to be nil with a literal receiver is expected to be str type #method? when message does not match when argument is a symbol is expected not to be method :foo when argument is a string is expected not to be method "foo" when message matches when argument is a symbol is expected to be method :bar when argument is a string is expected to be method "bar" #lambda? with a stabby lambda method is expected to be lambda with a non-lambda method is expected not to be lambda with a lambda method is expected to be lambda with a method named lambda in a class is expected not to be lambda #self_receiver? with an implicit receiver is expected not to be self receiver with a self receiver is expected to be self receiver with a non-self receiver is expected not to be self receiver #block_literal? with no block is expected not to be block literal with a block literal is expected to be block literal with Ruby >= 2.7 with a numblock literal is expected to be block literal with a block argument is expected not to be block literal #macro? with a receiver when parent is a class is expected not to be macro when parent is a module is expected not to be macro without a receiver when parent is a module is expected to be macro when parent is a class is expected to be macro when parent is a block in a macro scope is expected to be macro when parent is a struct constructor is expected to be macro when parent is a block not in a macro scope is expected not to be macro with Ruby >= 2.7 when parent is a numblock in a macro scope is expected to be macro when the condition of an if is expected not to be macro when parent is a class constructor is expected to be macro when parent is a singleton class is expected to be macro when parent is a keyword begin inside of an class is expected to be macro when parent is a method definition is expected not to be macro without a parent is expected to be macro when in the global scope is expected to be macro when parent is a begin without a parent is expected to be macro when in an if is expected to be macro #assignment_method? with an assignment method is expected to be assignment method with a bracket assignment method is expected to be assignment method with a regular method is expected not to be assignment method with a comparison method is expected not to be assignment method #operator_method? with a regular method is expected not to be operator method with a setter method is expected not to be operator method with a unary operator method is expected to be operator method with a binary operator method is expected to be operator method #lambda_literal? with a lambda method is expected not to be lambda literal with a stabby lambda is expected to be lambda literal with a non-lambda method is expected not to be lambda with `a.() {}` style method is expected not to be lambda #def_modifier? with a block containing a method definition is expected not to be def modifier with several prefixed def modifiers is expected to be def modifier with a prefixed def modifier is expected to be def modifier #nonmutating_hash_method? with a mutating Hash method is expected not to be nonmutating hash method with a regular method is expected not to be nonmutating hash method with a nonmutating Hash method is expected to be nonmutating hash method #loop_keyword? is expected not to be loop keyword #negation_method? with suffix `not` is expected not to be negation method with prefix bang is expected to be negation method with a non-negated method is expected not to be negation method with prefix `not` is expected to be negation method #post_condition_loop? is expected not to be post condition loop #predicate_method? with a bang method is expected not to be predicate method with a regular method is expected not to be predicate method with a predicate method is expected to be predicate method #prefix_not? with a non-negated method is expected not to be prefix not with a bang method is expected not to be prefix not with keyword `not` is expected to be prefix not #unary_operation? with an implicit call method is expected not to be unary operation with a regular method call is expected not to be unary operation with a binary operation is expected not to be unary operation with a unary operation is expected to be unary operation .new with a regular method send is expected to be a kind of RuboCop::AST::SendNode with a safe navigation method send is expected to be a kind of RuboCop::AST::SendNode #nonmutating_string_method? with a nonmutating String method is expected to be nonmutating string method with a mutating String method is expected not to be nonmutating string method with a regular method is expected not to be nonmutating string method #access_modifier? when node is a non-bare `module_function` is expected to be access modifier when node is not an access modifier is expected not to be bare access modifier when node is a bare `module_function` is expected to be access modifier #parenthesized? with no arguments when not using parentheses is expected not to be parenthesized when using parentheses is expected to be parenthesized with arguments when not using parentheses is expected not to be parenthesized when using parentheses is expected to be parenthesized #non_bare_access_modifier? when node is not an access modifier is expected not to be non bare access modifier when node is a non-bare `module_function` is expected to be non bare access modifier when node does not have an argument is expected not to be non bare access modifier RuboCop::AST::Token #space_before returns nil when it is on the first line returns nil when there is not a space before token returns truthy MatchData when there is a space before token #to_s returns string of token data #begin_pos returns index of first char in token range of entire source #column returns index of first char in token range on that line type predicates #comma? returns true for comma tokens returns false for non comma tokens #end? returns true for end tokens returns false for non end tokens #left_bracket? returns true for all left_bracket tokens returns false for non left_bracket tokens #rescue_modifier? returns true for rescue modifier tokens returns false for non rescue modifier tokens #comment? returns true for comment tokens returns false for non comment tokens #regexp_dots? returns true for regexp tokens returns false for non comma tokens #right_bracket? returns false for non right_bracket tokens returns true for all right_bracket tokens #dot? returns false for non dot tokens returns true for dot tokens #left_ref_bracket? returns false for non left_ref_bracket tokens returns true for left_ref_bracket tokens #new_line? returns false for non new line tokens returns true for new line tokens #semicolon? returns false for non semicolon tokens returns true for semicolon tokens #equals_sign? returns false for non equals sign tokens returns true for equals sign tokens #left_brace? returns true for right_bracket tokens returns false for non right_bracket tokens with braces & parens #right_parens? returns false for non right parens tokens returns true for right parens tokens #left_parens? returns true for left parens tokens returns false for non left parens tokens #right_curly_brace? returns false for non right brace tokens returns true for all right brace tokens #left_curly_brace? returns true for left block brace tokens returns false for non left block brace tokens #left_brace? returns false for non left hash brace tokens returns true for left hash brace tokens #left_array_bracket? returns false for non left_array_bracket tokens returns true for left_array_bracket tokens #line returns line of token #space_after returns nil when there is not a space after token returns truthy MatchData when there is a space after token .from_parser_token returns a #to_s useful for debugging sets parser token's text to rubocop token's text sets parser token's range to rubocop token's pos sets parser token's type to rubocop token's type #end_pos returns index of last char in token range of entire source RuboCop::AST::SelfClassNode .new is expected to be a kind of RuboCop::AST::SelfClassNode #body with a single expression body is expected to be send type with a multi-expression body is expected to be begin type with an empty body is expected to be nil #identifier is expected to be self type RuboCop::AST::FloatNode #value is expected to eq 1.5 #sign? explicit negative float is expected to be sign explicit positive float is expected to be sign .new is expected to be a kind of RuboCop::AST::FloatNode RuboCop::AST::EnsureNode #body is expected to be sym type .new is expected to be a kind of RuboCop::AST::EnsureNode RuboCop::AST::IntNode #value is expected to eq 10 #sign? explicit positive int is expected to be sign explicit negative int is expected to be sign .new is expected to be a kind of RuboCop::AST::IntNode RuboCop::AST::NodePattern captures which also perform a match on a set behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block on a node type behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block on a literal behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block on a sequence behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block when nested behaves like multiple capture yields captured value(s) and returns true if there is a block returns captured values if there is no block on [] behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block bare node type #dup is expected to match code s(:send, nil, :obj) and :method #== returns true iff the patterns are similar #to_s is instructive #pattern returns the pattern yaml compatibility is expected to match code s(:send, nil, :obj) and :method on a node with a different type behaves like nonmatching doesn't match on a node with a matching, hyphenated type is expected to match code s(:lvasgn, :a), :+, and s(:int, 1) marshal compatibility is expected to match code s(:send, nil, :obj) and :method on a node with the same type is expected to match code s(:send, nil, :obj) and :method comments behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block in any order invalid at the beginning of a sequence behaves like invalid is invalid doubled with ellipsis in wrong order behaves like nonmatching doesn't match with an ellipsis inside and outside behaves like multiple capture yields captured value(s) and returns true if there is a block returns captured values if there is no block containing ellipsis not at the end behaves like invalid is invalid doubled with ellipsis behaves like multiple capture yields captured value(s) and returns true if there is a block returns captured values if there is no block nested behaves like invalid is invalid without ellipsis with too few children behaves like nonmatching doesn't match with matching children behaves like multiple capture returns captured values if there is no block yields captured value(s) and returns true if there is a block with too many children behaves like nonmatching doesn't match captured without ellipsis behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block with an ellipsis behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block doubled separated by fixed argument behaves like multiple capture yields captured value(s) and returns true if there is a block returns captured values if there is no block separated by an ellipsis behaves like multiple capture yields captured value(s) and returns true if there is a block returns captured values if there is no block with a captured ellipsis matching all children behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block nested behaves like multiple capture yields captured value(s) and returns true if there is a block returns captured values if there is no block matching non sequential children behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block params in a nested sequence is expected to match code s(:send, s(:send, s(:int, 5), :dec), :inc), :inc, and :dec when preceded by $... behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block when inside a union, with a matching value is expected to match code s(:int, 10) and 10 when captured behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block in root position is expected to match code s(:int, 10) and s(:int, 10) in root position is expected to match code s(:int, 10) and # when negated, with a matching value behaves like nonmatching doesn't match without explicit number is expected to match code s(:const, s(:const, nil, :Namespace), :A), :A, and s(:const, nil, :Namespace) as named parameters when extra are provided raises an ArgumentError when provided as argument to match is expected to match code s(:int, 10) and {:foo=>#} when not provided raises an ArgumentError when inside a union, with a nonmatching value behaves like nonmatching doesn't match when negated, with a nonmatching value is expected to match code s(:const, s(:const, nil, :Namespace), :B) and :A param number zero in a position which matches original target node is expected to match code 1 in a position which does not match original target node behaves like nonmatching doesn't match when inside an intersection is expected to match code s(:int, 20), 10, and 20 when preceded by ... is expected to match code s(:send, s(:int, 1), :+, s(:int, 10)) and s(:int, 10) descend with an immediate match behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block with a match multiple levels, depth first behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block with a literal match is expected to match code s(:int, 1) and s(:array, s(:array, s(:int, 2), s(:int, 3), s(:array, s(:array, s(:int, 5)))), s(:int, 4)) nested behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block without match behaves like nonmatching doesn't match funcalls without extra arguments is expected to match code :a and s(:int, 1) with multiple arguments is expected to match code s(:str, "c"), "a", and "d" with one argument is expected to match code s(:str, "foo") and "foo" captures on ... after a child behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block at the very beginning of a sequence behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block with a remaining literal at the end behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block with a remaining sequence at the end behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block with a remaining node type at the end behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block with remaining patterns at the end behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block with no remaining pattern at the end behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block with a remaining set at the end behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block with a remaining [] at the end behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block with a remaining capture at the end behaves like multiple capture yields captured value(s) and returns true if there is a block returns captured values if there is no block with a remaining wildcard at the end behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block unions at the top level containing integer literals is expected to match code s(:int, 10) and :abs containing mixed node and literals is expected to match code nil and :obj containing multiple [] on a node which meets some requirements but not all behaves like nonmatching doesn't match on a node which meets all requirements of the second [] is expected to match code 2.4 on a node which meets all requirements of the first [] is expected to match code 3 containing string literals is expected to match code s(:str, "a") and :upcase containing symbol literals when the AST does not have a matching symbol behaves like nonmatching doesn't match when the AST has a matching symbol is expected to match code s(:send, nil, :obj) and :b nested inside a sequence is expected to match code s(:const, nil, :Const) and :method with a nested sequence is expected to match code s(:const, nil, :Const) and :method variadic multiple works for complex cases with variadic terms works for cases with variadic terms after union works for cases with variadic terms before and after union works for cases with fixed arity before and after union with fixed terms works for cases with fixed arity before and after union works for cases with variadic terms before and after union works for cases with variadic terms after union regexp matches symbols or strings wildcards named wildcards within a sequence with values which can be unified is expected to match code s(:int, 5), :+, and s(:int, 5) with values which cannot be unified behaves like nonmatching doesn't match unifying the node type with an argument is expected to match code s(:send, nil, :obj) and :send in head position of a sequence is expected to match code s(:int, 1), :+, and s(:send, nil, :a) within a union with a succeeding unifying constraint with branches without the wildcard encountered first behaves like invalid is invalid encountered after behaves like invalid is invalid with all branches with the wildcard matching another branch is expected to match code s(:array, s(:int, 2), s(:int, 1)) and s(:int, 2) that can not be unified behaves like nonmatching doesn't match matching the first branch is expected to match code s(:array, s(:int, 1), s(:int, 2)) and s(:int, 2) confined to the union with partial unification matching the unified branch is expected to match code s(:int, 5) and s(:int, 5) that can not be unified behaves like nonmatching doesn't match matching the free branch is expected to match code s(:int, 2) and s(:int, 1) without unification is expected to match code s(:int, 2) and s(:int, 1) with a preceding unifying constraint that can not be unified behaves like nonmatching doesn't match matching a branch is expected to match code s(:int, 2) and s(:array, s(:int, 2), s(:int, 1)) within a sequence with other patterns intervening is expected to match code :@abc and s(:int, 22) at the root level is expected to match code s(:sclass, s(:self), s(:def, :something, s(:args), s(:int, 1))) and :freeze unnamed wildcards within a sequence with other patterns intervening is expected to match code :@abc and s(:int, 22) in head position of a sequence is expected to match code s(:int, 1), :+, and s(:send, nil, :a) at the root level is expected to match code s(:sclass, s(:self), s(:def, :something, s(:args), s(:int, 1))) and :freeze within a sequence is expected to match code nil and :Const negated behaves like nonmatching doesn't match simple sequence on a node with a different type behaves like nonmatching doesn't match on a node with too many children behaves like nonmatching doesn't match on a node with the same type and matching children is expected to match code s(:int, 1), :+, and s(:int, 1) on a node with the same type and non-matching children with non-matching selector behaves like nonmatching doesn't match with non-matching receiver type behaves like nonmatching doesn't match with a nested sequence in non-head position is expected to match code s(:send, s(:send, nil, :obj), :a) and :b with a nested sequence in head position behaves like invalid is invalid .descend yields the given argument if it is not a Node yields all children depth first caret (ascend) repeated twice is expected to match code 1 inside an intersection is expected to match code 1 within sequence in head is expected to match code 1 of a sequence is expected to match code 1 not in head is expected to match code s(:int, 1) and :inc of a sequence is expected to match code s(:int, 1) and :inc inside a union is expected to match code "abc" used with a node type which matches is expected to match code 1 which doesn't match behaves like nonmatching doesn't match using unification to match self within parent with self in the wrong position behaves like nonmatching doesn't match with self in the right position is expected to match code 2 captures on a wildcard in head position in a sequence behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block in a nested sequence behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block at the root level behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block in head position in a sequence against literal (bug #5470) behaves like nonmatching doesn't match nested in any child behaves like multiple capture yields captured value(s) and returns true if there is a block returns captured values if there is no block in non-head position in a sequence behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block in head position in a sequence against nil (bug #5470) behaves like nonmatching doesn't match macros with a pattern with a constant is expected to match code :hello when the value is not in the set behaves like nonmatching doesn't match with a pattern with captures def_node_search without a predicate name when called on matching code returns an enumerator yielding the captures when the pattern contains keyword_params returns an enumerator yielding the captures when helper is called with default keyword_params is overridden when calling the matcher some defaults are not params raises an error and no value is given to the matcher uses the defaults when it errors raises an error with the right location when called on non-matching code returns an enumerator yielding nothing with a predicate name when it errors raises an error with the right location when called on non-matching code behaves like nonmatching doesn't match when called on matching code is expected to match code nil, :foo, s(:sym, :hello), and s(:sym, :world) def_node_matcher when it errors raises an error with the right location when called on non-matching code behaves like nonmatching doesn't match when called on matching code is expected to eq :hello with a pattern without captures def_node_search returns the method name with a predicate name when called on non-matching code behaves like nonmatching doesn't match when it errors raises an error with the right location when called on matching code is expected to match code nil, :foo, s(:sym, :hello), and s(:sym, :world) without a predicate name when called on matching code returns an enumerator yielding the matches when called on non-matching code returns an enumerator yielding nothing when it errors raises an error with the right location def_node_matcher returns the method name when it errors raises an error with the right location when called on matching code is expected to match code :hello when called on non-matching code behaves like nonmatching doesn't match with a pattern with a namespaced call is expected to match code :hello when the value is not in the set behaves like nonmatching doesn't match bad syntax with unmatched closing paren behaves like invalid is invalid with negated ellipsis behaves like invalid is invalid with unmatched opening paren and `...` behaves like invalid is invalid with unmatched closing curly behaves like invalid is invalid with variadic unions where not supported behaves like invalid is invalid with unmatched opening paren behaves like invalid is invalid with empty union subsequence in seq head behaves like invalid is invalid with unmatched opening curly behaves like invalid is invalid with empty intersection behaves like invalid is invalid with doubled comma in arg list behaves like invalid is invalid with negated closing curly behaves like invalid is invalid with negated closing paren behaves like invalid is invalid with empty parentheses behaves like invalid is invalid with empty union behaves like invalid is invalid with doubled ellipsis is expected to match code "foo" with leading comma in arg list behaves like invalid is invalid with unsupported subsequence in seq head within union behaves like invalid is invalid negation on a set with a matching value behaves like nonmatching doesn't match with a non-matching value is expected to match code :@a and s(:int, 3) on a symbol with a non-matching symbol is expected to match code s(:send, nil, :obj) and :xyz with a matching symbol behaves like nonmatching doesn't match with a non-matching symbol, but too many children behaves like nonmatching doesn't match on a string with a non-matching symbol is expected to match code s(:str, "bar") and :upcase with a matching string behaves like nonmatching doesn't match on a sequence with a matching node behaves like nonmatching doesn't match with a node of different type is expected to match code :@@a and s(:int, 1) with a node with non-matching children is expected to match code :@b and s(:int, 1) on square brackets with a node which meets all requirements of [] behaves like nonmatching doesn't match with a node which meets only 1 requirement of [] is expected to match code 1 when nested in complex ways with (send str :<< str) behaves like nonmatching doesn't match with (send int :- int) is expected to match code s(:int, 1), :-, and s(:int, 1) with (send str :+ (send str :to_i)) is expected to match code s(:str, "abc"), :+, and s(:send, s(:str, "1"), :to_i) ellipsis preceding a capture behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block with a nodetype at the end, but no remaining child to match it behaves like nonmatching doesn't match at the very beginning of a sequence is expected to match code s(:int, 10), :*, and s(:int, 1) with [] at the end, but no remaining child to match it behaves like nonmatching doesn't match with a nested sequence at the end, but no remaining child behaves like nonmatching doesn't match preceding multiple captures behaves like multiple capture yields captured value(s) and returns true if there is a block returns captured values if there is no block with a set at the end, but no remaining child to match it behaves like nonmatching doesn't match with a wildcard at the end, but no remaining child to match it behaves like nonmatching doesn't match repeated using ? behaves like repeated pattern with an ellipsis in the same sequence is expected to match code "[:hello, 1, 2, 3]" at beginning of sequence behaves like invalid is invalid with one match behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block with too many matching children behaves like nonmatching doesn't match with zero match behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block using * with multiple subcaptures behaves like multiple capture yields captured value(s) and returns true if there is a block returns captured values if there is no block without capture is expected to match code s(:sym, :hello), s(:int, 1), s(:int, 2), and s(:int, 3) with matching children behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block behaves like repeated pattern with an ellipsis in the same sequence is expected to match code "[:hello, 1, 2, 3]" with one match behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block at beginning of sequence behaves like invalid is invalid nested with multiple subcaptures behaves like multiple capture returns captured values if there is no block yields captured value(s) and returns true if there is a block with zero match behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block with no match behaves like nonmatching doesn't match using + with matching children behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block behaves like repeated pattern at beginning of sequence behaves like invalid is invalid with an ellipsis in the same sequence is expected to match code "[:hello, 1, 2, 3]" with one match behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block with zero match behaves like nonmatching doesn't match commas with commas randomly strewn around behaves like invalid is invalid captures within union within nested sequences behaves like multiple capture returns captured values if there is no block yields captured value(s) and returns true if there is a block on simple subpatterns behaves like single capture yields captured value(s) and returns true if there is a block returns captured values if there is no block with a different number of captures in each branch behaves like invalid is invalid with complex nesting behaves like multiple capture yields captured value(s) and returns true if there is a block returns captured values if there is no block literals positive float literals is expected to match code 1.0 symbol literals is expected to match code :foo single quoted string literals is expected to match code "foo" bare literal on a matching literal is expected to match code :bar on a node behaves like nonmatching doesn't match negative float literals is expected to match code -2.5 negative integer literals is expected to match code -100 double quoted string literals is expected to match code "foo" nil nil value in AST behaves like nonmatching doesn't match nil value in AST, use nil? method is expected to match code nil and :foo against a node pattern (bug #5470) behaves like nonmatching doesn't match nil literals is expected to match code predicates with multiple arguments for which the predicate is false behaves like nonmatching doesn't match for which the predicate is true is expected to match code s(:str, "c"), "a", and "d" with a constant argument for which the predicate is false behaves like nonmatching doesn't match for which the predicate is true is expected to match code s(:int, 1), :+, and s(:int, 2) applied to an integer for which the predicate is false behaves like nonmatching doesn't match with one extra argument for which the predicate is false behaves like nonmatching doesn't match for which the predicate is true is expected to match code s(:send, s(:int, 1), :+, s(:int, 2)) and 1 when captured behaves like single capture returns captured values if there is no block yields captured value(s) and returns true if there is a block with a named argument for which the predicate is true is expected to match code s(:send, s(:int, 1), :+, s(:int, 2)) and {:param=>1} for which the predicate is false behaves like nonmatching doesn't match when not given raises an error with extra arguments raises an error in root position is expected to match code s(:int, 1) and :inc with name containing a numeral is expected to match code s(:int, 1) and :inc at head position of a sequence is expected to match code s(:int, 1) and :inc with an expression argument for which the predicate is false behaves like nonmatching doesn't match for which the predicate is true is expected to match code s(:int, 2), :+, and s(:float, 2.0) when in last-child position, but all children have already been matched behaves like nonmatching doesn't match applied to an integer for which the predicate is true is expected to match code s(:int, 1) and :inc when negated is expected to match code s(:int, 1) and :inc sequence with trailing ... on a node with the same type and fewer children behaves like nonmatching doesn't match on a node with non-matching children behaves like nonmatching doesn't match on a node with the same type and more children with 1 child more is expected to match code s(:int, 1), :blah, and s(:int, 1) with 2 children more is expected to match code s(:int, 1), :blah, s(:int, 1), and s(:sym, :something) on a node with fewer children, with a wildcard preceding behaves like nonmatching doesn't match on a node with a different type behaves like nonmatching doesn't match on a node with the same type and exact number of children is expected to match code s(:int, 1) and :blah node type in seq head on a child with a different type behaves like nonmatching doesn't match on a node with the same type is expected to match code s(:ivar, :@ivar), :+, and s(:int, 2) for a child on a child with the same type is expected to match code s(:send, nil, :foo) and :bar on a child with a different type behaves like nonmatching doesn't match on a child litteral behaves like nonmatching doesn't match RuboCop::AST::AsgnNode #name with a `lvasgn` node is expected to eq :var with a `ivasgn` node is expected to eq :@var with a `cvasgn` node is expected to eq :@@var with a `gvasgn` node is expected to eq :$var .new with a `cvasgn` node is expected to be a kind of RuboCop::AST::AsgnNode with a `gvasgn` node is expected to be a kind of RuboCop::AST::AsgnNode with a `ivasgn` node is expected to be a kind of RuboCop::AST::AsgnNode with a `lvasgn` node is expected to be a kind of RuboCop::AST::AsgnNode #expression with a `gvasgn` node is expected to eq s(:send, nil, :value) with a `lvasgn` node is expected to eq s(:send, nil, :value) with a `ivasgn` node is expected to eq s(:send, nil, :value) with a `cvasgn` node is expected to eq s(:send, nil, :value) RuboCop::AST::NodePattern::Lexer provides tokens via next_token when given a regexp /[abc]+\/()?/x round trips when given node types and constants distinguishes them when given a regexp /back\\slash/ round trips with $type+ is parsed as `$ int + x` when given arithmetic symbols is parsed as `:&` when given a regexp ending with a backslash does not lexes it properly when given a regexp /test/ round trips RuboCop::AST::Ext::Range #line_span returns the range of lines a range occupies accepts an `exclude_end` keyword argument RuboCop::AST::RangeNode .new with an exclusive range is expected to be a kind of RuboCop::AST::RangeNode is expected to be range type with an inclusive range is expected to be a kind of RuboCop::AST::RangeNode is expected to be range type with a beignless range is expected to be range type is expected to be a kind of RuboCop::AST::RangeNode with an infinite range is expected to be range type is expected to be a kind of RuboCop::AST::RangeNode RuboCop::AST::StrNode .new with a string with interpolation is expected to be a kind of RuboCop::AST::StrNode with a heredoc is expected to be a kind of RuboCop::AST::StrNode with a normal string is expected to be a kind of RuboCop::AST::StrNode #character_literal? with a character literal is expected to be character literal with a heredoc is expected not to be character literal with a normal string literal is expected not to be character literal #heredoc? with a normal string is expected not to be heredoc with a string with interpolation is expected not to be heredoc with a heredoc is expected to be heredoc RuboCop::AST::Procarg0Node .new with a block is expected to be a kind of RuboCop::AST::ArgNode #name is expected to eq :x RuboCop::AST::ConstNode #relative? with a non-namespaced constant is expected to be relative #absolute? is expected to be absolute with a constant not starting with :: is expected not to be absolute with a non-namespaced constant is expected not to be absolute #short_name is expected to eq :BAZ #module_name? is expected not to be module name with a constant with a lowercase letter is expected to be module name #each_path yields all parts of the namespace #namespace is expected to eq "::Foo::Bar" RuboCop::AST::ClassNode .new is expected to be a kind of RuboCop::AST::ClassNode #body with an empty body is expected to be nil with a single expression body is expected to be send type with a multi-expression body is expected to be begin type #parent_class when a parent class is specified is expected to be const type when no parent class is specified is expected to be nil #identifier is expected to be const type RuboCop::AST::NodePattern::Parser sequences generates specialized nodes expands ... in sequence head deep inside unions parses unions of literals as a set parses capture vs repetition with correct priority parses function calls parses simple sequences properly RuboCop::AST::ForNode #do? with a do keyword is expected to be do without a do keyword is expected not to be do #keyword is expected to eq "for" #void_context? without a do keyword is expected to be void context with a do keyword is expected to be void context #collection is expected to be sym type #loop_keyword? is expected to be loop keyword #body is expected to be sym type #post_condition_loop? is expected not to be post condition loop #variable is expected to be lvasgn type .new is expected to be a kind of RuboCop::AST::ForNode RuboCop::AST::NextNode behaves like wrapped arguments node #arguments with no arguments is expected to be empty with multiple literal arguments is expected to eq 2 with a single argument and braces is expected to eq 1 with a single argument is expected to eq 1 with a single splat argument is expected to eq 1 with no arguments and braces is expected to be empty .new without arguments is expected to be a kind of RuboCop::AST::NextNode with arguments is expected to be a kind of RuboCop::AST::NextNode RuboCop::AST::DstrNode #value with implicit concatenation is expected to eq "foo bar baz" with interpolation is expected to eq "foo \#{bar} baz" with a multiline string is expected to eq "this is a multiline string" RuboCop::AST::KeywordSplatNode #value_delta when using hash rocket delimiters when keyword splat is ahead is expected to eq 0 when keyword splat is behind is expected to eq 0 when keyword splat is left aligned is expected to eq 0 when keyword splat is on the same line is expected to eq 0 when using colon delimiters when keyword splat is left aligned is expected to eq 0 when keyword splat is ahead is expected to eq 0 when keyword splat is behind is expected to eq 0 when keyword splat is on the same line is expected to eq 0 .new is expected to be a kind of RuboCop::AST::KeywordSplatNode #key_delta with alignment set to :left when using hash rocket delimiters when keyword splat is on the same line is expected to eq 0 when keyword splat is behind is expected to eq -2 when keyword splat is ahead is expected to eq 2 when keyword splat is aligned is expected to eq 0 when using colon delimiters when keyword splat is aligned is expected to eq 0 when keyword splat is on the same line is expected to eq 0 when keyword splat is ahead is expected to eq 2 when keyword splat is behind is expected to eq -2 with alignment set to :right when using colon delimiters when keyword splat is on the same line is expected to eq 0 when keyword splat is behind is expected to eq 0 when keyword splat is ahead is expected to eq 0 when keyword splat is aligned is expected to eq 0 when using hash rocket delimiters when keyword splat is ahead is expected to eq 0 when keyword splat is aligned is expected to eq 0 when keyword splat is behind is expected to eq 0 when keyword splat is on the same line is expected to eq 0 #operator is expected to eq "**" #value is expected to eq s(:kwsplat, s(:send, nil, :foo)) #colon? is expected not to be colon #key is expected to eq s(:kwsplat, s(:send, nil, :foo)) #hash_rocket? is expected not to be hash rocket #same_line? when both pairs are on the same line is expected to be same line s(:kwsplat, s(:send, nil, :foo)) when pairs are on separate lines is expected not to be same line s(:kwsplat, s(:send, nil, :foo)) when a multiline pair shares the same line is expected to be same line s(:pair, s(:sym, :a), s(:begin)) is expected to be same line s(:kwsplat, s(:send, nil, :foo)) RuboCop::AST::CaseNode #keyword is expected to eq "case" .new is expected to be a kind of RuboCop::AST::CaseNode #each_when when not passed a block is expected to be a kind of Enumerator when passed a block yields all the conditions #branches when there is an else returns all the bodies with an empty else returns all the bodies when compared to an IfNode returns the same when there is no else keyword returns only then when bodies #else_branch #else? without an else statement is expected to be nil with an else statement is expected to be sym type with an empty else statement is expected to be nil #else? without an else statement is expected not to be else with an else statement is expected to be else #when_branches is expected to eq 3 is expected to all be when type RuboCop::AST::SymbolNode #value is expected to eq :foo .new with a symbol node is expected to be a kind of RuboCop::AST::SymbolNode RuboCop::AST::Traversal knows all current node types for example { 'foo': 2, 'bar': {}} traverses all nodes for example fun(1) { } traverses all nodes for example "#@1" traverses all nodes for example '#@1' traverses all nodes for example case [__FILE__, __LINE__ + 1, __ENCODING__] in [__FILE__, __LINE__, __ENCODING__] end traverses all nodes for example super() traverses all nodes for example def m; class << self; module M; end; end; end traverses all nodes for example foo.A += 1 traverses all nodes for example f(a ? "a":1) traverses all nodes for example meth 1 do end.fun(bar) {} traverses all nodes for example :"a\ b" traverses all nodes for example p <<~"E" x #{foo} E traverses all nodes for example next foo traverses all nodes for example foo || (a, b = bar) traverses all nodes for example super(foo) traverses all nodes for example def foo a:b end traverses all nodes for example fun! traverses all nodes for example case foo; when 'bar', 'baz'; bar; end traverses all nodes for example p <<~E x \ y E traverses all nodes when a class defines on_arg calls it for all arguments for example alias :foo bar traverses all nodes for example self traverses all nodes for example { foo: 2, **bar } traverses all nodes for example def f(**nil); end traverses all nodes for example foo > 1 traverses all nodes for example return() traverses all nodes for example ->(**nil) {} traverses all nodes for example case foo; in { a: 1, } then true; end traverses all nodes for example %r{#@1} traverses all nodes for example a @b do |c|;end traverses all nodes for example 'a\ b' traverses all nodes for example foo.a += m foo traverses all nodes for example a b{c(d)}, 1.0i do end traverses all nodes for example a &&= 1 traverses all nodes for example a # # .foo traverses all nodes for example 42i traverses all nodes for example p <<~E x y E traverses all nodes for example fun() { } traverses all nodes for example return traverses all nodes for example "foo#{bar}baz" traverses all nodes for example f{ |a| } traverses all nodes for example p <<~E x \ y E traverses all nodes for example a, b = *foo, bar traverses all nodes for example return fun foo do end traverses all nodes for example p :foo, {proc do end => proc do end, b: proc do end} traverses all nodes for example f{ |*r, p, &b| } traverses all nodes for example yield traverses all nodes for example a b{c d}, 1 do end traverses all nodes for example 1.. traverses all nodes for example *, c, d = bar traverses all nodes for example __ENCODING__ traverses all nodes for example A += 1 traverses all nodes for example %W"#{1}" traverses all nodes for example <<-'HERE' #@@1 HERE traverses all nodes for example 'foobar' traverses all nodes for example if (bar); foo; end traverses all nodes for example p <<~E " y" x E traverses all nodes for example self::a, foo = foo traverses all nodes for example %W[#@1] traverses all nodes for example a&.b &&= 1 traverses all nodes for example foo::C ||= raise bar rescue nil traverses all nodes for example case foo; in {a: 2} false ; end traverses all nodes for example nil traverses all nodes for example f{ |a, &b| } traverses all nodes for example break traverses all nodes for example case foo; in 1 => a then true; end traverses all nodes for example a = 1; a b: 1 traverses all nodes for example !(foo...bar) traverses all nodes for example !m foo traverses all nodes for example :"#@@1" traverses all nodes for example def f ; end traverses all nodes for example p <<~E x y E traverses all nodes for example a b(c(d)), 1.0r do end traverses all nodes for example <<-'HERE' #@1 HERE traverses all nodes for example %Q{a\ b} traverses all nodes for example @var = 10 traverses all nodes for example ::A, foo = foo traverses all nodes for example a, (b, c) = foo traverses all nodes for example p <<~`E` x #{foo} E traverses all nodes for example fun(:foo => 1) traverses all nodes for example def f ((*r)); end traverses all nodes for example p <<~E x y E traverses all nodes for example case foo; in a: 1 then true; end traverses all nodes for example if foo then bar; else baz; end traverses all nodes for example case foo; in {a: } true ; end traverses all nodes for example %Q{#@@1} traverses all nodes for example f{ |a, *, &b| } traverses all nodes for example foo "#{(1+1).to_i}" do; end traverses all nodes for example def x; ::A ||= 1; end traverses all nodes for example def m; class << self; A = nil; end; end traverses all nodes for example ::Foo traverses all nodes for example case foo; in a: {b:}, c: p c ; end traverses all nodes for example case foo; in x, then nil; end traverses all nodes for example foo::fun (1) {} traverses all nodes for example break(foo) traverses all nodes for example a # # &.foo traverses all nodes for example f{ |a, *r, p, &b| } traverses all nodes for example def f *r, &b; end traverses all nodes for example /\xa8/n =~ "" traverses all nodes for example def BEGIN; end traverses all nodes for example a b{c(d)}, 1.0r do end traverses all nodes for example 1... traverses all nodes for example case foo; in A(1, 2) then true; end traverses all nodes for example foo[0, 1] += m foo traverses all nodes for example foo <=> 1 traverses all nodes for example '#@@1' traverses all nodes for example case foo; in *x then nil; end traverses all nodes for example foo.a ||= 1 traverses all nodes for example 42.1i traverses all nodes for example BEGIN { 1 } traverses all nodes for example super do end traverses all nodes for example +2.0 ** 10 traverses all nodes for example foo::a += 1 traverses all nodes for example foo[m bar] traverses all nodes for example m def x(); end; 1.tap do end traverses all nodes for example case foo; in A() then true; end traverses all nodes for example def foo raise; raise A::B, ''; end traverses all nodes for example while class << self; a = tap do end; end; break; end traverses all nodes for example def (foo).foo; end traverses all nodes for example f{ |a, *| } traverses all nodes for example foo[1, 2] traverses all nodes for example p ->() do a() do end end traverses all nodes for example %i[ #@1 ] traverses all nodes for example __FILE__ traverses all nodes for example @@var |= 10 traverses all nodes for example def f(**foo); end traverses all nodes for example def a b: return end traverses all nodes for example -> do _1 + _9 end traverses all nodes for example def a; @@var |= 10; end traverses all nodes for example * = bar traverses all nodes for example ((b, )) = foo traverses all nodes for example fun (1 ) traverses all nodes for example [1, 2] traverses all nodes for example fun traverses all nodes for example def f a, *r, &b; end traverses all nodes for example while def foo a = tap do end; end; break; end traverses all nodes for example /#@1/ traverses all nodes for example `foobar` traverses all nodes for example case foo; in ::A then true; end traverses all nodes for example case foo; in 1..2 then true; end traverses all nodes for example def f ((a, *)); end traverses all nodes for example fun () {} traverses all nodes for example def String::foo; end traverses all nodes for example fun(&bar) traverses all nodes for example t=1;(foo)?t:T traverses all nodes for example !foo traverses all nodes for example foo.m += raise(bar) rescue nil traverses all nodes for example f{ |a, *s| } traverses all nodes for example def f a, o=1, *r, &b; end traverses all nodes for example f{ |&b| } traverses all nodes for example Foo = 10 traverses all nodes for example -> do rescue; end traverses all nodes for example a b{c d}, /x/m do end traverses all nodes for example 42.1ri traverses all nodes for example while def foo; tap do end; end; break; end traverses all nodes for example def f *r, p, &b; end traverses all nodes for example <<-`HERE` #@1 HERE traverses all nodes for example m { _1 + _9 } traverses all nodes for example %w[ #@1 ] traverses all nodes for example foo * 1 traverses all nodes for example # coding:utf-8 "\xD0\xBF\xD1\x80\xD0\xBE\xD0\xB2\xD0\xB5\xD1\x80\xD0\xBA\xD0\xB0" traverses all nodes for example a, * = bar traverses all nodes for example p :foo, {:a => proc do end, b: proc do end} traverses all nodes for example Bar::Foo traverses all nodes for example m ->(a: ->{_1}) {a} traverses all nodes for example while foo; meth end traverses all nodes for example :"foo#{bar}baz" traverses all nodes for example proc {_1 = nil} traverses all nodes for example p <<~E x E traverses all nodes for example 42r traverses all nodes for example ->{ } traverses all nodes for example m "#{[]}" traverses all nodes for example case foo; in A(x:) then true; end traverses all nodes for example foo[0] += raise(bar) rescue nil traverses all nodes for example m do _1 + _9 end traverses all nodes for example self::A, foo = foo traverses all nodes for example foo = bar = m foo traverses all nodes for example f{ |a,| } traverses all nodes for example a b(c(d)), 1.0i do end traverses all nodes for example m [] do end traverses all nodes for example not(foo) traverses all nodes for example _1 traverses all nodes for example if foo...bar; end traverses all nodes for example %r{a\ b} traverses all nodes for example foo::m += raise bar rescue nil traverses all nodes for example [ 1 => 2 ] traverses all nodes for example 42ri traverses all nodes for example %s{#@@1} traverses all nodes for example begin; rescue LoadError; else; end traverses all nodes for example next() traverses all nodes for example 1.33 traverses all nodes for example fun(foo, :foo => 1, &baz) traverses all nodes for example let (:a) { m do; end } traverses all nodes for example `#@@1` traverses all nodes for example m = -> *args do end traverses all nodes for example __ENCODING__ traverses all nodes for example B::A += 1 traverses all nodes for example case foo; in A[] then true; end traverses all nodes for example f{ |a, *s, &b| } traverses all nodes for example foo::C ||= raise(bar) rescue nil traverses all nodes for example tap (proc do end) traverses all nodes for example f{ |a, c| } traverses all nodes for example foo (-1.3).abs traverses all nodes for example true ? 1.tap do |n| p n end : 0 traverses all nodes for example def f ((a, *r, p)); end traverses all nodes for example def f *, **; end traverses all nodes for example break foo traverses all nodes for example f{ |o=1, p, &b| } traverses all nodes for example true traverses all nodes for example <<~E 1 \ 2 3 E traverses all nodes for example meth 1 do end::fun(bar) traverses all nodes for example while def self.foo; tap do end; end; break; end traverses all nodes for example next fun foo do end traverses all nodes for example return foo traverses all nodes for example self.A, foo = foo traverses all nodes for example a b{c(d)}, "x" do end traverses all nodes for example a # # &.foo traverses all nodes for example p <<~E x y E traverses all nodes for example *b = bar traverses all nodes for example foo::A += m foo traverses all nodes for example def f(foo: 1); end traverses all nodes for example foo || bar traverses all nodes for example a b(c(d)), /x/m do end traverses all nodes for example case foo; in ..2 then true; end traverses all nodes for example m { |foo| } traverses all nodes for example case foo; in [x, y] then true; end traverses all nodes for example f{ |foo: 1, bar: 2, **baz, &b| } traverses all nodes for example foo::a += m foo traverses all nodes for example defined? @foo traverses all nodes for example p <<~"E" x\n y E traverses all nodes for example %Q{#@1} traverses all nodes for example foo = raise(bar) rescue nil traverses all nodes for example foo[0, 1] ||= 2 traverses all nodes for example -2 ** 10 traverses all nodes for example def f ((a, *, p)); end traverses all nodes for example -1.33 traverses all nodes for example if foo; bar; end traverses all nodes for example p :foo, {"a": proc do end, b: proc do end} traverses all nodes for example case foo; in {} then true; end traverses all nodes for example super foo traverses all nodes for example case foo; in ...2 then true; end traverses all nodes for example case foo; in {Foo: 42 } false ; end traverses all nodes for example o = { a: 1 } traverses all nodes for example case foo; in "a": 1 then true; end traverses all nodes for example fun(*bar) traverses all nodes for example case foo; when 'bar' then bar; end traverses all nodes for example if (a, b = foo); end traverses all nodes for example class A; _1; end traverses all nodes for example def String.foo; end traverses all nodes for example meth 1 do end.fun bar traverses all nodes for example m a + b do end traverses all nodes for example case foo; in a: 1, b: 2 then true; end traverses all nodes for example -> a: 1 { } traverses all nodes for example -> do end traverses all nodes for example a b{c(d)}, :e do end traverses all nodes for example unless foo; bar; else baz; end traverses all nodes for example case foo; in * then nil; end traverses all nodes for example begin; meth; rescue; foo; end traverses all nodes for example /#@@1/ traverses all nodes for example def foo(_a, _a); end traverses all nodes for example foo / 1 traverses all nodes for example foo[1, 2] traverses all nodes for example a = b = raise :x traverses all nodes for example foo[0, 1] += 2 traverses all nodes for example foo >= 1 traverses all nodes for example foo[0] += raise bar rescue nil traverses all nodes for example meth (-1.3).abs traverses all nodes for example -> (a) { } traverses all nodes for example def f(foo, bar); end traverses all nodes for example until foo do meth end traverses all nodes for example a b{c d}, "x" do end traverses all nodes for example %w[foo bar] traverses all nodes for example begin; meth; rescue => ex; bar; end traverses all nodes for example case foo; in x then x; end traverses all nodes for example def m; class << self; class C; end; end; end traverses all nodes for example foo += m foo traverses all nodes for example foo.fun traverses all nodes for example foo.a += 1 traverses all nodes for example <<-"HERE" #@@1 HERE traverses all nodes for example false ? raise {} : tap {} traverses all nodes for example retry traverses all nodes for example false ? raise do end : tap do end traverses all nodes for example !/wat/ traverses all nodes for example case foo; in A[x:] then true; end traverses all nodes for example fun(*bar, &baz) traverses all nodes for example case foo; in 1...2 then true; end traverses all nodes for example m { |(foo, bar)| } traverses all nodes for example proc {|_3|} traverses all nodes for example a b{c d}, 1.0 do end traverses all nodes for example def f (foo: 1, &b); end traverses all nodes for example if foo..bar; end traverses all nodes for example m ->(a = ->{_1}) {a} traverses all nodes for example Bar::Foo = 10 traverses all nodes for example /#{1}(?bar)/ =~ 'bar' traverses all nodes for example foo % 1 traverses all nodes for example class Foo < Bar; end traverses all nodes for example case foo; in A[1, 2] then true; end traverses all nodes for example foo ? 1 : 2 traverses all nodes for example foo ** 1 traverses all nodes for example f{ |*| } traverses all nodes for example while class Foo a = tap do end; end; break; end traverses all nodes for example a b(c d), 1 do end traverses all nodes for example foo | 1 traverses all nodes for example case foo; in ^foo then nil; end traverses all nodes for example ->{ } traverses all nodes for example foo += raise(bar) rescue nil traverses all nodes for example case foo; in A::B then true; end traverses all nodes for example p -> { :hello }, a: 1 do end traverses all nodes for example <<-E 1 \ 2 3 E traverses all nodes for example def f (((a))); end traverses all nodes for example foo[1, 2] = 3 traverses all nodes for example def f o=1, &b; end traverses all nodes for example @foo, @@bar = *foo traverses all nodes for example m1 :k => m2 do; m3() do end; end traverses all nodes for example %w[] traverses all nodes for example def f (foo: 1, bar: 2, **baz, &b); end traverses all nodes for example begin foo!; bar! end traverses all nodes for example def f foo = 1; end traverses all nodes for example self.a, self[1, 2] = foo traverses all nodes for example def foo(...); end traverses all nodes for example %I[foo #{bar}] traverses all nodes for example %i{a\ b} traverses all nodes for example foo =~ 1 traverses all nodes for example var = 10; var traverses all nodes for example def f foo: -1 ; end traverses all nodes for example p <<~E x y E traverses all nodes for example foo[:baz => 1,] traverses all nodes for example @@var = 10 traverses all nodes for example :foo traverses all nodes for example traverses all nodes for example foo.a &&= 1 traverses all nodes for example def f ((*)); end traverses all nodes for example super traverses all nodes for example p <<~"E" x #{" y"} E traverses all nodes for example begin; meth; rescue Exception, foo; bar; end traverses all nodes for example desc "foo" do end traverses all nodes for example %s{#@1} traverses all nodes for example foo::fun traverses all nodes for example -foo traverses all nodes for example foo::Fun bar traverses all nodes for example foo !~ 1 traverses all nodes for example %W() traverses all nodes for example %x{a\ b} traverses all nodes for example <<-"HERE" #@1 HERE traverses all nodes for example case foo; when 1, *baz; bar; when *foo; end traverses all nodes for example module A; _1; end traverses all nodes for example < foo {}}" traverses all nodes for example f{ |o=1, &b| } traverses all nodes for example foo && bar traverses all nodes for example case foo; in A then true; end traverses all nodes for example foo[bar, :baz => 1,] traverses all nodes for example foo or bar traverses all nodes for example "#@a #@@a #$a" traverses all nodes for example case foo; when 'bar'; bar; else baz; end traverses all nodes for example case foo; in **nil then true; end traverses all nodes for example case foo; in 1... then true; end traverses all nodes for example foo[0, 1] &&= 2 traverses all nodes for example m { |**nil| } traverses all nodes for example foo = baz, *bar traverses all nodes for example foo += meth rescue bar traverses all nodes for example f{ |a, o=1, o1=2, *r, &b| } traverses all nodes for example { foo: 2 } traverses all nodes for example -> * { } traverses all nodes for example a ? b & '': nil traverses all nodes for example case foo; in [*, x] then true; end traverses all nodes for example a ||= 1 traverses all nodes for example %s{a\ b} traverses all nodes for example begin meth end until foo traverses all nodes for example !(foo..bar) traverses all nodes for example case foo; in *x, y, z then nil; end traverses all nodes for example *b, c = bar traverses all nodes for example foo.m += raise bar rescue nil traverses all nodes for example meth while foo traverses all nodes for example case foo; in "#{ 'a' }": 1 then true; end traverses all nodes for example foo::m += raise(bar) rescue nil traverses all nodes for example foo.A = 1 traverses all nodes for example case foo; in 1 | 2 then true; end traverses all nodes for example yield() traverses all nodes for example [1, *foo] traverses all nodes for example foo = raise bar rescue nil traverses all nodes for example !(a, b = foo) traverses all nodes for example 1..2 traverses all nodes for example break fun foo do end traverses all nodes for example f{ |o=1, *r, &b| } traverses all nodes for example m [], 1 do end traverses all nodes for example a&.b = 1 traverses all nodes for example def f ((*, p)); end traverses all nodes for example case foo; in 1, "a", [], {} then nil; end traverses all nodes for example a += b += raise :x traverses all nodes for example foo traverses all nodes for example not foo traverses all nodes for example return(foo) traverses all nodes for example fun do end traverses all nodes for example a b{c(d)}, 1.0 do end traverses all nodes for example %I() traverses all nodes for example foo == 1 traverses all nodes for example <<-`HERE` a\ b HERE traverses all nodes for example meth 1 do end.fun(bar) traverses all nodes for example bar unless foo traverses all nodes for example meth[] {} traverses all nodes for example case foo; in [x] then nil; end traverses all nodes for example ..100 traverses all nodes for example [/()\1/, ?#] traverses all nodes for example p <<~E x y E traverses all nodes for example foo << 1 traverses all nodes for example ::Foo = 10 traverses all nodes for example $10 traverses all nodes for example class Foo end traverses all nodes for example ::A += 1 traverses all nodes for example a b(c d), 1.0i do end traverses all nodes for example +foo traverses all nodes for example foo::A = 1 traverses all nodes for example if foo then bar; end traverses all nodes for example 1 in [a]; a traverses all nodes for example a b{c d}, /x/ do end traverses all nodes for example a b(c(d)), 1 do end traverses all nodes for example f{ |o=1, *r, p, &b| } traverses all nodes for example fun(foo, :foo => 1) traverses all nodes for example <<`HERE` foo bar HERE traverses all nodes for example foo - 1 traverses all nodes for example @a |= 1 traverses all nodes for example "#@@1" traverses all nodes for example -> a: { } traverses all nodes for example unless foo; bar; end traverses all nodes for example assert dogs traverses all nodes for example a b(c d), /x/m do end traverses all nodes for example p :foo, {** proc do end, b: proc do end} traverses all nodes for example @foo traverses all nodes for example %r{#@@1} traverses all nodes for example ->(a) { } traverses all nodes for example a, *, c = bar traverses all nodes for example :'#@@1' traverses all nodes for example begin ensure end traverses all nodes for example `a\ b` traverses all nodes for example case foo; in { a: 1 } then true; end traverses all nodes for example def f a, &b; end traverses all nodes for example case foo; in "#{ %Q{a} }": then true; end traverses all nodes for example foo & 1 traverses all nodes for example class << foo; nil; end traverses all nodes for example begin; meth; rescue foo => ex; bar; end traverses all nodes for example case foo; in x, y then nil; end traverses all nodes for example module Foo; end traverses all nodes for example fun (f bar) traverses all nodes for example case foo; in "a": then true; end traverses all nodes for example def self::foo; end traverses all nodes for example case foo; in 1.. then true; end traverses all nodes for example _2 = 1 traverses all nodes for example f{ } traverses all nodes for example Foo traverses all nodes for example a b(c d), "x" do end traverses all nodes for example a, *b = bar traverses all nodes for example foo = meth rescue bar traverses all nodes for example %I[#@@1] traverses all nodes for example foo::(1) traverses all nodes for example begin; meth; rescue; baz; else foo; ensure; bar end traverses all nodes for example begin; meth; rescue Exception; bar; end traverses all nodes for example case foo; in x if true; nil; end traverses all nodes for example foo.A += m foo traverses all nodes for example ?a traverses all nodes for example foo.(1) traverses all nodes for example fun(1) traverses all nodes for example case foo; in [x, *y, z] then true; end traverses all nodes for example def END; end traverses all nodes for example ...100 traverses all nodes for example %x{#@1} traverses all nodes for example `foo#{bar}baz` traverses all nodes for example [1, *foo, 2] traverses all nodes for example f (g rescue nil) traverses all nodes for example case foo; in ->{ 42 } then true; end traverses all nodes for example begin; meth; ensure; bar; end traverses all nodes for example %W[foo #{bar}] traverses all nodes for example if (bar; a, b = foo); end traverses all nodes for example if foo; bar; elsif baz; 1; else 2; end traverses all nodes for example $var = 10 traverses all nodes for example %i[] traverses all nodes for example if /wat/; end traverses all nodes for example def foo; end traverses all nodes for example def f(foo=1, bar=2); end traverses all nodes for example def foo(...); bar(...); end traverses all nodes for example def String; end traverses all nodes for example meth 1 do end.fun {} traverses all nodes when given an unexpected AST with too few children raises debugging error with too many children raises debugging error for example alias $a $+ traverses all nodes for example def f o=1, p, &b; end traverses all nodes for example a b{c(d)}, 1 do end traverses all nodes for example case 1; in 2; 3; else; end traverses all nodes for example meth 1 do end::fun bar traverses all nodes for example /source/im traverses all nodes for example { } traverses all nodes for example next traverses all nodes for example foo.fun bar traverses all nodes for example begin; meth; rescue; baz; ensure; bar; end traverses all nodes for example foo::Fun() traverses all nodes for example case foo; in x, *y, z then nil; end traverses all nodes for example foo, bar = meth rescue [1, 2] traverses all nodes for example %q{#@@1} traverses all nodes for example "foo#@a" "bar" traverses all nodes for example case foo; in [x,] then nil; end traverses all nodes for example # Extracted from `parser` gem. # Add the following code at the beginning of `def assert_parses`: # # File.open('./out.rb', 'a+') do |f| # f << code << "\n\n#----\n" if versions.include? '2.7' # end alias $a $b traverses all nodes for example %q{#@1} traverses all nodes for example case foo; in {a: 1 } false ; end traverses all nodes for example defined? foo traverses all nodes for example f{ |a| } traverses all nodes for example def foo(...); super(...); end traverses all nodes for example case foo; in a: then true; end traverses all nodes for example a = b += raise :x traverses all nodes for example foo&.bar {} traverses all nodes for example case foo; in **a then true; end traverses all nodes for example 42 traverses all nodes for example case foo; in x, y, then nil; end traverses all nodes for example f{ |;a| } traverses all nodes for example def f(foo); end traverses all nodes for example `#@1` traverses all nodes for example case foo; in ** then true; end traverses all nodes for example class << foo; _1; end traverses all nodes for example fun(f bar) traverses all nodes for example foo <= 1 traverses all nodes for example ->(a; foo, bar) { } traverses all nodes for example case foo; when 'bar'; bar; end traverses all nodes for example def f(*foo); end traverses all nodes for example a b{c d}, :e do end traverses all nodes for example def f a, o=1, *r, p, &b; end traverses all nodes for example "a\ b" traverses all nodes for example case foo; in "#{ %q{a} }": 1 then true; end traverses all nodes for example () traverses all nodes for example case foo; in [x, y, *] then true; end traverses all nodes for example fun (1) {} traverses all nodes for example bar if foo traverses all nodes for example def f(**); end traverses all nodes for example a += 1 traverses all nodes for example :'#@1' traverses all nodes for example def f &b; end traverses all nodes for example def x(_4) end traverses all nodes for example foo.fun (1) {} traverses all nodes for example <<-`HERE` #@@1 HERE traverses all nodes for example def f(*); end traverses all nodes for example %I[#@1] traverses all nodes for example def f a, o=1, p, &b; end traverses all nodes for example %{a\ b} traverses all nodes for example false traverses all nodes for example %x{#@@1} traverses all nodes for example until foo; meth end traverses all nodes for example foo ^ 1 traverses all nodes for example a b{c d}, 1.0r do end traverses all nodes for example foo && (a, b = bar) traverses all nodes for example case foo; in x unless true; nil; end traverses all nodes for example f{ | | } traverses all nodes for example class Foo < a:b; end traverses all nodes for example fun(foo, *bar, &baz) traverses all nodes for example %I{a\ b} traverses all nodes for example f x: -> do meth do end end traverses all nodes for example a b(c d), /x/ do end traverses all nodes for example p <<~E x y E traverses all nodes for example while foo do meth end traverses all nodes for example def until; end traverses all nodes for example def f **baz, &b; end traverses all nodes for example a&.b traverses all nodes for example fun { } traverses all nodes for example undef foo, :bar, :"foo#{1}" traverses all nodes for example END { 1 } traverses all nodes for example p begin 1.times do 1 end end traverses all nodes for example %w[ #@@1 ] traverses all nodes for example foo::a = 1 traverses all nodes for example [ 1, 2 => 3 ] traverses all nodes for example def String=; end traverses all nodes for example foo, bar, baz = 1, 2 traverses all nodes for example fun (1) traverses all nodes for example /#)/x traverses all nodes when a class defines `on_block_pass` calls it for all block-pass arguments for example a b(c(d)), "x" do end traverses all nodes for example :"#@1" traverses all nodes for example a, *b, c = bar traverses all nodes for example ->(scope) {}; scope traverses all nodes for example p :foo, {a: proc do end, b: proc do end} traverses all nodes for example foo.C += raise(bar) rescue nil traverses all nodes for example while def self.foo a = tap do end; end; break; end traverses all nodes for example def foo(...); bar(...); end traverses all nodes for example def self.foo; end traverses all nodes for example let () { m(a) do; end } traverses all nodes for example (foo, bar) = 1, 2 traverses all nodes for example %W[#@@1] traverses all nodes for example meth 1 do end.fun bar do end traverses all nodes for example f{ |a| } traverses all nodes for example %i[foo bar] traverses all nodes for example %q(foobar) traverses all nodes for example case foo; in "#{ %q{a} }": then true; end traverses all nodes for example foo = m foo traverses all nodes for example defined?(foo) traverses all nodes for example case foo; in [x, y,] then true; end traverses all nodes for example yield(foo) traverses all nodes for example td (1_500).toString(); td.num do; end traverses all nodes for example foo >> 1 traverses all nodes for example foo += raise bar rescue nil traverses all nodes for example $+ traverses all nodes for example f{ |a, b,| } traverses all nodes for example :'foo' traverses all nodes for example def f(foo:); end traverses all nodes for example a b(c(d)), :e do end traverses all nodes for example %i[ #@@1 ] traverses all nodes for example meth do; foo; rescue; bar; end traverses all nodes for example fun (1).to_i traverses all nodes for example __LINE__ traverses all nodes for example case foo; in [*x, y] then true; end traverses all nodes for example if foo then bar end traverses all nodes for example f{ |; a | } traverses all nodes for example begin meth end while foo traverses all nodes for example foo::fun bar traverses all nodes for example %I[foo#{bar}] traverses all nodes for example f{ || } traverses all nodes for example foo === 1 traverses all nodes for example begin; meth; rescue => @ex; bar; end traverses all nodes for example case foo; in [x, *, y] then true; end traverses all nodes for example 42.1r traverses all nodes for example bar def foo; self.each do end end traverses all nodes for example m "#{}#{()}" traverses all nodes for example {a: if true then 42 end} traverses all nodes for example <<-"HERE" a\ b HERE traverses all nodes for example for a in foo; p a; end traverses all nodes for example case; when foo; 'foo'; end traverses all nodes for example { 1 => 2, :foo => "bar" } traverses all nodes for example case foo; in "#{ 'a' }": then true; end traverses all nodes for example f{ |foo:| } traverses all nodes for example /(?bar)/ =~ 'bar'; match traverses all nodes for example yield foo traverses all nodes for example f{ |*s| } traverses all nodes for example @@foo traverses all nodes for example a b{c(d)}, /x/ do end traverses all nodes for example a += b = raise :x traverses all nodes for example super foo, bar do end traverses all nodes for example p p{p(p);p p}, tap do end traverses all nodes for example assert do: true traverses all nodes for example %W{a\ b} traverses all nodes for example foo < 1 traverses all nodes for example foo, bar = 1, 2 traverses all nodes for example f{ |*s, &b| } traverses all nodes for example def foo(_, _); end traverses all nodes for example next(foo) traverses all nodes for example $foo traverses all nodes for example meth rescue bar traverses all nodes for example foo, bar = m foo traverses all nodes for example def f o=1, *r, &b; end traverses all nodes for example begin; meth; rescue; foo; else; bar; end traverses all nodes for example -> (arg={}) {} traverses all nodes for example begin end traverses all nodes for example foo[1, 2] = 3 traverses all nodes for example foo = *bar traverses all nodes for example -42 traverses all nodes for example f <<-TABLE do TABLE end traverses all nodes for example 1...2 traverses all nodes for example %w{a\ b} traverses all nodes for example case foo; in self then true; end traverses all nodes for example case foo; in "#{ %Q{a} }": 1 then true; end traverses all nodes for example meth until foo traverses all nodes for example /foo#{bar}baz/ traverses all nodes for example :'a\ b' traverses all nodes for example f{ |foo: 1, &b| } traverses all nodes for example { 1 => 2 } traverses all nodes for example foo and bar traverses all nodes for example { 'foo': 2 } traverses all nodes for example %{#@1} traverses all nodes for example for a in foo do p a; end traverses all nodes for example lambda{|;a|a} traverses all nodes for example def f a, *r, p, &b; end traverses all nodes for example redo traverses all nodes for example case foo; in a:, b: then true; end traverses all nodes for example fun(foo, *bar) traverses all nodes for example f{ |a, o=1, p, &b| } traverses all nodes for example case 1; in 2; 3; else; 4; end traverses all nodes for example def f o=1, *r, p, &b; end traverses all nodes for example def _5; end traverses all nodes for example unless foo then bar; end traverses all nodes for example proc {_1 = nil} traverses all nodes for example case foo; in (1) then true; end traverses all nodes for example def f ((*r, p)); end traverses all nodes for example case foo; in a: 1, _a:, ** then true; end traverses all nodes for example a b(c d), 1.0r do end traverses all nodes for example foo + 1 traverses all nodes for example p <<~E E traverses all nodes for example def f a, o=1, &b; end traverses all nodes for example while class Foo; tap do end; end; break; end traverses all nodes for example def self.m; _1; end traverses all nodes for example a b(c d), 1.0 do end traverses all nodes for example a b{c(d)}, /x/m do end traverses all nodes for example def foo() a:b end traverses all nodes for example case foo; in [x, y, *z] then true; end traverses all nodes for example if foo; bar; else baz; end traverses all nodes for example module ::Foo; end traverses all nodes for example /a\ b/ traverses all nodes for example class Foo; end traverses all nodes for example ~foo traverses all nodes for example a b(c d), :e do end traverses all nodes for example %q{a\ b} traverses all nodes for example a b(c(d)), 1.0 do end traverses all nodes for example <<-'HERE' a\ b HERE traverses all nodes for example a b(c(d)), /x/ do end traverses all nodes for example f{ |*, &b| } traverses all nodes for example def f ((a, a1)); end traverses all nodes for example case foo; in 1; end traverses all nodes for example fun(:foo => 1, &baz) traverses all nodes for example -> { _1 + _9} traverses all nodes for example f{ |a, o=1, &b| } traverses all nodes for example [*foo] traverses all nodes for example def f(&block); end traverses all nodes for example while not (true) do end traverses all nodes for example foo[bar,] traverses all nodes for example foo != 1 traverses all nodes for example foo.C += raise bar rescue nil traverses all nodes for example a # # .foo traverses all nodes for example -2.0 ** 10 traverses all nodes for example a b{c d}, 1.0i do end traverses all nodes for example for a, b in foo; p a, b; end traverses all nodes for example <<~FOO baz\ qux FOO traverses all nodes for example foo.a = 1 traverses all nodes for example +42 traverses all nodes for example f{ |a, o=1, *r, p, &b| } traverses all nodes RuboCop::AST::BreakNode behaves like wrapped arguments node .new without arguments is expected to be a kind of RuboCop::AST::BreakNode with arguments is expected to be a kind of RuboCop::AST::BreakNode #arguments with multiple literal arguments is expected to eq 2 with no arguments and braces is expected to be empty with a single argument and braces is expected to eq 1 with no arguments is expected to be empty with a single splat argument is expected to eq 1 with a single argument is expected to eq 1 RuboCop::AST::NodePattern::Sets creates a constant with the right value is expected to eq "::RuboCop::AST::NodePattern::Sets::SET_1_2_3_ETC" is expected not to eq "::RuboCop::AST::NodePattern::Sets::SET_1_2_3_ETC_2" is expected to eq "::RuboCop::AST::NodePattern::Sets::SET_1_2_3_ETC" RuboCop::AST::RescueNode #resbody_branches is expected to eq 2 is expected to all be resbody type #else_branch with an else statement is expected to be send type without an else statement is expected to be nil #body is expected to be send type #branches when there is no else keyword returns only then rescue bodies when there is an else returns all the bodies with an empty else returns all the bodies .new is expected to be a kind of RuboCop::AST::RescueNode #else? with an else statement is expected to be else without an else statement is expected not to be else RuboCop::AST::AndNode #logical_operator? with a semantic and node is expected not to be logical operator with a logical and node is expected to be logical operator #semantic_operator? with a logical and node is expected not to be semantic operator with a semantic and node is expected to be semantic operator #rhs with a logical and node is expected to be int type with a semantic and node is expected to be int type #alternate_operator with a logical and node is expected to eq "and" with a semantic and node is expected to eq "&&" .new with a semantic and node is expected to be a kind of RuboCop::AST::AndNode with a logical and node is expected to be a kind of RuboCop::AST::AndNode #operator with a semantic and node is expected to eq "and" with a logical and node is expected to eq "&&" #inverse_operator with a semantic and node is expected to eq "or" with a logical and node is expected to eq "||" #lhs with a logical and node is expected to be sym type with a semantic and node is expected to be sym type RuboCop::AST::DefNode #first_argument with a single rest argument is expected to be restarg type with multiple regular arguments is expected to be arg type with no arguments is expected to be nil with multiple mixed arguments is expected to be arg type with a single regular argument is expected to be arg type with a single keyword argument is expected to be kwoptarg type #method_name with a setter method is expected to eq :foo= with a unary method is expected to eq :-@ with an operator method is expected to eq :== with a plain method is expected to eq :foo #last_argument with multiple regular arguments is expected to be arg type with no arguments is expected to be nil with a single rest argument is expected to be restarg type with a single keyword argument is expected to be kwoptarg type with a single regular argument is expected to be arg type with multiple mixed arguments is expected to be restarg type #block_argument? with regular arguments is expected not to be block argument with mixed arguments is expected to be block argument with a block argument is expected to be block argument with no arguments is expected not to be block argument #body with a single expression body is expected to be send type with a multi-expression body is expected to be begin type with no body is expected to be nil #method? when message matches when argument is a symbol is expected to be method :bar when argument is a string is expected to be method "bar" when message does not match when argument is a symbol is expected not to be method :foo when argument is a string is expected not to be method "foo" #predicate_method? with a regular method is expected not to be predicate method with a bang method is expected not to be predicate method with a predicate method is expected to be predicate method #operator_method? with a setter method is expected not to be operator method with a regular method is expected not to be operator method with a binary operator method is expected to be operator method with a unary operator method is expected to be operator method #const_receiver? with a class method definition is expected not to be const receiver with an instance method definition is expected not to be const receiver with a singleton method definition is expected to be const receiver #rest_argument? with no arguments is expected not to be rest argument with regular arguments is expected not to be rest argument with a rest argument is expected to be rest argument with mixed arguments is expected to be rest argument #endless? with endless method definition is expected to be endless with standard method definition is expected not to be endless #assignment_method? with an assignment method is expected to be assignment method with a comparison method is expected not to be assignment method with a regular method is expected not to be assignment method with a bracket assignment method is expected to be assignment method #bang_method? with a bang method is expected to be bang method with a regular method is expected not to be bang method with a predicate method is expected not to be bang method when using Ruby 2.7 or newer #argument_forwarding? is expected to be argument forwarding #receiver with a singleton method definition is expected to be const type with a class method definition is expected to be self type with an instance method definition is expected to be nil #self_receiver? with an instance method definition is expected not to be self receiver with a class method definition is expected to be self receiver with a singleton method definition is expected not to be self receiver #camel_case_method? with a camel case method is expected to be camel case method with a regular method is expected not to be camel case method #arguments? with a single rest argument is expected to be arguments with a single keyword argument is expected to be arguments with multiple regular arguments is expected to be arguments with multiple mixed arguments is expected to be arguments with a single regular argument is expected to be arguments with no arguments is expected not to be arguments #void_context? with a comparison method is expected not to be void context with a regular method is expected not to be void context with a regular assignment method is expected to be void context with an initializer method is expected to be void context with a bracket assignment method is expected to be void context #comparison_method? with a comparison method is expected to be comparison method with a regular method is expected not to be comparison method #arguments with argument forwarding is expected to eq 1 with a single regular argument is expected to eq 1 with a single rest argument is expected to eq 1 with multiple mixed arguments is expected to eq 2 with no arguments is expected to be empty with multiple regular arguments is expected to eq 2 .new with a def node is expected to be a kind of RuboCop::AST::DefNode with a defs node is expected to be a kind of RuboCop::AST::DefNode RuboCop::AST::IfNode #else? without an else statement is expected not to be elsif with an elsif statement is expected to be else #nested_conditional? with nested conditionals in if clause is expected to be nested conditional with no nested conditionals is expected not to be nested conditional with nested conditionals in else clause is expected to be nested conditional with nested ternary operators when nested in the truthy branch is expected to be nested conditional when nested in the falsey branch is expected to be nested conditional with nested conditionals in elsif clause is expected to be nested conditional #branches with a ternary operator is expected to all be literal is expected to eq 2 with an unless statement is expected to eq 1 is expected to all be literal with an else statement is expected to all be literal is expected to eq 2 with an elsif statement is expected to eq 3 is expected to all be literal with an if statement is expected to all be literal is expected to eq 1 #else_branch with a ternary operator is expected to be int type with an unless statement is expected to be int type with an if statement is expected to be int type #ternary? with an if statement is expected not to be ternary with an unless statement is expected not to be ternary with a ternary operator is expected to be ternary #elsif? without an elsif statement is expected not to be elsif with an elsif statement is expected to be elsif with an if statement comtaining an elsif is expected not to be elsif #elsif_conditional? with one elsif conditional is expected to be elsif conditional with multiple elsif conditionals is expected to be elsif conditional with nested ternary operators when nested in the truthy branch is expected not to be elsif conditional when nested in the falsey branch is expected not to be elsif conditional with nested conditionals in else clause is expected not to be elsif conditional with nested conditionals in if clause is expected not to be elsif conditional #inverse_keyword? with a ternary operator is expected to eq "" with an unless statement is expected to eq "if" with an if statement is expected to eq "unless" #modifier_form? with a modifier if statement is expected to be modifier form with a modifier unless statement is expected to be modifier form with a ternary operator is expected not to be modifier form with a non-modifier unless statement is expected not to be modifier form with a non-modifier if statement is expected not to be modifier form #if_branch with an if statement is expected to be sym type with a ternary operator is expected to be sym type with an unless statement is expected to be sym type #if? with an unless statement is expected not to be if with a ternary operator is expected not to be if with an if statement is expected to be if #each_branch when not passed a block is expected to be a kind of Enumerator when passed a block yields all the branches #unless? with a ternary operator is expected not to be unless with an if statement is expected not to be unless with an unless statement is expected to be unless .new with a regular if statement is expected to be a kind of RuboCop::AST::IfNode with a ternary operator is expected to be a kind of RuboCop::AST::IfNode with a modifier statement is expected to be a kind of RuboCop::AST::IfNode #keyword with an if statement is expected to eq "if" with a ternary operator is expected to eq "" with an unless statement is expected to eq "unless" RuboCop::AST::CaseMatchNode when using Ruby 2.7 or newer .new is expected to be a kind of RuboCop::AST::CaseMatchNode #else? without an else statement is expected not to be else with an else statement is expected to be else #in_pattern_branches is expected to eq 3 is expected to all be in pattern type #branches when there is an else with else body returns all the bodies with empty else returns all the bodies when there is no else keyword returns only then when bodies #else_branch #else? with an else statement is expected to be sym type with an empty else statement is expected to be empty else type without an else statement is expected to be nil #keyword is expected to eq "case" #each_in_pattern when not passed a block is expected to be a kind of Enumerator when passed a block yields all the conditions RuboCop::AST::ReturnNode behaves like wrapped arguments node .new with arguments is expected to be a kind of RuboCop::AST::ReturnNode without arguments is expected to be a kind of RuboCop::AST::ReturnNode #arguments with a single argument is expected to eq 1 with no arguments and braces is expected to be empty with multiple literal arguments is expected to eq 2 with a single splat argument is expected to eq 1 with a single argument and braces is expected to eq 1 with no arguments is expected to be empty RuboCop::AST::ResbodyNode #body is expected to be sym type #exception_variable when an exception variable is not given is expected to be nil for an explicit rescue is expected to eq "ex" for an implicit rescue is expected to eq "ex" #branch_index is expected to eq 0 is expected to eq 1 is expected to eq 2 #exceptions without exception is expected to eq 0 with a single exception is expected to all be const type is expected to eq 1 with multiple exceptions is expected to eq 2 is expected to all be const type .new is expected to be a kind of RuboCop::AST::ResbodyNode RuboCop::AST::ProcessedSource #tokens_within returns tokens for node accepts Node as an argument when heredoc as argument is present returns tokens for heredoc node returns tokens for node before heredoc returns tokens for node after heredoc #buffer is a source buffer #tokens has an array of tokens #ast is the root node of AST #lines has same number of elements as line count is an array contains lines as string without linefeed #first_token_of accepts Node as an argument returns first token for node #file_path returns file path #[] when start index and length are passed returns the array of lines when an index is passed returns the line when a range is passed returns the array of lines .from_file raises a Errno::ENOENT when the file does not exist when the file exists sets the file path to the instance's #path returns an instance of ProcessedSource #start_with? with present source returns true when passed string that starts source returns false when passed string that does not start source with blank source returns false #path is the path passed to .new #parser_error when the source could not be parsed due to encoding error returns the error when the source was properly parsed is nil when the source lacks encoding comment and is really utf-8 encoded but has been read as US-ASCII is nil #blank? with source with content returns false with source of no content returns true with heavily commented source #comments_before_line returns comments on or before given line #line_with_comment? returns true for lines with comments returns false for lines without comments #comment_at_line returns the comment at the given line number returns nil if line has no comment #contains_comment? provided source_range on line with comment is expected to equal true provided source_range on comment line is expected to equal true provided a multiline source_range with at least one line with comment is expected to equal true provided source_range on line without comment is expected to equal false #find_comment yields correct comment yields nil when there is no match #each_comment yields all comments #each_comment_in_lines yields the comments token enumerables #find_token yields correct token yields nil when there is no match #each_token yields all tokens valid_syntax? when a line starts with an integer literal tokenizes the source correctly when the source is completely valid returns true when the source could not be parsed due to encoding error returns false when the source is invalid returns false when the source itself is valid encoding but includes strange encoding literals that are accepted by MRI returns true when the source is valid but has some warning diagnostics returns true #preceding_line returns source of line before token #comments is an array of comments when the source is invalid returns [] #last_token_of returns last token for node accepts Node as an argument #following_line returns source of line after token RuboCop::AST::YieldNode #block_argument? is expected not to be block argument #receiver is expected to be nil #last_argument with a single splat argument is expected to be splat type with multiple mixed arguments is expected to be splat type with no arguments is expected to be nil with a single literal argument is expected to be sym type with multiple literal arguments is expected to be sym type #splat_argument? with regular arguments is expected not to be splat argument with no arguments is expected not to be splat argument with mixed arguments is expected to be splat argument with a splat argument is expected to be splat argument #method? when message matches when argument is a symbol is expected to be method :yield when argument is a string is expected to be method "yield" when message does not match when argument is a string is expected not to be method "foo" when argument is a symbol is expected not to be method :foo #implicit_call? is expected not to be implicit call .new is expected to be a kind of RuboCop::AST::YieldNode #setter_method? is expected not to be setter method #block_node is expected to be nil #macro? is expected not to be macro #self_receiver? is expected not to be self receiver #const_receiver? is expected not to be const receiver #comparison_method? is expected not to be comparison method #double_colon? is expected not to be double colon #arguments with no arguments is expected to be empty with multiple mixed arguments is expected to eq 2 with a single splat argument is expected to eq 1 with multiple literal arguments is expected to eq 2 with a single literal argument is expected to eq 1 #assignment_method? is expected not to be assignment method #command? when argument is a symbol is expected to be command :yield when argument is a string is expected to be command "yield" #block_literal? is expected not to be block literal #arguments? with multiple mixed arguments is expected to be arguments with no arguments is expected not to be arguments with a single literal argument is expected to be arguments with a single splat argument is expected to be arguments with multiple literal arguments is expected to be arguments #method_name is expected to eq :yield #camel_case_method? is expected not to be camel case method #parenthesized? with no arguments when using parentheses is expected to be parenthesized when not using parentheses is expected not to be parenthesized with arguments when using parentheses is expected to be parenthesized when not using parentheses is expected not to be parenthesized #first_argument with no arguments is expected to be nil with multiple literal arguments is expected to be sym type with a single literal argument is expected to be sym type with multiple mixed arguments is expected to be sym type with a single splat argument is expected to be splat type #dot? is expected not to be dot #operator_method? is expected not to be operator method #bang_method? is expected not to be bang method #predicate_method? is expected not to be predicate method Set#=== tests for inclusion RuboCop::AST::ArgsNode .new with a method definition is expected to be a kind of RuboCop::AST::ArgsNode with a lambda literal is expected to be a kind of RuboCop::AST::ArgsNode with a block is expected to be a kind of RuboCop::AST::ArgsNode #empty_and_without_delimiters? with arguments with a method definition is expected to equal false with a lambda literal is expected to equal false with empty arguments with a lambda literal is expected to equal true with a block is expected to equal true with a method definition is expected to equal true with delimiters with a block is expected to equal false with a lambda literal is expected to equal false with a method definition is expected to equal false #argument_list is expected to eq [s(:arg, :a), s(:optarg, :b, s(:int, 42)), s(:arg, :c), s(:restarg, :d), s(:kwarg, :e), s(:kwoptarg, :f, s(:int, 42)), s(:kwrestarg, :g), s(:blockarg, :h), s(:shadowarg, :i)] when using Ruby 2.7 or newer with argument forwarding is expected to eq [s(:forward_arg)] RuboCop::AST::PairNode #same_line? when both pairs are on the same line when both pairs are explicit pairs is expected to be same line s(:pair, s(:sym, :b), s(:int, 2)) when both pair is a keyword splat is expected to be same line s(:kwsplat, s(:send, nil, :foo)) when pairs are on separate lines when last pair is a keyword splat is expected not to be same line s(:kwsplat, s(:send, nil, :foo)) when both pairs are explicit pairs is expected not to be same line s(:pair, s(:sym, :b), s(:int, 2)) when a multiline pair shares the same line when both pairs are explicit pairs is expected to be same line s(:pair, s(:sym, :b), s(:int, 2)) is expected to be same line s(:pair, s(:sym, :a), s(:begin)) when last pair is a keyword splat is expected to be same line s(:pair, s(:sym, :a), s(:begin)) is expected to be same line s(:kwsplat, s(:send, nil, :foo)) #value_on_new_line? when value spans multiple lines is expected not to be value on new line when value starts on a new line is expected to be value on new line when pair is on a single line is expected not to be value on new line #key when using a symbol key is expected to be sym type when using a string key is expected to be str type #value_delta when using colon delimiters when receiver value is ahead is expected to eq 2 when both pairs are on the same line is expected to eq 0 when receiver value is behind is expected to eq -2 when values are aligned when second pair is a keyword splat is expected to eq 0 when both pairs are explicit pairs is expected to eq 0 when using hash rocket delimiters when values are aligned when second pair is a keyword splat is expected to eq 0 when both pairs are explicit pairs is expected to eq 0 when both pairs are on the same line is expected to eq 0 when receiver value is behind is expected to eq -2 when receiver value is ahead is expected to eq 2 #colon? when using a colon delimiter is expected to be colon when using a hash rocket delimiter is expected not to be colon #delimiter when using a colon delimiter is expected to eq ": " is expected to eq ":" when using a hash rocket delimiter is expected to eq "=>" is expected to eq " => " #hash_rocket? when using a hash rocket delimiter is expected to be hash rocket when using a colon delimiter is expected not to be hash rocket #value_omission? when using hash value omission is expected to be value omission when not using hash value omission is expected not to be value omission #key_delta with alignment set to :left when using hash rocket delimiters when receiver key is behind when second pair is a keyword splat is expected to eq -2 when both pairs are explicit pairs is expected to eq -2 when both keys are on the same line when both pairs are explicit pairs is expected to eq 0 when second pair is a keyword splat is expected to eq 0 when receiver key is ahead when second pair is a keyword splat is expected to eq 2 when both pairs are explicit pairs is expected to eq 2 when keys are aligned when second key is a keyword splat is expected to eq 0 when both keys are explicit keys is expected to eq 0 when using colon delimiters when receiver key is behind when second pair is a keyword splat is expected to eq -2 when both pairs are reail pairs is expected to eq -2 when keys are aligned when second pair is a keyword splat is expected to eq 0 when both pairs are explicit pairs is expected to eq 0 when both keys are on the same line when both pairs are explicit pairs is expected to eq 0 when second pair is a keyword splat is expected to eq 0 when receiver key is ahead when both pairs are explicit pairs is expected to eq 2 when second pair is a keyword splat is expected to eq 2 with alignment set to :right when using hash rocket delimiters when receiver key is behind when both pairs are explicit pairs is expected to eq -2 when second pair is a keyword splat is expected to eq 0 when keys are aligned when both keys are explicit keys is expected to eq 0 when second key is a keyword splat is expected to eq 0 when both keys are on the same line when second pair is a keyword splat is expected to eq 0 when both pairs are explicit pairs is expected to eq 0 when receiver key is ahead when second pair is a keyword splat is expected to eq 0 when both pairs are explicit pairs is expected to eq 2 when using colon delimiters when keys are aligned when both pairs are explicit pairs is expected to eq 0 when second pair is a keyword splat is expected to eq 0 when receiver key is behind when second pair is a keyword splat is expected to eq 0 when both pairs are reail pairs is expected to eq -2 when both keys are on the same line when both pairs are explicit pairs is expected to eq 0 when second pair is a keyword splat is expected to eq 0 when receiver key is ahead when second pair is a keyword splat is expected to eq 0 when both pairs are explicit pairs is expected to eq 2 #inverse_delimiter when using a colon delimiter is expected to eq "=>" is expected to eq " => " when using a hash rocket delimiter is expected to eq ": " is expected to eq ":" #value is expected to be int type .new is expected to be a kind of RuboCop::AST::PairNode RuboCop::AST::AliasNode #new_identifier is expected to be sym type is expected to eq :foo #old_identifier is expected to eq :bar is expected to be sym type .new is expected to be a kind of RuboCop::AST::AliasNode RuboCop::AST::ArgNode #default? with a block argument is expected to equal false with a double splatted argument is expected to equal false with a regular argument is expected to equal false with an optional argument is expected to equal true with a splatted argument is expected to equal false with a block is expected to equal false with argument forwarding with Ruby >= 3.0 is expected to equal false with Ruby >= 2.7 is expected to equal false with a shadow argument is expected to equal false with an optional keyword argument is expected to equal true #name with a block argument is expected to eq :x with a nameless splatted argument is expected to be nil with a block is expected to eq :x with a splatted argument is expected to eq :x with a nameless double splatted argument is expected to be nil with argument forwarding with Ruby >= 2.7 is expected to be nil with Ruby >= 3.0 is expected to be nil with a shadow argument is expected to eq :x with an optional keyword argument is expected to eq :x with a keyword argument is expected to eq :x with a double splatted argument is expected to eq :x with a regular argument is expected to eq :x with an optional argument is expected to eq :x #default_value with a block argument is expected to be nil with a splatted argument is expected to be nil with argument forwarding with Ruby >= 3.0 is expected to be nil with Ruby >= 2.7 is expected to be nil with an optional keyword argument is expected to eq s(:int, 42) with a double splatted argument is expected to be nil with a regular argument is expected to be nil with an optional argument is expected to eq s(:int, 42) with a shadow argument is expected to be nil with a block is expected to be nil .new with an optional argument is expected to be a kind of RuboCop::AST::ArgNode with a splatted argument is expected to be a kind of RuboCop::AST::ArgNode with a double splatted argument is expected to be a kind of RuboCop::AST::ArgNode with a keyword argument is expected to be a kind of RuboCop::AST::ArgNode with an optional keyword argument is expected to be a kind of RuboCop::AST::ArgNode with a method definition is expected to be a kind of RuboCop::AST::ArgNode with a lambda literal is expected to be a kind of RuboCop::AST::ArgNode with a block is expected to be a kind of RuboCop::AST::ArgNode with a shadow argument is expected to be a kind of RuboCop::AST::ArgNode with a block argument is expected to be a kind of RuboCop::AST::ArgNode with argument forwarding with Ruby >= 3.0 is expected to be a kind of RuboCop::AST::ArgNode with Ruby >= 2.7 is expected to be a kind of RuboCop::AST::ArgNode RuboCop::AST::SuperNode #operator_method? is expected not to be operator method #camel_case_method? is expected not to be camel case method #parenthesized? with no arguments when using parentheses is expected to be parenthesized when not using parentheses is expected not to be parenthesized with arguments when not using parentheses is expected not to be parenthesized when using parentheses is expected to be parenthesized #dot? is expected not to be dot #predicate_method? is expected not to be predicate method #assignment_method? is expected not to be assignment method #block_argument? with no arguments is expected not to be block argument with mixed arguments is expected to be block argument with regular arguments is expected not to be block argument with a block argument is expected to be block argument #const_receiver? is expected not to be const receiver #method_name is expected to eq :super #block_node with no block is expected to be nil with a block literal is expected to be block type with a block argument is expected to be nil #splat_argument? with no arguments is expected not to be splat argument with regular arguments is expected not to be splat argument with a splat argument is expected to be splat argument with mixed arguments is expected to be splat argument #arguments with a single literal argument is expected to eq 1 with multiple mixed arguments is expected to eq 2 with multiple literal arguments is expected to eq 2 with no arguments is expected to be empty with a single splat argument is expected to eq 1 #command? when argument is a symbol is expected to be command :super when argument is a string is expected to be command "super" #last_argument with multiple mixed arguments is expected to be splat type with multiple literal arguments is expected to be sym type with no arguments is expected to be nil with a single splat argument is expected to be splat type with a single literal argument is expected to be sym type #receiver is expected to be nil .new with a zsuper node is expected to be a kind of RuboCop::AST::SuperNode with a super node is expected to be a kind of RuboCop::AST::SuperNode #comparison_method? is expected not to be comparison method #bang_method? is expected not to be bang method #arguments? with multiple literal arguments is expected to be arguments with multiple mixed arguments is expected to be arguments with a single splat argument is expected to be arguments with a single literal argument is expected to be arguments with no arguments is expected not to be arguments #setter_method? is expected not to be setter method #method? when message does not match when argument is a symbol is expected not to be method :foo when argument is a string is expected not to be method "foo" when message matches when argument is a symbol is expected to be method :super when argument is a string is expected to be method "super" #double_colon? is expected not to be double colon #implicit_call? is expected not to be implicit call #macro? is expected not to be macro #self_receiver? is expected not to be self receiver #block_literal? with a block literal is expected to be block literal with no block is expected not to be block literal with a block argument is expected not to be block literal #first_argument with no arguments is expected to be nil with a single splat argument is expected to be splat type with multiple mixed arguments is expected to be sym type with multiple literal arguments is expected to be sym type with a single literal argument is expected to be sym type RuboCop::AST::InPatternNode when using Ruby 2.7 or newer #then? with a then keyword is expected to be then without a then keyword is expected not to be then #pattern with a variable pattern is expected to be match var type with a value pattern is expected to be int type with an alternative pattern is expected to be match alt type with an array pattern is expected to be array pattern type with an as pattern is expected to be match as type with a pin operator is expected to be pin type with a hash pattern is expected to be hash pattern type #body without a then keyword is expected to be array type with a then keyword is expected to be sym type #branch_index is expected to eq 1 is expected to eq 0 is expected to eq 2 .new is expected to be a kind of RuboCop::AST::InPatternNode RuboCop::AST::RegexpNode .new is expected to be a kind of RuboCop::AST::RegexpNode #no_encoding? with only n option is expected to be no encoding with no options is expected not to be no encoding with n and other options is expected to be no encoding with other options is expected not to be no encoding #to_regexp with a regexp with an "u" option is expected to eq "/abc/" with a regexp with option is expected to eq /.+/mix with a regexp with an "o" option is expected to eq "/abc/i" with a regexp with an "n" option is expected to eq "/abc/n" with an empty regexp with option is expected to eq //ix with an empty regexp is expected to eq // with a multi-line regexp with option is expected to eq / .+ /ix with a multi-line regexp without option is expected to eq / .+ / with a regexp without option is expected to eq /.+/ #extended? with only x option is expected to be extended with other options is expected not to be extended with x and other options is expected to be extended with no options is expected not to be extended #slash_literal? with %r/-delimiters is expected not to be slash literal with %r{-delimiters is expected not to be slash literal with multi-line %r{-delimiters is expected not to be slash literal with %r<-delimiters is expected not to be slash literal with /-delimiters is expected to be slash literal #delimiters with %r/-delimiters is expected to eq ["/", "/"] with %r<-delimiters is expected to eq ["<", ">"] with multi-line %r{-delimiters is expected to eq ["{", "}"] with /-delimiters is expected to eq ["/", "/"] with %r{-delimiters is expected to eq ["{", "}"] #multiline_mode? with only m option is expected to be multiline mode with other options is expected not to be multiline mode with no options is expected not to be multiline mode with m and other options is expected to be multiline mode #regopt with a multi-line regexp without option is expected to be empty is expected to be regopt type with a regexp with option is expected to eq [:i, :m, :x] is expected to be regopt type with a regexp without option is expected to be regopt type is expected to be empty with an empty regexp with option is expected to be regopt type is expected to eq [:i, :x] with a multi-line regexp with option is expected to eq [:i, :m, :x] is expected to be regopt type with an empty regexp is expected to be empty is expected to be regopt type #ignore_case? with i and other options is expected to be ignore case with only i option is expected to be ignore case with no options is expected not to be ignore case with other options is expected not to be ignore case #options with an empty regexp is expected to eq 0 with a regexp with "o" option is expected to eq 0 with a regexp without option is expected to eq 0 with a regexp with multiple options is expected to eq 3 with a regexp with single option is expected to eq 1 #fixed_encoding? with other options is expected not to be fixed encoding with u and other options is expected to be fixed encoding with only u option is expected to be fixed encoding with no options is expected not to be fixed encoding #single_interpolation? with other options is expected not to be single interpolation with o and other options is expected to be single interpolation with no options is expected not to be single interpolation with only o option is expected to be single interpolation #interpolation? with direct variable interpoation is expected to be interpolation with no interpolation returns false is expected not to be interpolation with regexp quote is expected to be interpolation #delimiter? with %r/-delimiters is expected not to be delimiter "%r/" is expected not to be delimiter "%r" is expected not to be delimiter "}" is expected to be delimiter "/" is expected not to be delimiter "%" is expected not to be delimiter "r" is expected not to be delimiter "{" with %r<-delimiters is expected not to be delimiter "%r{" is expected not to be delimiter "%" is expected not to be delimiter "%r/" is expected to be delimiter ">" is expected not to be delimiter "/" is expected not to be delimiter "r" is expected not to be delimiter "}" is expected not to be delimiter "%r<" is expected not to be delimiter "{" is expected not to be delimiter "%r" is expected to be delimiter "<" with multi-line %r{-delimiters is expected not to be delimiter "/" is expected not to be delimiter "%r" is expected to be delimiter "{" is expected not to be delimiter "r" is expected to be delimiter "}" is expected not to be delimiter "%r{" is expected not to be delimiter "%" is expected not to be delimiter "%r/" with %r{-delimiters is expected not to be delimiter "/" is expected not to be delimiter "r" is expected to be delimiter "{" is expected not to be delimiter "%r/" is expected not to be delimiter "%r{" is expected not to be delimiter "%r" is expected to be delimiter "}" is expected not to be delimiter "%" with /-delimiters is expected not to be delimiter "{" is expected to be delimiter "/" #percent_r_literal? with %r<-delimiters is expected to be percent r literal with %r{-delimiters is expected to be percent r literal with multi-line %r{-delimiters is expected to be percent r literal with /-delimiters is expected not to be percent r literal with %r/-delimiters is expected to be percent r literal #content with an empty regexp with option is expected to eq "" with a regexp without option is expected to eq ".+" with a regexp with option is expected to eq ".+" with a multi-line regexp with option is expected to eq "\n.+\n" with an empty regexp is expected to eq "" with a multi-line regexp without option is expected to eq "\n.+\n" RuboCop::AST::ArrayNode #values with an empty array is expected to be empty with an array of literals is expected to eq 3 is expected to all be literal with an array of variables is expected to eq 2 is expected to all be send type #square_brackets? with square brackets is expected to be square brackets with a percent literal is expected not to be square brackets #each_value without block is expected to be a kind of Enumerator with block is expected to be a kind of RuboCop::AST::ArrayNode is expected to eq ["(int 1)", "(int 2)", "(int 3)"] .new is expected to be a kind of RuboCop::AST::ArrayNode #percent_literal? with square brackets is expected not to be percent literal :string is expected not to be percent literal :symbol is expected not to be percent literal with a symbol percent literal is expected to be percent literal :symbol is expected to be percent literal is expected not to be percent literal :string with a string percent literal is expected to be percent literal :string is expected to be percent literal is expected not to be percent literal :symbol #bracketed? with a percent literal is expected to be bracketed with square brackets is expected to be bracketed unbracketed is expected to be nil RuboCop::AST::BlockNode #braces? when enclosed in do-end keywords is expected not to be braces when enclosed in braces is expected to be braces #opening_delimiter when enclosed in braces is expected to eq "{" when enclosed in do-end keywords is expected to eq "do" #receiver with safe navigation operator call is expected to eq "foo" with dot operator call is expected to eq "foo" #multiline? when block is on a single line is expected not to be multiline when block is on several lines is expected to be multiline #arguments? with no arguments is expected not to be arguments with a single splat argument is expected to be arguments >= Ruby 2.7 using numbered parameters is expected not to be arguments with a single argument is expected to be arguments with multiple mixed arguments is expected to be arguments with destructuring arguments is expected to be arguments #closing_delimiter when enclosed in braces is expected to eq "}" when enclosed in do-end keywords is expected to eq "end" .new is expected to be a kind of RuboCop::AST::BlockNode #delimiters when enclosed in braces is expected to eq ["{", "}"] when enclosed in do-end keywords is expected to eq ["do", "end"] #single_line? when block is on a single line is expected to be single line when block is on several lines is expected not to be single line #lambda? when block belongs to a method lambda is expected to be lambda when block belongs to a non-lambda method is expected not to be lambda when block belongs to a stabby lambda is expected to be lambda #void_context? when block method is each is expected to be void context when block method is tap is expected to be void context when block method is not each is expected not to be void context #argument_list with no arguments is expected to be empty >= Ruby 2.7 using numbered parameters with sequential params is expected to eq [:_1, :_2] with skipped params is expected to eq [:_1, :_2, :_3, :_4, :_5, :_6, :_7] all argument types is expected to eq [:a, :b, :c, :d, :e, :f, :g, :h, :i] #keywords? when enclosed in do-end keywords is expected to be keywords when enclosed in braces is expected not to be keywords #arguments with no arguments is expected to be empty with multiple mixed arguments is expected to eq 2 with destructured arguments is expected to eq 2 with a single splat argument is expected to eq 1 >= Ruby 2.7 using numbered parameters is expected to be empty with a single literal argument is expected to eq 1 RuboCop::AST::Node #class_definition? with inheritance matches with Struct matches when using numbered parameter matches with ::ClassName matches with self singleton class matches with Class.new matches when using numbered parameter matches namespaced class matches with object singleton class matches constant defined as Struct without block does not match without inheritance matches #pure? for a regexp with no interpolation returns true with interpolated segments returns false with options returns true for a gvar assignment returns false for an lvar assignment returns false for a module definition returns false for an array literal with only literal children returns true which contains a method call returns false for an integer literal returns true for a hash literal with only literal children returns true which contains a method call returns false for a nested if where one branch contains an assignment statement returns false where one branch contains a method call returns false where the innermost descendants are local vars and literals returns true for a method call returns false for a class definition returns false for an ivar assignment returns false for a cvar assignment returns false #numeric_type? when complex literal is true when float literal is true when complex literal whose imaginary part is a rational is true when rational literal is true when string literal is true when integer literal is true #recursive_basic_literal? behaves like literal returns true for `%r{abx}ixo` behaves like non literal returns false for `{ some_method_call => :sym }` behaves like non literal returns false for `{ :sym => some_method_call }` behaves like literal returns true for `/./` behaves like non literal returns false for `%r{abx#{foo}}ixo` behaves like literal returns true for `'str'` behaves like non literal returns false for `(x or false)` behaves like non literal returns false for `some_method_call(x, y)` behaves like literal returns true for `(false && true)` behaves like non literal returns false for `/.#{some_method_call}/` behaves like literal returns true for `false` behaves like non literal returns false for `some_method_call` behaves like literal returns true for `"#{2}"` behaves like literal returns true for `[1, 2, 3]` behaves like literal returns true for `(1)` behaves like literal returns true for `{ :a => 1, :b => 2 }` behaves like literal returns true for `1` behaves like non literal returns false for `(x == false)` behaves like literal returns true for `(false <=> true)` behaves like literal returns true for `!true` behaves like literal returns true for `(false or true)` behaves like non literal returns false for `[some_method_call]` behaves like literal returns true for `nil` behaves like literal returns true for `1.0` behaves like literal returns true for `{ a: 1, b: 2 }` behaves like non literal returns false for `(x && false)` #parent_module_name when node on singleton class is expected to eq "Foo::#" when node on top level is expected to eq "Object" when node on module is expected to eq "Foo" when node nested in an unknown block is expected to be nil when node on class in singleton class is expected to eq "Foo::#::Bar" when node nested in a class << exp is expected to be nil #class_constructor? class definition with a block matches class definition does not match class definition on outer scope matches module definition with a block matches #module_definition? included module definition matches with Module.new matches when using numbered parameter matches namespaced modules matches using module keyword matches with ::ModuleName matches prepend Module.new matches nested modules matches #value_used? at the top level is false within a class definition node is always true at the end of a block is always true within a while node is true only for the condition within an if...else..end node nested in a method call is always true at the top level is true only for the condition within an array literal at the top level is always false assigned to an ivar is always true within a module definition node is always true within a singleton class node is always true within a method call node is always true #conditional? when post condition loop node is false when `case_match` node is true when `while` node is true when `if` node is true when `case` node is true when `until` node is true sibling_access returns trivial values for a root node for a node with siblings returns the expected values for a single child returns the expected values #argument_type? block arguments returns true for all argument types method arguments returns true for all argument types #struct_constructor? struct definition with a block matches struct definition without block does not match ::Struct matches RuboCop::AST::OrAsgnNode #name is expected to eq :var .new is expected to be a kind of RuboCop::AST::OrAsgnNode #assignment_node is expected to be a kind of RuboCop::AST::AsgnNode #operator is expected to eq :"||" #expression is expected to eq s(:send, nil, :value) RuboCop::AST::OpAsgnNode .new with an `op_asgn_node` node is expected to be a kind of RuboCop::AST::OpAsgnNode #operator with *= is expected to eq :* with **= is expected to eq :** with += is expected to eq :+ with %= is expected to eq :% with &= is expected to eq :& with |= is expected to eq :| with /= is expected to eq :/ with -= is expected to eq :- #assignment_node is expected to be a kind of RuboCop::AST::AsgnNode #name is expected to eq :var #expression is expected to eq s(:send, nil, :value) RuboCop::AST::UntilNode #post_condition_loop? with a statement until is expected not to be post condition loop with a modifier until is expected to be post condition loop .new with a statement until is expected to be a kind of RuboCop::AST::UntilNode with a modifier until is expected to be a kind of RuboCop::AST::UntilNode #inverse_keyword is expected to eq "while" #do? with a do keyword is expected to be do without a do keyword is expected not to be do #loop_keyword? with a statement until is expected to be loop keyword with a modifier until is expected to be loop keyword #keyword is expected to eq "until" RuboCop::AST::HashNode #empty? with an empty hash is expected to be empty with a hash containing pairs is expected not to be empty with a hash containing a keyword splat is expected not to be empty #pairs_on_same_line? with no pairs on the same line is expected not to be pairs on same line with some pairs on the same line is expected to be pairs on same line with all pairs on the same line is expected to be pairs on same line .new is expected to be a kind of RuboCop::AST::HashNode #braces? with braces is expected to be braces as an argument with braces is expected to be braces as an argument with no braces is expected not to be braces #pairs with a hash of variables is expected to all be pair type is expected to eq 2 with a hash of literals is expected to eq 3 is expected to all be pair type with an empty hash is expected to be empty #values with a hash with string keys is expected to eq 2 is expected to all be send type with an empty hash is expected to be empty with a hash with literal values is expected to eq 3 is expected to all be literal #keys with a hash with symbol keys is expected to eq 3 is expected to all be sym type with a hash with string keys is expected to all be str type is expected to eq 2 with an empty hash is expected to be empty #mixed_delimiters? when pairs are using different delimiters is expected to be mixed delimiters when all pairs are using a colon delimiter is expected not to be mixed delimiters when all pairs are using a hash rocket delimiter is expected not to be mixed delimiters #each_pair when passed a block yields all the pairs when not passed a block is expected to be a kind of Enumerator #each_value when not passed a block is expected to be a kind of Enumerator when passed a block yields all the pairs #each_key when passed a block yields all the pairs when not passed a block is expected to be a kind of Enumerator Changelog merges correctly parses correctly Changelog::Entry generates correct content RuboCop::AST::OrNode #semantic_operator? with a semantic or node is expected to be semantic operator with a logical or node is expected not to be semantic operator #lhs with a semantic or node is expected to be sym type with a logical or node is expected to be sym type #alternate_operator with a semantic or node is expected to eq "||" with a logical or node is expected to eq "or" #operator with a semantic or node is expected to eq "or" with a logical or node is expected to eq "||" .new with a logical or node is expected to be a kind of RuboCop::AST::OrNode with a semantic or node is expected to be a kind of RuboCop::AST::OrNode #logical_operator? with a semantic or node is expected not to be logical operator with a logical or node is expected to be logical operator #rhs with a semantic or node is expected to be int type with a logical or node is expected to be int type #inverse_operator with a logical or node is expected to eq "&&" with a semantic or node is expected to eq "and" RuboCop::AST::DefinedNode #method_name is expected to eq :defined? #receiver is expected to be nil .new with a defined? node is expected to be a kind of RuboCop::AST::DefinedNode #arguments is expected to eq 1 is expected to all be sym type RuboCop::AST::ForwardArgsNode when using Ruby 2.7 or newer #to_a is expected to contain exactly (be forward arg type) RuboCop::AST::WhenNode #conditions with a multiple conditions is expected to all be literal is expected to eq 3 with a single condition is expected to all be literal is expected to eq 1 #branch_index is expected to eq 2 is expected to eq 0 is expected to eq 1 .new is expected to be a kind of RuboCop::AST::WhenNode #then? without a then keyword is expected not to be then with a then keyword is expected to be then #each_condition when passed a block yields all the conditions when not passed a block is expected to be a kind of Enumerator #body without a then keyword is expected to be array type with a then keyword is expected to be sym type RuboCop::AST::AndAsgnNode #assignment_node is expected to be a kind of RuboCop::AST::AsgnNode .new is expected to be a kind of RuboCop::AST::AndAsgnNode #name is expected to eq :var #expression is expected to eq s(:send, nil, :value) #operator is expected to eq :"&&" RuboCop::AST::RuboCopCompatibility when ran from a compatible version of Rubocop issues a warning when ran from an incompatible version of Rubocop issues a warning RuboCop::AST::ModuleNode #identifier is expected to be const type .new is expected to be a kind of RuboCop::AST::ModuleNode #body with a multi-expression body is expected to be begin type with a single expression body is expected to be send type with an empty body is expected to be nil RuboCop::AST::CasgnNode #expression is expected to eq s(:send, nil, :value) .new with a `casgn` node is expected to be a kind of RuboCop::AST::CasgnNode #namespace when there is no parent is expected to be nil when the parent is a `const` is expected to eq s(:const, nil, :FOO) when the parent is a `cbase` is expected to eq s(:cbase) #name is expected to eq :VAR Finished in 8.98 seconds (files took 3.84 seconds to load) 2392 examples, 0 failures Randomized with seed 10502 ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ dh_installdocs -O--buildsystem=ruby dh_ruby_fixdocs -O--buildsystem=ruby debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/ruby-rubocop-ast-1.24.0' dh_installchangelogs CHANGELOG.md make[1]: Leaving directory '/build/ruby-rubocop-ast-1.24.0' dh_installsystemduser -O--buildsystem=ruby dh_perl -O--buildsystem=ruby dh_link -O--buildsystem=ruby dh_strip_nondeterminism -O--buildsystem=ruby dh_compress -X.rb -O--buildsystem=ruby dh_fixperms -O--buildsystem=ruby dh_missing -O--buildsystem=ruby dh_ruby_fixdepends -O--buildsystem=ruby dh_installdeb -O--buildsystem=ruby dh_gencontrol -O--buildsystem=ruby dpkg-gencontrol: warning: Depends field of package ruby-rubocop-ast: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package ruby-rubocop-ast: substitution variable ${ruby:Versions} used, but is not defined dh_md5sums -O--buildsystem=ruby dh_builddeb -O--buildsystem=ruby dpkg-deb: building package 'ruby-rubocop-ast' in '../ruby-rubocop-ast_1.24.0-2_all.deb'. dpkg-genbuildinfo --build=binary -O../ruby-rubocop-ast_1.24.0-2_arm64.buildinfo dpkg-genchanges --build=binary -O../ruby-rubocop-ast_1.24.0-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/30643/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/30643/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/30643 and its subdirectories I: Current time: Fri May 24 08:51:48 +14 2024 I: pbuilder-time-stamp: 1716490308