+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1272 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Thu Jan 9 09:29:53 UTC 2025 + uptime 09:29:53 up 1 min, 0 users, load average: 1.22, 0.35, 0.12 + ff=default + image=yegor256/rultor-image + rebase=false + head_branch=master + pull_title='Update dependency jsdom to v26' + author=yegor256 + directory= + head=git@github.com:yegor256/colorizejs.git + pull_id=76 + fork=git@github.com:yegor256/colorizejs.git + fork_branch=renovate/jsdom-26.x + squash=false + vars=('--env=head=git@github.com:yegor256/colorizejs.git' '--env=pull_id=76' '--env=fork=git@github.com:yegor256/colorizejs.git' '--env=fork_branch=renovate/jsdom-26.x' '--env=head_branch=master' '--env=pull_title=Update dependency jsdom to v26' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/colorizejs.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=76'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/colorizejs.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/jsdom-26.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency jsdom to v26'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd -v 0.20.5'\'' '\'';'\'' '\''sudo npm install --no-color --global gulp-cli'\'' '\'';'\'' '\''npm install --no-color'\'' '\'';'\'' '\''gulp'\'' '\'';'\'' '\''pdd -f /dev/null -v'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:yegor256/colorizejs.git'\''' ';' 'export '\''pull_id=76'\''' ';' 'export '\''fork=git@github.com:yegor256/colorizejs.git'\''' ';' 'export '\''fork_branch=renovate/jsdom-26.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency jsdom to v26'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd -v 0.20.5' ';' 'sudo npm install --no-color --global gulp-cli' ';' 'npm install --no-color' ';' 'gulp' ';' 'pdd -f /dev/null -v' ';') + container=yegor256_colorizejs_76 + as_root=false + hostname ip-172-31-22-203 + pwd /tmp/rultor-NvFQ + git --version git version 2.34.1 + docker --version Docker version 25.0.3, build 4debf41 + mkdir -p /home/ubuntu/.ssh + echo -e 'Host github.com\n\tStrictHostKeyChecking no\n' + chmod 600 /home/ubuntu/.ssh/config + git clone git@github.com:yegor256/colorizejs.git repo Cloning into 'repo'... Warning: Permanently added 'github.com' (ED25519) to the list of known hosts. + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'export '\''head=git@github.com:yegor256/colorizejs.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/colorizejs.git'\''' ';' 'export '\''pull_id=76'\''' ';' 'export '\''fork=git@github.com:yegor256/colorizejs.git'\''' ';' 'export '\''fork_branch=renovate/jsdom-26.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency jsdom to v26'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd -v 0.20.5' ';' 'sudo npm install --no-color --global gulp-cli' ';' 'npm install --no-color' ';' gulp ';' 'pdd -f /dev/null -v' ';' + sensitive=() + rm -rf .gnupg + set -ex + cd repo + git remote add fork git@github.com:yegor256/colorizejs.git + git remote update Fetching origin Fetching fork From github.com:yegor256/colorizejs * [new branch] dependabot/npm_and_yarn/multi-a9f852c250 -> fork/dependabot/npm_and_yarn/multi-a9f852c250 * [new branch] dependabot/npm_and_yarn/ws-8.17.1 -> fork/dependabot/npm_and_yarn/ws-8.17.1 * [new branch] gh-pages -> fork/gh-pages * [new branch] master -> fork/master * [new branch] renovate/del-8.x -> fork/renovate/del-8.x * [new branch] renovate/gulp-5.x -> fork/renovate/gulp-5.x * [new branch] renovate/gulp-notify-5.x -> fork/renovate/gulp-notify-5.x * [new branch] renovate/jsdom-24.x-lockfile -> fork/renovate/jsdom-24.x-lockfile * [new branch] renovate/jsdom-26.x -> fork/renovate/jsdom-26.x + args= + '[' default == default ']' + args=' --ff' + '[' default == no ']' + '[' default == only ']' + export BRANCH=__rultor + BRANCH=__rultor ++ wc -l ++ git show-branch __rultor + '[' 0 -gt 0 ']' + git status On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean + git checkout -B __rultor fork/renovate/jsdom-26.x Switched to a new branch '__rultor' Branch '__rultor' set up to track remote branch 'renovate/jsdom-26.x' from 'fork'. + git checkout -B master origin/master Switched to and reset branch 'master' Branch 'master' set up to track remote branch 'master' from 'origin'. Your branch is up to date with 'origin/master'. + '[' false == true ']' + '[' false == true ']' + git merge --ff __rultor Updating 928d8cc..6957b77 Fast-forward package-lock.json | 332 +++++++++++++++++++++++++++++++++++------------------- package.json | 2 +- 2 files changed, 220 insertions(+), 114 deletions(-) + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.14 ++ bc ++ echo 0.14 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.14, low enough to run a new Docker container' load average is 0.14, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image + docker pull yegor256/rultor-image Using default tag: latest latest: Pulling from yegor256/rultor-image 857cc8cb19c0: Pulling fs layer 4f4fb700ef54: Pulling fs layer 8783823973c4: Pulling fs layer c22aa22afa44: Pulling fs layer 207697e018d3: Pulling fs layer 5a60217edb64: Pulling fs layer 245b4fc77e28: Pulling fs layer 6894af71a268: Pulling fs layer f651c80aea43: Pulling fs layer 746e54e2ea6d: Pulling fs layer 599b214498d5: Pulling fs layer 0e59e9bbdc3c: Pulling fs layer c7a34161da3f: Pulling fs layer 98075c7bdbbb: Pulling fs layer 47d99c997835: Pulling fs layer dcfd2977b9b2: Pulling fs layer 76f62806eb09: Pulling fs layer 8322f2cb42b6: Pulling fs layer 4c82535d0e68: Pulling fs layer 3b062c85a66a: Pulling fs layer 85b1ad282319: Pulling fs layer 6b4ef729ea17: Pulling fs layer 5a13d5c74237: Pulling fs layer 52ac0f2b8851: Pulling fs layer b5a92c292abb: Pulling fs layer 15064afb6c65: Pulling fs layer 6f92410af243: Pulling fs layer c22aa22afa44: Waiting 207697e018d3: Waiting 5a60217edb64: Waiting 245b4fc77e28: Waiting 6894af71a268: Waiting f651c80aea43: Waiting 746e54e2ea6d: Waiting 599b214498d5: Waiting 0e59e9bbdc3c: Waiting c7a34161da3f: Waiting 98075c7bdbbb: Waiting 47d99c997835: Waiting dcfd2977b9b2: Waiting 76f62806eb09: Waiting 8322f2cb42b6: Waiting 4c82535d0e68: Waiting 3b062c85a66a: Waiting 85b1ad282319: Waiting 6b4ef729ea17: Waiting 5a13d5c74237: Waiting 52ac0f2b8851: Waiting b5a92c292abb: Waiting 15064afb6c65: Waiting 6f92410af243: Waiting 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete 8783823973c4: Verifying Checksum 8783823973c4: Download complete 857cc8cb19c0: Verifying Checksum 857cc8cb19c0: Download complete c22aa22afa44: Verifying Checksum c22aa22afa44: Download complete 245b4fc77e28: Verifying Checksum 245b4fc77e28: Download complete 6894af71a268: Verifying Checksum 6894af71a268: Download complete f651c80aea43: Verifying Checksum f651c80aea43: Download complete 746e54e2ea6d: Verifying Checksum 746e54e2ea6d: Download complete 599b214498d5: Verifying Checksum 599b214498d5: Download complete 207697e018d3: Verifying Checksum 207697e018d3: Download complete c7a34161da3f: Verifying Checksum c7a34161da3f: Download complete 857cc8cb19c0: Pull complete 4f4fb700ef54: Pull complete 8783823973c4: Pull complete 0e59e9bbdc3c: Verifying Checksum 0e59e9bbdc3c: Download complete c22aa22afa44: Pull complete 98075c7bdbbb: Verifying Checksum 98075c7bdbbb: Download complete dcfd2977b9b2: Verifying Checksum dcfd2977b9b2: Download complete 76f62806eb09: Verifying Checksum 76f62806eb09: Download complete 8322f2cb42b6: Verifying Checksum 8322f2cb42b6: Download complete 4c82535d0e68: Verifying Checksum 4c82535d0e68: Download complete 3b062c85a66a: Verifying Checksum 3b062c85a66a: Download complete 85b1ad282319: Verifying Checksum 85b1ad282319: Download complete 6b4ef729ea17: Verifying Checksum 6b4ef729ea17: Download complete 5a13d5c74237: Verifying Checksum 5a13d5c74237: Download complete 52ac0f2b8851: Verifying Checksum 52ac0f2b8851: Download complete b5a92c292abb: Verifying Checksum b5a92c292abb: Download complete 15064afb6c65: Verifying Checksum 15064afb6c65: Download complete 6f92410af243: Verifying Checksum 6f92410af243: Download complete 5a60217edb64: Verifying Checksum 5a60217edb64: Download complete 47d99c997835: Verifying Checksum 47d99c997835: Download complete 207697e018d3: Pull complete 5a60217edb64: Pull complete 245b4fc77e28: Pull complete 6894af71a268: Pull complete f651c80aea43: Pull complete 746e54e2ea6d: Pull complete 599b214498d5: Pull complete 0e59e9bbdc3c: Pull complete c7a34161da3f: Pull complete 98075c7bdbbb: Pull complete 47d99c997835: Pull complete dcfd2977b9b2: Pull complete 76f62806eb09: Pull complete 8322f2cb42b6: Pull complete 4c82535d0e68: Pull complete 3b062c85a66a: Pull complete 85b1ad282319: Pull complete 6b4ef729ea17: Pull complete 5a13d5c74237: Pull complete 52ac0f2b8851: Pull complete b5a92c292abb: Pull complete 15064afb6c65: Pull complete 6f92410af243: Pull complete Digest: sha256:475fab4dcc70d18f220993c5823e775e5b75ed15aec69fc1959de4e71ea8a87d Status: Downloaded newer image for yegor256/rultor-image:latest docker.io/yegor256/rultor-image:latest + docker ps --filter=status=exited + grep --quiet '\syegor256_colorizejs_76\s*$' + ls -al . total 56 drwx------ 3 ubuntu ubuntu 4096 Jan 9 09:29 . drwxrwxrwt 12 root root 4096 Jan 9 09:29 .. -rwxrwxr-x 1 ubuntu ubuntu 2090 Jan 9 09:33 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 Jan 9 09:29 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 74 Jan 9 09:29 npmrc -rw-rw-r-- 1 ubuntu ubuntu 5 Jan 9 09:29 pid drwxrwxr-x 5 ubuntu ubuntu 4096 Jan 9 09:30 repo -rwxrwxr-x 1 ubuntu ubuntu 9348 Jan 9 09:29 run.sh -rw-rw-r-- 1 ubuntu ubuntu 624 Jan 9 09:29 script.sh -rw-rw-r-- 1 ubuntu ubuntu 9891 Jan 9 09:34 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-NvFQ:/main --env=head=git@github.com:yegor256/colorizejs.git --env=pull_id=76 --env=fork=git@github.com:yegor256/colorizejs.git --env=fork_branch=renovate/jsdom-26.x --env=head_branch=master '--env=pull_title=Update dependency jsdom to v26' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/colorizejs.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=76'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/colorizejs.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/jsdom-26.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency jsdom to v26'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd -v 0.20.5'\'' '\'';'\'' '\''sudo npm install --no-color --global gulp-cli'\'' '\'';'\'' '\''npm install --no-color'\'' '\'';'\'' '\''gulp'\'' '\'';'\'' '\''pdd -f /dev/null -v'\'' '\'';'\'' )' --hostname=docker --privileged --net=host --dns 8.8.8.8 --add-host docker:127.0.0.1 --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-NvFQ/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_colorizejs_76 yegor256/rultor-image /main/entry.sh WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded. Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r ++ awk -F : '$3 > 100 { print $1 }' ++ cat /etc/group + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G nogroup r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G systemd-journal r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G systemd-network r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G systemd-resolve r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G messagebus r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G _ssh r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G rvm r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G ssl-cert r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G postgres r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G r r + usermod -s /bin/bash r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.cargo /root/.config /root/.gem /root/.gemrc /root/.launchpadlib /root/.m2 /root/.profile /root/.rustup /root/.rvmrc /root/texmf /home/r + cp -R ./cid ./end.sh ./entry.sh ./npmrc ./pid ./repo ./run.sh ./script.sh ./stdout /home/r + rm -rf repo + chown -R r:r /home/r + chmod a+x /home/r/script.sh + cat /home/r/script.sh #!/bin/bash set -e set -o pipefail if [ -e /home/r/.profile ]; then source /home/r/.profile; fi shopt -s expand_aliases alias 'sudo=sudo -i' export HOME=/home/r cd "${HOME}/repo" export 'head=git@github.com:yegor256/colorizejs.git' ; export 'pull_id=76' ; export 'fork=git@github.com:yegor256/colorizejs.git' ; export 'fork_branch=renovate/jsdom-26.x' ; export 'head_branch=master' ; export 'pull_title=Update dependency jsdom to v26' ; export 'author=yegor256' ; sudo apt-get -y update ; sudo gem install pdd -v 0.20.5 ; sudo npm install --no-color --global gulp-cli ; npm install --no-color ; gulp ; pdd -f /dev/null -v ; + su --login r --command /home/r/script.sh Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Get:1ohttp://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] Get:2ahttps://deb.nodesource.com/node_18.x.nodistrodInReleasee[12.15kB]5.190.80 Hit:3ahttp://archive.ubuntu.com/ubuntu jammyaInReleasentent.net (185.125.190.80 Get:4ahttp://archive.ubuntu.com/ubuntu jammy-updatescInReleaset[1285kB]5.190.80 Get:5 http://security.ubuntu.com/ubuntuijammy-security/main amd64 Packages [2,560 kB] Get:6 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntuWjammygInReleasee[18.1 kB] Get:7 http://security.ubuntu.com/ubuntu9jammy-security/universetamd64oPackagess[1,226 kB] Get:8 https://deb.nodesource.com/node_18.x nodistro/main]amd64aPackages9[10.71kB] Get:9 http://security.ubuntu.com/ubuntuhjammy-security/multiverseeamd64hPackages [45.2 kB] Get:10Phttp://security.ubuntu.com/ubuntuejammy-security/restrictedramd640Packages [3,526 kB] Get:11Phttps://ppa.launchpadcontent.net/git-core/ppa/ubuntusjammy3InRelease%[24.6 kB] Get:12Phttp://archive.ubuntu.com/ubuntuhjammy-backportskInRelease2[1273kB]6 kB Get:13Phttps://ppa.launchpadcontent.net/ondrej/php/ubuntu%jammyiInReleaseh[24.6 kB] Get:14ihttps://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu1jammy/maineamd64 Packages [32.9 kB] Get:15ihttp://archive.ubuntu.com/ubuntu6jammy-updates/restricted amd64 Packages [3,663 kB] Get:16 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy/main amd64 Packages [2,962 B] Get:17 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 Packages [229 kB] Get:185http://archive.ubuntu.com/ubuntusjammy-updates/multiverseBamd64 Packages [53.3 kB] Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,517 kB] Get:205http://archive.ubuntu.com/ubuntusjammy-updates/main]amd647Packagess[2,859 kB] Get:215http://archive.ubuntu.com/ubuntusjammy-backports/universecamd64 Packages [33.8 kB] Get:225http://archive.ubuntu.com/ubuntusjammy-backports/main amd64 Packages [81.4 kB] Fetchedo16.3gMBeins2sr(7,254[kB/s)ckages 0 B/81.4 kB 0%] Reading package lists... Done Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Fetching slop-4.6.1.gem Fetching pdd-0.20.5.gem Fetching mini_portile2-2.4.0.gem Fetching nokogiri-1.10.3.gem Successfully installed slop-4.6.1 Successfully installed mini_portile2-2.4.0 Building native extensions. This could take a while... ERROR: Error installing pdd: ERROR: Failed to build gem native extension. current directory: /usr/local/rvm/gems/ruby-3.2.2/gems/nokogiri-1.10.3/ext/nokogiri /usr/local/rvm/rubies/ruby-3.2.2/bin/ruby extconf.rb checking if the C compiler accepts ... no Building nokogiri using packaged libraries. Using mini_portile version 2.4.0 checking for gzdopen() in -lz... yes checking for iconv... yes ************************************************************************ IMPORTANT NOTICE: Building Nokogiri with a packaged version of libxml2-2.9.9 with the following patches applied: - 0001-Revert-Do-not-URI-escape-in-server-side-includes.patch - 0002-Remove-script-macro-support.patch - 0003-Update-entities-to-remove-handling-of-ssi.patch Team Nokogiri will keep on doing their best to provide security updates in a timely manner, but if this is a concern for you and want to use the system library instead; abort this installation process and reinstall nokogiri as follows: gem install nokogiri -- --use-system-libraries [--with-xml2-config=/path/to/xml2-config] [--with-xslt-config=/path/to/xslt-config] If you are using Bundler, tell it to use the option: bundle config build.nokogiri --use-system-libraries bundle install Note, however, that nokogiri is not fully compatible with arbitrary versions of libxml2 provided by OS/package vendors. ************************************************************************ Extracting libxml2-2.9.9.tar.gz into tmp/x86_64-pc-linux/ports/libxml2/2.9.9... OK Running git apply with /usr/local/rvm/gems/ruby-3.2.2/gems/nokogiri-1.10.3/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch... OK Running git apply with /usr/local/rvm/gems/ruby-3.2.2/gems/nokogiri-1.10.3/patches/libxml2/0002-Remove-script-macro-support.patch... OK Running git apply with /usr/local/rvm/gems/ruby-3.2.2/gems/nokogiri-1.10.3/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch... OK Running 'configure' for libxml2 2.9.9... OK Running 'compile' for libxml2 2.9.9... OK Running 'install' for libxml2 2.9.9... OK Activating libxml2 2.9.9 (from /usr/local/rvm/gems/ruby-3.2.2/gems/nokogiri-1.10.3/ports/x86_64-pc-linux/libxml2/2.9.9)... ************************************************************************ IMPORTANT NOTICE: Building Nokogiri with a packaged version of libxslt-1.1.33 with the following patches applied: - 0001-Fix-security-framework-bypass.patch Team Nokogiri will keep on doing their best to provide security updates in a timely manner, but if this is a concern for you and want to use the system library instead; abort this installation process and reinstall nokogiri as follows: gem install nokogiri -- --use-system-libraries [--with-xml2-config=/path/to/xml2-config] [--with-xslt-config=/path/to/xslt-config] If you are using Bundler, tell it to use the option: bundle config build.nokogiri --use-system-libraries bundle install ************************************************************************ Extracting libxslt-1.1.33.tar.gz into tmp/x86_64-pc-linux/ports/libxslt/1.1.33... OK Running git apply with /usr/local/rvm/gems/ruby-3.2.2/gems/nokogiri-1.10.3/patches/libxslt/0001-Fix-security-framework-bypass.patch... OK Running 'configure' for libxslt 1.1.33... OK Running 'compile' for libxslt 1.1.33... OK Running 'install' for libxslt 1.1.33... OK Activating libxslt 1.1.33 (from /usr/local/rvm/gems/ruby-3.2.2/gems/nokogiri-1.10.3/ports/x86_64-pc-linux/libxslt/1.1.33)... checking for -llzma... no checking for xmlParseDoc() in libxml/parser.h... yes checking for xsltParseStylesheetDoc() in libxslt/xslt.h... yes checking for exsltFuncRegister() in libexslt/exslt.h... yes checking for xmlHasFeature()... yes checking for xmlFirstElementChild()... yes checking for xmlRelaxNGSetParserStructuredErrors()... yes checking for xmlRelaxNGSetParserStructuredErrors()... yes checking for xmlRelaxNGSetValidStructuredErrors()... yes checking for xmlSchemaSetValidStructuredErrors()... yes checking for xmlSchemaSetParserStructuredErrors()... yes creating Makefile current directory: /usr/local/rvm/gems/ruby-3.2.2/gems/nokogiri-1.10.3/ext/nokogiri make DESTDIR\= sitearchdir\=./.gem.20250109-1960-m2kyun sitelibdir\=./.gem.20250109-1960-m2kyun clean current directory: /usr/local/rvm/gems/ruby-3.2.2/gems/nokogiri-1.10.3/ext/nokogiri make DESTDIR\= sitearchdir\=./.gem.20250109-1960-m2kyun sitelibdir\=./.gem.20250109-1960-m2kyun compiling html_document.c In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/assume.h:29, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/backward/2/assume.h:24, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/defines.h:72, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:25, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./html_document.h:4, from html_document.c:1: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h: In function ‘RARRAY_PTR’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h:551:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 551 | return RBIMPL_CAST((VALUE *)RARRAY_CONST_PTR(tmp)); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h: In function ‘rb_enc_step_back’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h:749:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 749 | return RBIMPL_CAST((char *)ur); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h: In function ‘rb_enc_is_newline’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:45:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 45 | OnigUChar *up = RBIMPL_CAST((OnigUChar *)p); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:46:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 46 | OnigUChar *ue = RBIMPL_CAST((OnigUChar *)e); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:47, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./html_document.h:4, from html_document.c:1: html_document.c: In function ‘new’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:375:62: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 375 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:498:9: note: in expansion of macro ‘rb_scan_args0’ 498 | rb_scan_args0( \ | ^~~~~~~~~~~~~ html_document.c:16:3: note: in expansion of macro ‘rb_scan_args’ 16 | rb_scan_args(argc, argv, "0*", &rest); | ^~~~~~~~~~~~ html_document.c: In function ‘init_html_document’: html_document.c:152:6: warning: old-style function definition [-Wold-style-definition] 152 | void init_html_document() | ^~~~~~~~~~~~~~~~~~ html_document.c: At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics compiling html_element_description.c In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/assume.h:29, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/backward/2/assume.h:24, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/defines.h:72, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:25, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./html_element_description.h:4, from html_element_description.c:1: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h: In function ‘RARRAY_PTR’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h:551:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 551 | return RBIMPL_CAST((VALUE *)RARRAY_CONST_PTR(tmp)); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h: In function ‘rb_enc_step_back’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h:749:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 749 | return RBIMPL_CAST((char *)ur); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h: In function ‘rb_enc_is_newline’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:45:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 45 | OnigUChar *up = RBIMPL_CAST((OnigUChar *)p); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:46:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 46 | OnigUChar *ue = RBIMPL_CAST((OnigUChar *)e); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ html_element_description.c: In function ‘init_html_element_description’: html_element_description.c:256:6: warning: old-style function definition [-Wold-style-definition] 256 | void init_html_element_description() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_element_description.c: At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics compiling html_entity_lookup.c In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/assume.h:29, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/backward/2/assume.h:24, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/defines.h:72, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:25, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./html_entity_lookup.h:4, from html_entity_lookup.c:1: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h: In function ‘RARRAY_PTR’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h:551:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 551 | return RBIMPL_CAST((VALUE *)RARRAY_CONST_PTR(tmp)); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h: In function ‘rb_enc_step_back’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h:749:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 749 | return RBIMPL_CAST((char *)ur); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h: In function ‘rb_enc_is_newline’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:45:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 45 | OnigUChar *up = RBIMPL_CAST((OnigUChar *)p); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:46:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 46 | OnigUChar *ue = RBIMPL_CAST((OnigUChar *)e); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ html_entity_lookup.c: In function ‘init_html_entity_lookup’: html_entity_lookup.c:25:6: warning: old-style function definition [-Wold-style-definition] 25 | void init_html_entity_lookup() | ^~~~~~~~~~~~~~~~~~~~~~~ html_entity_lookup.c: At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics compiling html_sax_parser_context.c In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/assume.h:29, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/backward/2/assume.h:24, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/defines.h:72, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:25, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./html_sax_parser_context.h:4, from html_sax_parser_context.c:1: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h: In function ‘RARRAY_PTR’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h:551:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 551 | return RBIMPL_CAST((VALUE *)RARRAY_CONST_PTR(tmp)); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h: In function ‘rb_enc_step_back’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h:749:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 749 | return RBIMPL_CAST((char *)ur); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h: In function ‘rb_enc_is_newline’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:45:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 45 | OnigUChar *up = RBIMPL_CAST((OnigUChar *)p); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:46:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 46 | OnigUChar *ue = RBIMPL_CAST((OnigUChar *)e); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ html_sax_parser_context.c: In function ‘init_html_sax_parser_context’: html_sax_parser_context.c:100:6: warning: old-style function definition [-Wold-style-definition] 100 | void init_html_sax_parser_context() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_sax_parser_context.c: At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics compiling html_sax_push_parser.c In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/assume.h:29, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/backward/2/assume.h:24, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/defines.h:72, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:25, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./html_sax_push_parser.h:4, from html_sax_push_parser.c:1: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h: In function ‘RARRAY_PTR’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h:551:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 551 | return RBIMPL_CAST((VALUE *)RARRAY_CONST_PTR(tmp)); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h: In function ‘rb_enc_step_back’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h:749:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 749 | return RBIMPL_CAST((char *)ur); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h: In function ‘rb_enc_is_newline’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:45:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 45 | OnigUChar *up = RBIMPL_CAST((OnigUChar *)p); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:46:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 46 | OnigUChar *ue = RBIMPL_CAST((OnigUChar *)e); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ html_sax_push_parser.c: In function ‘init_html_sax_push_parser’: html_sax_push_parser.c:76:6: warning: old-style function definition [-Wold-style-definition] 76 | void init_html_sax_push_parser() | ^~~~~~~~~~~~~~~~~~~~~~~~~ html_sax_push_parser.c: At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics compiling nokogiri.c In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/assume.h:29, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/backward/2/assume.h:24, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/defines.h:72, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:25, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from nokogiri.c:1: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h: In function ‘RARRAY_PTR’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h:551:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 551 | return RBIMPL_CAST((VALUE *)RARRAY_CONST_PTR(tmp)); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h: In function ‘rb_enc_step_back’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h:749:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 749 | return RBIMPL_CAST((char *)ur); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h: In function ‘rb_enc_is_newline’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:45:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 45 | OnigUChar *up = RBIMPL_CAST((OnigUChar *)p); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:46:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 46 | OnigUChar *ue = RBIMPL_CAST((OnigUChar *)e); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ nokogiri.c: In function ‘Init_nokogiri’: nokogiri.c:62:6: warning: old-style function definition [-Wold-style-definition] 62 | void Init_nokogiri() | ^~~~~~~~~~~~~ nokogiri.c: At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics compiling xml_attr.c In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/assume.h:29, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/backward/2/assume.h:24, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/defines.h:72, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:25, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./xml_attr.h:4, from xml_attr.c:1: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h: In function ‘RARRAY_PTR’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h:551:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 551 | return RBIMPL_CAST((VALUE *)RARRAY_CONST_PTR(tmp)); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h: In function ‘rb_enc_step_back’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h:749:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 749 | return RBIMPL_CAST((char *)ur); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h: In function ‘rb_enc_is_newline’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:45:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 45 | OnigUChar *up = RBIMPL_CAST((OnigUChar *)p); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:46:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 46 | OnigUChar *ue = RBIMPL_CAST((OnigUChar *)e); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:47, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./xml_attr.h:4, from xml_attr.c:1: xml_attr.c: In function ‘new’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:375:62: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 375 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:498:9: note: in expansion of macro ‘rb_scan_args0’ 498 | rb_scan_args0( \ | ^~~~~~~~~~~~~ xml_attr.c:61:3: note: in expansion of macro ‘rb_scan_args’ 61 | rb_scan_args(argc, argv, "2*", &document, &name, &rest); | ^~~~~~~~~~~~ xml_attr.c: In function ‘init_xml_attr’: xml_attr.c:88:6: warning: old-style function definition [-Wold-style-definition] 88 | void init_xml_attr() | ^~~~~~~~~~~~~ xml_attr.c: At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics compiling xml_attribute_decl.c In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/assume.h:29, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/backward/2/assume.h:24, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/defines.h:72, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:25, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./xml_attribute_decl.h:4, from xml_attribute_decl.c:1: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h: In function ‘RARRAY_PTR’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h:551:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 551 | return RBIMPL_CAST((VALUE *)RARRAY_CONST_PTR(tmp)); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h: In function ‘rb_enc_step_back’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h:749:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 749 | return RBIMPL_CAST((char *)ur); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h: In function ‘rb_enc_is_newline’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:45:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 45 | OnigUChar *up = RBIMPL_CAST((OnigUChar *)p); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:46:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 46 | OnigUChar *ue = RBIMPL_CAST((OnigUChar *)e); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ xml_attribute_decl.c: In function ‘init_xml_attribute_decl’: xml_attribute_decl.c:58:6: warning: old-style function definition [-Wold-style-definition] 58 | void init_xml_attribute_decl() | ^~~~~~~~~~~~~~~~~~~~~~~ xml_attribute_decl.c: At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics compiling xml_cdata.c In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/assume.h:29, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/backward/2/assume.h:24, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/defines.h:72, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:25, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./xml_cdata.h:4, from xml_cdata.c:1: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h: In function ‘RARRAY_PTR’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h:551:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 551 | return RBIMPL_CAST((VALUE *)RARRAY_CONST_PTR(tmp)); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h: In function ‘rb_enc_step_back’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h:749:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 749 | return RBIMPL_CAST((char *)ur); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h: In function ‘rb_enc_is_newline’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:45:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 45 | OnigUChar *up = RBIMPL_CAST((OnigUChar *)p); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:46:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 46 | OnigUChar *ue = RBIMPL_CAST((OnigUChar *)e); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:47, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./xml_cdata.h:4, from xml_cdata.c:1: xml_cdata.c: In function ‘new’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:375:62: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 375 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:498:9: note: in expansion of macro ‘rb_scan_args0’ 498 | rb_scan_args0( \ | ^~~~~~~~~~~~~ xml_cdata.c:23:3: note: in expansion of macro ‘rb_scan_args’ 23 | rb_scan_args(argc, argv, "2*", &doc, &content, &rest); | ^~~~~~~~~~~~ xml_cdata.c: In function ‘init_xml_cdata’: xml_cdata.c:45:6: warning: old-style function definition [-Wold-style-definition] 45 | void init_xml_cdata() | ^~~~~~~~~~~~~~ xml_cdata.c: At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics compiling xml_comment.c In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/assume.h:29, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/backward/2/assume.h:24, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/defines.h:72, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:25, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./xml_comment.h:4, from xml_comment.c:1: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h: In function ‘RARRAY_PTR’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h:551:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 551 | return RBIMPL_CAST((VALUE *)RARRAY_CONST_PTR(tmp)); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h: In function ‘rb_enc_step_back’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h:749:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 749 | return RBIMPL_CAST((char *)ur); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h: In function ‘rb_enc_is_newline’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:45:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 45 | OnigUChar *up = RBIMPL_CAST((OnigUChar *)p); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:46:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 46 | OnigUChar *ue = RBIMPL_CAST((OnigUChar *)e); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:47, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./xml_comment.h:4, from xml_comment.c:1: xml_comment.c: In function ‘new’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:375:62: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 375 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:498:9: note: in expansion of macro ‘rb_scan_args0’ 498 | rb_scan_args0( \ | ^~~~~~~~~~~~~ xml_comment.c:21:3: note: in expansion of macro ‘rb_scan_args’ 21 | rb_scan_args(argc, argv, "2*", &document, &content, &rest); | ^~~~~~~~~~~~ xml_comment.c: In function ‘init_xml_comment’: xml_comment.c:51:6: warning: old-style function definition [-Wold-style-definition] 51 | void init_xml_comment() | ^~~~~~~~~~~~~~~~ xml_comment.c: At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics compiling xml_document.c In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/assume.h:29, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/backward/2/assume.h:24, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/defines.h:72, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:25, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./xml_document.h:4, from xml_document.c:1: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h: In function ‘RARRAY_PTR’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/core/rarray.h:551:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 551 | return RBIMPL_CAST((VALUE *)RARRAY_CONST_PTR(tmp)); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h: In function ‘rb_enc_step_back’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/encoding.h:749:24: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 749 | return RBIMPL_CAST((char *)ur); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h: In function ‘rb_enc_is_newline’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:45:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 45 | OnigUChar *up = RBIMPL_CAST((OnigUChar *)p); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/encoding/ctype.h:46:33: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 46 | OnigUChar *ue = RBIMPL_CAST((OnigUChar *)e); | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 31 | # define RBIMPL_CAST(expr) (expr) | ^~~~ xml_document.c: In function ‘dealloc’: xml_document.c:49:25: warning: passing argument 2 of ‘rb_st_foreach’ from incompatible pointer type [-Wincompatible-pointer-types] 49 | st_foreach(node_hash, dealloc_node_i, (st_data_t)doc); | ^~~~~~~~~~~~~~ | | | int (*)(xmlNode *, xmlNode *, xmlDoc *) {aka int (*)(struct _xmlNode *, struct _xmlNode *, struct _xmlDoc *)} In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/st_data_t.h:31, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:37, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:28, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./xml_document.h:4, from xml_document.c:1: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/st.h:141:31: note: expected ‘int (*)(st_data_t, st_data_t, st_data_t)’ {aka ‘int (*)(long unsigned int, long unsigned int, long unsigned int)’} but argument is of type ‘int (*)(xmlNode *, xmlNode *, xmlDoc *)’ {aka ‘int (*)(struct _xmlNode *, struct _xmlNode *, struct _xmlDoc *)’} 141 | int rb_st_foreach(st_table *, st_foreach_callback_func *, st_data_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:47, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./xml_document.h:4, from xml_document.c:1: xml_document.c: In function ‘duplicate_document’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:375:62: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 375 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:498:9: note: in expansion of macro ‘rb_scan_args0’ 498 | rb_scan_args0( \ | ^~~~~~~~~~~~~ xml_document.c:330:6: note: in expansion of macro ‘rb_scan_args’ 330 | if(rb_scan_args(argc, argv, "01", &level) == 0) | ^~~~~~~~~~~~ xml_document.c: In function ‘new’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:375:62: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 375 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:498:9: note: in expansion of macro ‘rb_scan_args0’ 498 | rb_scan_args0( \ | ^~~~~~~~~~~~~ xml_document.c:357:3: note: in expansion of macro ‘rb_scan_args’ 357 | rb_scan_args(argc, argv, "0*", &rest); | ^~~~~~~~~~~~ xml_document.c: In function ‘create_entity’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:375:62: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 375 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:498:9: note: in expansion of macro ‘rb_scan_args0’ 498 | rb_scan_args0( \ | ^~~~~~~~~~~~~ xml_document.c:436:3: note: in expansion of macro ‘rb_scan_args’ 436 | rb_scan_args(argc, argv, "14", &name, &type, &external_id, &system_id, | ^~~~~~~~~~~~ xml_document.c: At top level: xml_document.c:495:14: error: conflicting types for ‘canonicalize’; have ‘VALUE(int, VALUE *, VALUE)’ {aka ‘long unsigned int(int, long unsigned int *, long unsigned int)’} 495 | static VALUE canonicalize(int argc, VALUE* argv, VALUE self) | ^~~~~~~~~~~~ In file included from /usr/include/features.h:486, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from ./nokogiri.h:4, from ./xml_document.h:4, from xml_document.c:1: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:370:1: note: previous declaration of ‘canonicalize’ with type ‘int(double *, const double *)’ 370 | __MATHDECL_1 (int, canonicalize,, (_Mdouble_ *__cx, const _Mdouble_ *__x)); | ^~~~~~~~~~~~ In file included from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/ruby.h:47, from /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby.h:38, from ./nokogiri.h:33, from ./xml_document.h:4, from xml_document.c:1: xml_document.c: In function ‘canonicalize’: /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:375:62: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 375 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /usr/local/rvm/rubies/ruby-3.2.2/include/ruby-3.2.0/ruby/internal/scan_args.h:498:9: note: in expansion of macro ‘rb_scan_args0’ 498 | rb_scan_args0( \ | ^~~~~~~~~~~~~ xml_document.c:511:3: note: in expansion of macro ‘rb_scan_args’ 511 | rb_scan_args(argc, argv, "03", &mode, &incl_ns, &with_comments); | ^~~~~~~~~~~~ xml_document.c: In function ‘init_xml_document’: xml_document.c:554:6: warning: old-style function definition [-Wold-style-definition] 554 | void init_xml_document() | ^~~~~~~~~~~~~~~~~ xml_document.c: At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics make: *** [Makefile:248: xml_document.o] Error 1 make failed, exit code 2 Gem files will remain installed in /usr/local/rvm/gems/ruby-3.2.2/gems/nokogiri-1.10.3 for inspection. Results logged to /usr/local/rvm/gems/ruby-3.2.2/extensions/x86_64-linux/3.2.0/nokogiri-1.10.3/gem_make.out A new release of RubyGems is available: 3.4.10 → 3.6.2! Run `gem update --system 3.6.2` to update your installation. container 48ed6cec5ad318fd37091e0de15e8bbe8cb6b3f2cb363a649da59806b6b3bc44 is dead Thu Jan 9 09:36:32 UTC 2025