+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1352 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Fri Feb 21 08:31:50 UTC 2025 + uptime 08:31:50 up 1 min, 0 users, load average: 1.11, 0.33, 0.12 + ff=default + image=yegor256/rultor-image + rebase=false + head_branch=master + pull_title='Update dependency cucumber to v9' + author=yegor256 + directory= + head=git@github.com:yegor256/est.git + pull_id=24 + fork=git@github.com:yegor256/est.git + fork_branch=renovate/cucumber-9.x + squash=false + vars=('--env=head=git@github.com:yegor256/est.git' '--env=pull_id=24' '--env=fork=git@github.com:yegor256/est.git' '--env=fork_branch=renovate/cucumber-9.x' '--env=head_branch=master' '--env=pull_title=Update dependency cucumber to v9' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/est.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=24'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/est.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/cucumber-9.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency cucumber to v9'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo gem install pdd -v 0.20.5'\'' '\'';'\'' '\''sudo gem install est -v 0.3.4'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:yegor256/est.git'\''' ';' 'export '\''pull_id=24'\''' ';' 'export '\''fork=git@github.com:yegor256/est.git'\''' ';' 'export '\''fork_branch=renovate/cucumber-9.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency cucumber to v9'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo gem install pdd -v 0.20.5' ';' 'sudo gem install est -v 0.3.4' ';') + container=yegor256_est_24 + as_root=false + hostname ip-172-31-19-195 + pwd /tmp/rultor-zIWu + 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/est.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/est.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/est.git'\''' ';' 'export '\''pull_id=24'\''' ';' 'export '\''fork=git@github.com:yegor256/est.git'\''' ';' 'export '\''fork_branch=renovate/cucumber-9.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency cucumber to v9'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo gem install pdd -v 0.20.5' ';' 'sudo gem install est -v 0.3.4' ';' + sensitive=() + rm -rf .gnupg + set -ex + cd repo + git remote add fork git@github.com:yegor256/est.git + git remote update Fetching origin Fetching fork From github.com:yegor256/est * [new branch] master -> fork/master * [new branch] renovate/coveralls-0.x -> fork/renovate/coveralls-0.x * [new branch] renovate/cucumber-2.x -> fork/renovate/cucumber-2.x * [new branch] renovate/cucumber-9.x -> fork/renovate/cucumber-9.x * [new branch] renovate/minitest-5.x -> fork/renovate/minitest-5.x * [new branch] renovate/rubocop-1.x -> fork/renovate/rubocop-1.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/cucumber-9.x Switched to a new branch '__rultor' Branch '__rultor' set up to track remote branch 'renovate/cucumber-9.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 cdf4bb4..f857120 Fast-forward Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.13 ++ bc ++ echo 0.13 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.13, low enough to run a new Docker container' load average is 0.13, 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 9cb31e2e37ea: Pulling fs layer 4f4fb700ef54: Pulling fs layer 9fedd035126b: Pulling fs layer be667976bac1: Pulling fs layer b19809d3ee31: Pulling fs layer 37748e122a76: Pulling fs layer d45e258dde2c: Pulling fs layer 6d741a00a9f9: Pulling fs layer 7a71d1cf0710: Pulling fs layer a4f2eeeef78f: Pulling fs layer 3682105afc70: Pulling fs layer 1bf5f473f9ad: Pulling fs layer 50d677f1de27: Pulling fs layer 98ff6f77b08c: Pulling fs layer ebab05069b9b: Pulling fs layer ec957f114e64: Pulling fs layer 8e526093be27: Pulling fs layer 43a4dc985cde: Pulling fs layer 1600ba9b8b41: Pulling fs layer a1cad19bfe21: Pulling fs layer 621048906543: Pulling fs layer 5922e1fbef0a: Pulling fs layer 068d33bc24ec: Pulling fs layer 7b11b957fd60: Pulling fs layer c0b6c52fd2de: Pulling fs layer 9dab91761412: Pulling fs layer 9a0cb023a1bb: Pulling fs layer be667976bac1: Waiting b19809d3ee31: Waiting 37748e122a76: Waiting d45e258dde2c: Waiting 6d741a00a9f9: Waiting 7a71d1cf0710: Waiting a4f2eeeef78f: Waiting 3682105afc70: Waiting 1bf5f473f9ad: Waiting 50d677f1de27: Waiting 98ff6f77b08c: Waiting ebab05069b9b: Waiting ec957f114e64: Waiting 8e526093be27: Waiting 43a4dc985cde: Waiting 1600ba9b8b41: Waiting a1cad19bfe21: Waiting 621048906543: Waiting 5922e1fbef0a: Waiting 068d33bc24ec: Waiting 7b11b957fd60: Waiting c0b6c52fd2de: Waiting 9dab91761412: Waiting 9a0cb023a1bb: Waiting 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete 9fedd035126b: Verifying Checksum 9fedd035126b: Download complete 9cb31e2e37ea: Verifying Checksum 9cb31e2e37ea: Download complete be667976bac1: Verifying Checksum be667976bac1: Download complete d45e258dde2c: Verifying Checksum d45e258dde2c: Download complete 6d741a00a9f9: Verifying Checksum 6d741a00a9f9: Download complete 7a71d1cf0710: Verifying Checksum 7a71d1cf0710: Download complete a4f2eeeef78f: Verifying Checksum a4f2eeeef78f: Download complete 3682105afc70: Verifying Checksum 3682105afc70: Download complete 9cb31e2e37ea: Pull complete b19809d3ee31: Verifying Checksum b19809d3ee31: Download complete 4f4fb700ef54: Pull complete 9fedd035126b: Pull complete 50d677f1de27: Verifying Checksum 50d677f1de27: Download complete 1bf5f473f9ad: Verifying Checksum 1bf5f473f9ad: Download complete 98ff6f77b08c: Verifying Checksum 98ff6f77b08c: Download complete ec957f114e64: Verifying Checksum ec957f114e64: Download complete 8e526093be27: Verifying Checksum 8e526093be27: Download complete 43a4dc985cde: Verifying Checksum 43a4dc985cde: Download complete 1600ba9b8b41: Verifying Checksum 1600ba9b8b41: Download complete a1cad19bfe21: Verifying Checksum a1cad19bfe21: Download complete 621048906543: Verifying Checksum 621048906543: Download complete 5922e1fbef0a: Verifying Checksum 5922e1fbef0a: Download complete 068d33bc24ec: Verifying Checksum 068d33bc24ec: Download complete 7b11b957fd60: Verifying Checksum 7b11b957fd60: Download complete be667976bac1: Pull complete c0b6c52fd2de: Verifying Checksum c0b6c52fd2de: Download complete 9dab91761412: Verifying Checksum 9dab91761412: Download complete 9a0cb023a1bb: Verifying Checksum 9a0cb023a1bb: Download complete 37748e122a76: Verifying Checksum 37748e122a76: Download complete ebab05069b9b: Verifying Checksum ebab05069b9b: Download complete b19809d3ee31: Pull complete 37748e122a76: Pull complete d45e258dde2c: Pull complete 6d741a00a9f9: Pull complete 7a71d1cf0710: Pull complete a4f2eeeef78f: Pull complete 3682105afc70: Pull complete 1bf5f473f9ad: Pull complete 50d677f1de27: Pull complete 98ff6f77b08c: Pull complete ebab05069b9b: Pull complete ec957f114e64: Pull complete 8e526093be27: Pull complete 43a4dc985cde: Pull complete 1600ba9b8b41: Pull complete a1cad19bfe21: Pull complete 621048906543: Pull complete 5922e1fbef0a: Pull complete 068d33bc24ec: Pull complete 7b11b957fd60: Pull complete c0b6c52fd2de: Pull complete 9dab91761412: Pull complete 9a0cb023a1bb: Pull complete Digest: sha256:1b8a5a6ac8781ae98fffa1d73f3a080693c0758f361ee19b0d59f1d55e927280 Status: Downloaded newer image for yegor256/rultor-image:latest docker.io/yegor256/rultor-image:latest + docker ps --filter=status=exited + grep --quiet '\syegor256_est_24\s*$' + ls -al . total 60 drwx------ 3 ubuntu ubuntu 4096 Feb 21 08:31 . drwxrwxrwt 12 root root 4096 Feb 21 08:37 .. -rwxrwxr-x 1 ubuntu ubuntu 2089 Feb 21 08:36 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 Feb 21 08:31 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 5 Feb 21 08:31 pid drwxrwxr-x 11 ubuntu ubuntu 4096 Feb 21 08:31 repo -rw-rw-r-- 1 ubuntu ubuntu 81 Feb 21 08:31 rubygems.yml -rwxrwxr-x 1 ubuntu ubuntu 9031 Feb 21 08:31 run.sh -rw-rw-r-- 1 ubuntu ubuntu 98 Feb 21 08:31 s3cfg -rw-rw-r-- 1 ubuntu ubuntu 519 Feb 21 08:31 script.sh -rw-rw-r-- 1 ubuntu ubuntu 9039 Feb 21 08:37 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-zIWu:/main --env=head=git@github.com:yegor256/est.git --env=pull_id=24 --env=fork=git@github.com:yegor256/est.git --env=fork_branch=renovate/cucumber-9.x --env=head_branch=master '--env=pull_title=Update dependency cucumber to v9' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/est.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=24'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/est.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/cucumber-9.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency cucumber to v9'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo gem install pdd -v 0.20.5'\'' '\'';'\'' '\''sudo gem install est -v 0.3.4'\'' '\'';'\'' )' --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-zIWu/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_est_24 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 ./pid ./repo ./rubygems.yml ./run.sh ./s3cfg ./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/est.git' ; export 'pull_id=24' ; export 'fork=git@github.com:yegor256/est.git' ; export 'fork_branch=renovate/cucumber-9.x' ; export 'head_branch=master' ; export 'pull_title=Update dependency cucumber to v9' ; export 'author=yegor256' ; sudo gem install pdd -v 0.20.5 ; sudo gem install est -v 0.3.4 ; + 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 Fetching slop-4.6.1.gem Fetching nokogiri-1.10.3.gem Fetching mini_portile2-2.4.0.gem Fetching pdd-0.20.5.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.20250221-1197-eof1ca sitelibdir\=./.gem.20250221-1197-eof1ca clean current directory: /usr/local/rvm/gems/ruby-3.2.2/gems/nokogiri-1.10.3/ext/nokogiri make DESTDIR\= sitearchdir\=./.gem.20250221-1197-eof1ca sitelibdir\=./.gem.20250221-1197-eof1ca 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.5! Run `gem update --system 3.6.5` to update your installation. container 5373e6cc63c6fd3f471f66c7abbf61e677456aef086da19cf7b5ddae12153f1e is dead Fri Feb 21 08:39:32 UTC 2025