+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 2482 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Wed Jun 19 16:42:31 UTC 2024 + uptime 16:42:31 up 11 min, 0 users, load average: 0.16, 0.17, 0.13 + ff=default + image=yegor256/rultor-image + rebase=false + head_branch=master + pull_title='Bump ws from 8.16.0 to 8.17.1' + author=yegor256 + directory= + head=git@github.com:yegor256/colorizejs.git + pull_id=72 + fork=git@github.com:yegor256/colorizejs.git + fork_branch=dependabot/npm_and_yarn/ws-8.17.1 + squash=false + vars=('--env=head=git@github.com:yegor256/colorizejs.git' '--env=pull_id=72' '--env=fork=git@github.com:yegor256/colorizejs.git' '--env=fork_branch=dependabot/npm_and_yarn/ws-8.17.1' '--env=head_branch=master' '--env=pull_title=Bump ws from 8.16.0 to 8.17.1' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/colorizejs.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=72'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/colorizejs.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=dependabot/npm_and_yarn/ws-8.17.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Bump ws from 8.16.0 to 8.17.1'\''\'\'''\'''\'' '\'';'\'' '\''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=72'\''' ';' 'export '\''fork=git@github.com:yegor256/colorizejs.git'\''' ';' 'export '\''fork_branch=dependabot/npm_and_yarn/ws-8.17.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Bump ws from 8.16.0 to 8.17.1'\''' ';' '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_72 + as_root=false + hostname ip-172-31-24-46 + pwd /tmp/rultor-Cx2F + 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=72'\''' ';' 'export '\''fork=git@github.com:yegor256/colorizejs.git'\''' ';' 'export '\''fork_branch=dependabot/npm_and_yarn/ws-8.17.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Bump ws from 8.16.0 to 8.17.1'\''' ';' '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 + 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-7.x -> fork/renovate/del-7.x * [new branch] renovate/gulp-5.x -> fork/renovate/gulp-5.x * [new branch] renovate/jsdom-24.x-lockfile -> fork/renovate/jsdom-24.x-lockfile + 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/dependabot/npm_and_yarn/ws-8.17.1 Switched to a new branch '__rultor' Branch '__rultor' set up to track remote branch 'dependabot/npm_and_yarn/ws-8.17.1' 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..4304a17 Fast-forward package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 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 bccd10f490ab: Pulling fs layer 4f4fb700ef54: Pulling fs layer 3388fa6ed601: Pulling fs layer a12507e52312: Pulling fs layer e23ebcc037b3: Pulling fs layer bb4f039d23e6: Pulling fs layer bff0f5c21f97: Pulling fs layer d9fc8e7722be: Pulling fs layer ad0d8d906737: Pulling fs layer da0965651d17: Pulling fs layer 258028b06422: Pulling fs layer 78ff19bf7482: Pulling fs layer b4f403e87234: Pulling fs layer 27f9babec026: Pulling fs layer edda9c9c491a: Pulling fs layer 8a3be2ae9667: Pulling fs layer 0fb2ad8587f2: Pulling fs layer ad339a44131b: Pulling fs layer 1333140dab36: Pulling fs layer a9b611ac1ac8: Pulling fs layer bc8a8b928d03: Pulling fs layer b082b933f133: Pulling fs layer 16116aa7a2bd: Pulling fs layer ba52c94956f1: Pulling fs layer f3c2f8b0afdd: Pulling fs layer b16e153fbe48: Pulling fs layer 6b8d855570b3: Pulling fs layer a12507e52312: Waiting e23ebcc037b3: Waiting bb4f039d23e6: Waiting bff0f5c21f97: Waiting d9fc8e7722be: Waiting ad0d8d906737: Waiting da0965651d17: Waiting 258028b06422: Waiting 78ff19bf7482: Waiting b4f403e87234: Waiting 27f9babec026: Waiting edda9c9c491a: Waiting 8a3be2ae9667: Waiting 0fb2ad8587f2: Waiting ad339a44131b: Waiting 1333140dab36: Waiting a9b611ac1ac8: Waiting bc8a8b928d03: Waiting b082b933f133: Waiting 16116aa7a2bd: Waiting ba52c94956f1: Waiting f3c2f8b0afdd: Waiting b16e153fbe48: Waiting 6b8d855570b3: Waiting 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete 3388fa6ed601: Verifying Checksum 3388fa6ed601: Download complete bccd10f490ab: Verifying Checksum bccd10f490ab: Download complete a12507e52312: Verifying Checksum a12507e52312: Download complete bff0f5c21f97: Verifying Checksum bff0f5c21f97: Download complete d9fc8e7722be: Verifying Checksum d9fc8e7722be: Download complete ad0d8d906737: Verifying Checksum ad0d8d906737: Download complete da0965651d17: Verifying Checksum da0965651d17: Download complete 258028b06422: Verifying Checksum 258028b06422: Download complete e23ebcc037b3: Verifying Checksum e23ebcc037b3: Download complete b4f403e87234: Verifying Checksum b4f403e87234: Download complete bccd10f490ab: Pull complete 4f4fb700ef54: Pull complete 3388fa6ed601: Pull complete 78ff19bf7482: Verifying Checksum 78ff19bf7482: Download complete 27f9babec026: Verifying Checksum 27f9babec026: Download complete 8a3be2ae9667: Verifying Checksum 8a3be2ae9667: Download complete 0fb2ad8587f2: Verifying Checksum 0fb2ad8587f2: Download complete ad339a44131b: Verifying Checksum ad339a44131b: Download complete 1333140dab36: Verifying Checksum 1333140dab36: Download complete a9b611ac1ac8: Verifying Checksum a9b611ac1ac8: Download complete bc8a8b928d03: Verifying Checksum bc8a8b928d03: Download complete b082b933f133: Verifying Checksum b082b933f133: Download complete 16116aa7a2bd: Verifying Checksum 16116aa7a2bd: Download complete a12507e52312: Pull complete ba52c94956f1: Verifying Checksum ba52c94956f1: Download complete f3c2f8b0afdd: Verifying Checksum f3c2f8b0afdd: Download complete b16e153fbe48: Verifying Checksum b16e153fbe48: Download complete 6b8d855570b3: Verifying Checksum 6b8d855570b3: Download complete bb4f039d23e6: Verifying Checksum bb4f039d23e6: Download complete edda9c9c491a: Download complete e23ebcc037b3: Pull complete bb4f039d23e6: Pull complete bff0f5c21f97: Pull complete d9fc8e7722be: Pull complete ad0d8d906737: Pull complete da0965651d17: Pull complete 258028b06422: Pull complete 78ff19bf7482: Pull complete b4f403e87234: Pull complete 27f9babec026: Pull complete edda9c9c491a: Pull complete 8a3be2ae9667: Pull complete 0fb2ad8587f2: Pull complete ad339a44131b: Pull complete 1333140dab36: Pull complete a9b611ac1ac8: Pull complete bc8a8b928d03: Pull complete b082b933f133: Pull complete 16116aa7a2bd: Pull complete ba52c94956f1: Pull complete f3c2f8b0afdd: Pull complete b16e153fbe48: Pull complete 6b8d855570b3: Pull complete Digest: sha256:54a67f9dafd27aa59e014b2982870d51c742fd7a5885fee19442213819d43dc7 Status: Downloaded newer image for yegor256/rultor-image:latest docker.io/yegor256/rultor-image:latest + grep --quiet '\syegor256_colorizejs_72\s*$' + docker ps --filter=status=exited + ls -al . total 52 drwx------ 3 ubuntu ubuntu 4096 Jun 19 16:42 . drwxrwxrwt 12 root root 4096 Jun 19 16:42 .. -rwxrwxr-x 1 ubuntu ubuntu 556 Jun 19 16:42 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 Jun 19 16:42 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 74 Jun 19 16:42 npmrc -rw-rw-r-- 1 ubuntu ubuntu 5 Jun 19 16:42 pid drwxrwxr-x 5 ubuntu ubuntu 4096 Jun 19 16:42 repo -rwxrwxr-x 1 ubuntu ubuntu 6218 Jun 19 16:42 run.sh -rw-rw-r-- 1 ubuntu ubuntu 637 Jun 19 16:42 script.sh -rw-rw-r-- 1 ubuntu ubuntu 9677 Jun 19 16:47 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-Cx2F:/main --env=head=git@github.com:yegor256/colorizejs.git --env=pull_id=72 --env=fork=git@github.com:yegor256/colorizejs.git --env=fork_branch=dependabot/npm_and_yarn/ws-8.17.1 --env=head_branch=master '--env=pull_title=Bump ws from 8.16.0 to 8.17.1' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/colorizejs.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=72'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/colorizejs.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=dependabot/npm_and_yarn/ws-8.17.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Bump ws from 8.16.0 to 8.17.1'\''\'\'''\'''\'' '\'';'\'' '\''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 --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-Cx2F/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_colorizejs_72 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/.npm /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=72' ; export 'fork=git@github.com:yegor256/colorizejs.git' ; export 'fork_branch=dependabot/npm_and_yarn/ws-8.17.1' ; export 'head_branch=master' ; export 'pull_title=Bump ws from 8.16.0 to 8.17.1' ; 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:2ohttps://deb.nodesource.com/node_18.x1nodistro2InReleasec[12.1tkB]pa.launc Hit:3ahttp://archive.ubuntu.com/ubuntu jammyaInReleasentent.net (185.125.190.80 Get:4ahttp://archive.ubuntu.com/ubuntuhjammy-updatescInReleaset[1285kB]5.190.80 Get:5 http://security.ubuntu.com/ubuntuijammy-security/main amd64 Packages [1,921 kB] Get:6 http://security.ubuntu.com/ubuntu3jammy-security/multiversenamd64aPackages [44.7 kB] Get:7 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2,474 kB] Get:8 https://deb.nodesource.com/node_18.x6nodistro/main%amd64PPackages1[9,085BB] Get:9 http://security.ubuntu.com/ubuntu8jammy-security/universetamd64oPackagess[1,092 kB] Get:10Phttps://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammygInRelease0[18.1 kB] Get:11Phttps://ppa.launchpadcontent.net/git-core/ppa/ubunturjammyeInReleasee[24.6 kB] Get:12Phttp://archive.ubuntu.com/ubuntuhjammy-backportsgInReleasee[1272kB] kB 6 Get:13Phttps://ppa.launchpadcontent.net/ondrej/php/ubuntu]jammytInReleasee[24.6 kB] Get:14rhttps://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 Packages [27.8 kB] Get:15ihttp://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,392 kB] Get:16 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy/main amd64 Packages [2,972 B] Get:175http://archive.ubuntu.com/ubunturjammy-updates/restrictedeamd64]Packages [2,552 kB] Get:185https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/mainnamd64 Packages [208 kB] Get:197http://archive.ubuntu.com/ubuntusjammy-updates/multiverse amd64%Packages [51.8 kB] Get:207http://archive.ubuntu.com/ubuntusjammy-updates/main]amd64kPackages [2,187 kB] Get:217http://archive.ubuntu.com/ubuntusjammy-backports/main8amd64aPackagesk[81.0 kB] Get:22 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [31.8 kB] Fetchedo12.5gMBeins2sr(6,268[kB/s)ckages 31.8 kB/31.8 kB 100%] 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.20240619-1988-f8a6gi sitelibdir\=./.gem.20240619-1988-f8a6gi clean current directory: /usr/local/rvm/gems/ruby-3.2.2/gems/nokogiri-1.10.3/ext/nokogiri make DESTDIR\= sitearchdir\=./.gem.20240619-1988-f8a6gi sitelibdir\=./.gem.20240619-1988-f8a6gi 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.5.13! Run `gem update --system 3.5.13` to update your installation. container ec893a9379d7b650ec086ae25de7e5dc6f62f94a60860ac361eb24b8e2e4d7e9 is dead Wed Jun 19 17:21:12 UTC 2024