Attempt to build MariaDB server on mac OS leads to compilation error:
[ 61%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/lock/lock0lock.cc.o
/Users/shulga/projects/mariadb/server-10.5/storage/innobase/lock/lock0lock.cc:5035:23: error: loop variable
'page_id' of type 'const page_id_t' creates a copy from type 'const page_id_t'
[-Werror,-Wrange-loop-analysis]
for (const page_id_t page_id : pages) {
^
/Users/shulga/projects/mariadb/server-10.5/storage/innobase/lock/lock0lock.cc:5035:7: note: use reference
type 'const page_id_t &' to prevent copying
for (const page_id_t page_id : pages) {
^~~~~~~~~~~~~~~~~~~~~~~~~
&
1 error generated.
{"report":{"fcp":1247,"ttfb":324.7000000476837,"pageVisibility":"visible","entityId":93495,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"280f3cc9-7798-420c-872c-627b4edd0d56","navigationType":0,"readyForUser":1317.7000000476837,"redirectCount":0,"resourceLoadedEnd":1104,"resourceLoadedStart":330.5,"resourceTiming":[{"duration":274,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":330.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":330.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":604.5,"responseStart":0,"secureConnectionStart":0},{"duration":274.2000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":330.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":330.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":605,"responseStart":0,"secureConnectionStart":0},{"duration":283.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":331.10000014305115,"connectEnd":331.10000014305115,"connectStart":331.10000014305115,"domainLookupEnd":331.10000014305115,"domainLookupStart":331.10000014305115,"fetchStart":331.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":331.10000014305115,"responseEnd":615,"responseStart":615,"secureConnectionStart":331.10000014305115},{"duration":333.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":331.40000009536743,"connectEnd":331.40000009536743,"connectStart":331.40000009536743,"domainLookupEnd":331.40000009536743,"domainLookupStart":331.40000009536743,"fetchStart":331.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":331.40000009536743,"responseEnd":665.2999999523163,"responseStart":665.2999999523163,"secureConnectionStart":331.40000009536743},{"duration":339,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":331.60000014305115,"connectEnd":331.60000014305115,"connectStart":331.60000014305115,"domainLookupEnd":331.60000014305115,"domainLookupStart":331.60000014305115,"fetchStart":331.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":331.60000014305115,"responseEnd":670.6000001430511,"responseStart":670.6000001430511,"secureConnectionStart":331.60000014305115},{"duration":339.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":331.7999999523163,"connectEnd":331.7999999523163,"connectStart":331.7999999523163,"domainLookupEnd":331.7999999523163,"domainLookupStart":331.7999999523163,"fetchStart":331.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":331.7999999523163,"responseEnd":671,"responseStart":671,"secureConnectionStart":331.7999999523163},{"duration":339.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":332,"connectEnd":332,"connectStart":332,"domainLookupEnd":332,"domainLookupStart":332,"fetchStart":332,"redirectEnd":0,"redirectStart":0,"requestStart":332,"responseEnd":671.4000000953674,"responseStart":671.4000000953674,"secureConnectionStart":332},{"duration":477,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":332.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":332.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":809.1000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":339.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":332.2999999523163,"connectEnd":332.2999999523163,"connectStart":332.2999999523163,"domainLookupEnd":332.2999999523163,"domainLookupStart":332.2999999523163,"fetchStart":332.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":332.2999999523163,"responseEnd":671.9000000953674,"responseStart":671.9000000953674,"secureConnectionStart":332.2999999523163},{"duration":477,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":332.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":332.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":809.5,"responseStart":0,"secureConnectionStart":0},{"duration":339.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":332.7000000476837,"connectEnd":332.7000000476837,"connectStart":332.7000000476837,"domainLookupEnd":332.7000000476837,"domainLookupStart":332.7000000476837,"fetchStart":332.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":332.7000000476837,"responseEnd":672.5,"responseStart":672.5,"secureConnectionStart":332.7000000476837},{"duration":533.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":334.10000014305115,"connectEnd":334.10000014305115,"connectStart":334.10000014305115,"domainLookupEnd":334.10000014305115,"domainLookupStart":334.10000014305115,"fetchStart":334.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":334.10000014305115,"responseEnd":867.9000000953674,"responseStart":867.9000000953674,"secureConnectionStart":334.10000014305115},{"duration":769.8999998569489,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":334.10000014305115,"connectEnd":334.10000014305115,"connectStart":334.10000014305115,"domainLookupEnd":334.10000014305115,"domainLookupStart":334.10000014305115,"fetchStart":334.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":334.10000014305115,"responseEnd":1104,"responseStart":1104,"secureConnectionStart":334.10000014305115},{"duration":225.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":898.9000000953674,"connectEnd":898.9000000953674,"connectStart":898.9000000953674,"domainLookupEnd":898.9000000953674,"domainLookupStart":898.9000000953674,"fetchStart":898.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":898.9000000953674,"responseEnd":1124.4000000953674,"responseStart":1124.4000000953674,"secureConnectionStart":898.9000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":174,"responseStart":324,"responseEnd":345,"domLoading":328,"domInteractive":1365,"domContentLoadedEventStart":1365,"domContentLoadedEventEnd":1412,"domComplete":2268,"loadEventStart":2268,"loadEventEnd":2270,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1346.5},{"name":"bigPipe.sidebar-id.end","time":1347.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1347.6000001430511},{"name":"bigPipe.activity-panel-pipe-id.end","time":1350.7000000476837},{"name":"activityTabFullyLoaded","time":1418.5}],"measures":[],"correlationId":"f87c760551bdaf","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":92,"dbReadsTimeInMs":11,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}