wget --no-clobber --directory /home/uke/oil/_deps/osh-runtime https://www.oilshell.org/blob/testdata/tcc-0.9.26.tar.bz2 --2025-03-27 21:22:34-- https://www.oilshell.org/blob/testdata/tcc-0.9.26.tar.bz2 Resolving www.oilshell.org (www.oilshell.org)... 67.205.28.131, 2607:f298:5:114b::3b0:84ad Connecting to www.oilshell.org (www.oilshell.org)|67.205.28.131|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 525906 (514K) [application/x-tar] Saving to: '/home/uke/oil/_deps/osh-runtime/tcc-0.9.26.tar.bz2' 0K .......... .......... .......... .......... .......... 9% 4.60M 0s 50K .......... .......... .......... .......... .......... 19% 8.44M 0s 100K .......... .......... .......... .......... .......... 29% 189M 0s 150K .......... .......... .......... .......... .......... 38% 8.66M 0s 200K .......... .......... .......... .......... .......... 48% 122M 0s 250K .......... .......... .......... .......... .......... 58% 217M 0s 300K .......... .......... .......... .......... .......... 68% 11.5M 0s 350K .......... .......... .......... .......... .......... 77% 68.0M 0s 400K .......... .......... .......... .......... .......... 87% 173M 0s 450K .......... .......... .......... .......... .......... 97% 211M 0s 500K .......... ... 100% 379M=0.03s 2025-03-27 21:22:34 (17.6 MB/s) - '/home/uke/oil/_deps/osh-runtime/tcc-0.9.26.tar.bz2' saved [525906/525906] wget --no-clobber --directory /home/uke/oil/_deps/osh-runtime https://www.oilshell.org/blob/testdata/yash-2.46.tar.xz --2025-03-27 21:22:34-- https://www.oilshell.org/blob/testdata/yash-2.46.tar.xz Resolving www.oilshell.org (www.oilshell.org)... 67.205.28.131, 2607:f298:5:114b::3b0:84ad Connecting to www.oilshell.org (www.oilshell.org)|67.205.28.131|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 709956 (693K) [application/x-xz] Saving to: '/home/uke/oil/_deps/osh-runtime/yash-2.46.tar.xz' 0K .......... .......... .......... .......... .......... 7% 4.75M 0s 50K .......... .......... .......... .......... .......... 14% 9.69M 0s 100K .......... .......... .......... .......... .......... 21% 74.7M 0s 150K .......... .......... .......... .......... .......... 28% 179M 0s 200K .......... .......... .......... .......... .......... 36% 9.22M 0s 250K .......... .......... .......... .......... .......... 43% 132M 0s 300K .......... .......... .......... .......... .......... 50% 278M 0s 350K .......... .......... .......... .......... .......... 57% 252M 0s 400K .......... .......... .......... .......... .......... 64% 11.2M 0s 450K .......... .......... .......... .......... .......... 72% 78.8M 0s 500K .......... .......... .......... .......... .......... 79% 136M 0s 550K .......... .......... .......... .......... .......... 86% 238M 0s 600K .......... .......... .......... .......... .......... 93% 246M 0s 650K .......... .......... .......... .......... ... 100% 312M=0.03s 2025-03-27 21:22:34 (24.1 MB/s) - '/home/uke/oil/_deps/osh-runtime/yash-2.46.tar.xz' saved [709956/709956] wget --no-clobber --directory /home/uke/oil/_deps/osh-runtime https://www.oilshell.org/blob/testdata/ocaml-4.06.0.tar.xz --2025-03-27 21:22:34-- https://www.oilshell.org/blob/testdata/ocaml-4.06.0.tar.xz Resolving www.oilshell.org (www.oilshell.org)... 67.205.28.131, 2607:f298:5:114b::3b0:84ad Connecting to www.oilshell.org (www.oilshell.org)|67.205.28.131|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2519032 (2.4M) [application/x-xz] Saving to: '/home/uke/oil/_deps/osh-runtime/ocaml-4.06.0.tar.xz' 0K .......... .......... .......... .......... .......... 2% 4.66M 1s 50K .......... .......... .......... .......... .......... 4% 9.56M 0s 100K .......... .......... .......... .......... .......... 6% 66.8M 0s 150K .......... .......... .......... .......... .......... 8% 251M 0s 200K .......... .......... .......... .......... .......... 10% 10.5M 0s 250K .......... .......... .......... .......... .......... 12% 148M 0s 300K .......... .......... .......... .......... .......... 14% 140M 0s 350K .......... .......... .......... .......... .......... 16% 11.4M 0s 400K .......... .......... .......... .......... .......... 18% 176M 0s 450K .......... .......... .......... .......... .......... 20% 195M 0s 500K .......... .......... .......... .......... .......... 22% 201M 0s 550K .......... .......... .......... .......... .......... 24% 190M 0s 600K .......... .......... .......... .......... .......... 26% 195M 0s 650K .......... .......... .......... .......... .......... 28% 296M 0s 700K .......... .......... .......... .......... .......... 30% 257M 0s 750K .......... .......... .......... .......... .......... 32% 14.3M 0s 800K .......... .......... .......... .......... .......... 34% 127M 0s 850K .......... .......... .......... .......... .......... 36% 123M 0s 900K .......... .......... .......... .......... .......... 38% 168M 0s 950K .......... .......... .......... .......... .......... 40% 212M 0s 1000K .......... .......... .......... .......... .......... 42% 287M 0s 1050K .......... .......... .......... .......... .......... 44% 252M 0s 1100K .......... .......... .......... .......... .......... 46% 205M 0s 1150K .......... .......... .......... .......... .......... 48% 275M 0s 1200K .......... .......... .......... .......... .......... 50% 230M 0s 1250K .......... .......... .......... .......... .......... 52% 269M 0s 1300K .......... .......... .......... .......... .......... 54% 239M 0s 1350K .......... .......... .......... .......... .......... 56% 222M 0s 1400K .......... .......... .......... .......... .......... 58% 276M 0s 1450K .......... .......... .......... .......... .......... 60% 253M 0s 1500K .......... .......... .......... .......... .......... 63% 291M 0s 1550K .......... .......... .......... .......... .......... 65% 289M 0s 1600K .......... .......... .......... .......... .......... 67% 19.8M 0s 1650K .......... .......... .......... .......... .......... 69% 225M 0s 1700K .......... .......... .......... .......... .......... 71% 230M 0s 1750K .......... .......... .......... .......... .......... 73% 280M 0s 1800K .......... .......... .......... .......... .......... 75% 288M 0s 1850K .......... .......... .......... .......... .......... 77% 217M 0s 1900K .......... .......... .......... .......... .......... 79% 293M 0s 1950K .......... .......... .......... .......... .......... 81% 251M 0s 2000K .......... .......... .......... .......... .......... 83% 281M 0s 2050K .......... .......... .......... .......... .......... 85% 289M 0s 2100K .......... .......... .......... .......... .......... 87% 212M 0s 2150K .......... .......... .......... .......... .......... 89% 286M 0s 2200K .......... .......... .......... .......... .......... 91% 256M 0s 2250K .......... .......... .......... .......... .......... 93% 293M 0s 2300K .......... .......... .......... .......... .......... 95% 277M 0s 2350K .......... .......... .......... .......... .......... 97% 236M 0s 2400K .......... .......... .......... .......... .......... 99% 290M 0s 2450K ......... 100% 301M=0.04s 2025-03-27 21:22:34 (59.6 MB/s) - '/home/uke/oil/_deps/osh-runtime/ocaml-4.06.0.tar.xz' saved [2519032/2519032] wget --no-clobber --directory /home/uke/oil/_deps/osh-runtime https://www.oilshell.org/blob/testdata/util-linux-2.40.tar.xz --2025-03-27 21:22:34-- https://www.oilshell.org/blob/testdata/util-linux-2.40.tar.xz Resolving www.oilshell.org (www.oilshell.org)... 67.205.28.131, 2607:f298:5:114b::3b0:84ad Connecting to www.oilshell.org (www.oilshell.org)|67.205.28.131|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 8762888 (8.4M) [application/x-xz] Saving to: '/home/uke/oil/_deps/osh-runtime/util-linux-2.40.tar.xz' 0K .......... .......... .......... .......... .......... 0% 4.58M 2s 50K .......... .......... .......... .......... .......... 1% 9.50M 1s 100K .......... .......... .......... .......... .......... 1% 98.2M 1s 150K .......... .......... .......... .......... .......... 2% 8.94M 1s 200K .......... .......... .......... .......... .......... 2% 186M 1s 250K .......... .......... .......... .......... .......... 3% 124M 1s 300K .......... .......... .......... .......... .......... 4% 271M 1s 350K .......... .......... .......... .......... .......... 4% 11.1M 1s 400K .......... .......... .......... .......... .......... 5% 214M 0s 450K .......... .......... .......... .......... .......... 5% 78.3M 0s 500K .......... .......... .......... .......... .......... 6% 90.5M 0s 550K .......... .......... .......... .......... .......... 7% 277M 0s 600K .......... .......... .......... .......... .......... 7% 208M 0s 650K .......... .......... .......... .......... .......... 8% 297M 0s 700K .......... .......... .......... .......... .......... 8% 255M 0s 750K .......... .......... .......... .......... .......... 9% 16.0M 0s 800K .......... .......... .......... .......... .......... 9% 204M 0s 850K .......... .......... .......... .......... .......... 10% 147M 0s 900K .......... .......... .......... .......... .......... 11% 287M 0s 950K .......... .......... .......... .......... .......... 11% 163M 0s 1000K .......... .......... .......... .......... .......... 12% 164M 0s 1050K .......... .......... .......... .......... .......... 12% 106M 0s 1100K .......... .......... .......... .......... .......... 13% 217M 0s 1150K .......... .......... .......... .......... .......... 14% 272M 0s 1200K .......... .......... .......... .......... .......... 14% 248M 0s 1250K .......... .......... .......... .......... .......... 15% 246M 0s 1300K .......... .......... .......... .......... .......... 15% 238M 0s 1350K .......... .......... .......... .......... .......... 16% 247M 0s 1400K .......... .......... .......... .......... .......... 16% 290M 0s 1450K .......... .......... .......... .......... .......... 17% 258M 0s 1500K .......... .......... .......... .......... .......... 18% 27.4M 0s 1550K .......... .......... .......... .......... .......... 18% 151M 0s 1600K .......... .......... .......... .......... .......... 19% 107M 0s 1650K .......... .......... .......... .......... .......... 19% 204M 0s 1700K .......... .......... .......... .......... .......... 20% 234M 0s 1750K .......... .......... .......... .......... .......... 21% 238M 0s 1800K .......... .......... .......... .......... .......... 21% 285M 0s 1850K .......... .......... .......... .......... .......... 22% 221M 0s 1900K .......... .......... .......... .......... .......... 22% 287M 0s 1950K .......... .......... .......... .......... .......... 23% 252M 0s 2000K .......... .......... .......... .......... .......... 23% 256M 0s 2050K .......... .......... .......... .......... .......... 24% 282M 0s 2100K .......... .......... .......... .......... .......... 25% 248M 0s 2150K .......... .......... .......... .......... .......... 25% 298M 0s 2200K .......... .......... .......... .......... .......... 26% 256M 0s 2250K .......... .......... .......... .......... .......... 26% 294M 0s 2300K .......... .......... .......... .......... .......... 27% 244M 0s 2350K .......... .......... .......... .......... .......... 28% 252M 0s 2400K .......... .......... .......... .......... .......... 28% 243M 0s 2450K .......... .......... .......... .......... .......... 29% 227M 0s 2500K .......... .......... .......... .......... .......... 29% 294M 0s 2550K .......... .......... .......... .......... .......... 30% 266M 0s 2600K .......... .......... .......... .......... .......... 30% 252M 0s 2650K .......... .......... .......... .......... .......... 31% 296M 0s 2700K .......... .......... .......... .......... .......... 32% 252M 0s 2750K .......... .......... .......... .......... .......... 32% 259M 0s 2800K .......... .......... .......... .......... .......... 33% 259M 0s 2850K .......... .......... .......... .......... .......... 33% 246M 0s 2900K .......... .......... .......... .......... .......... 34% 102M 0s 2950K .......... .......... .......... .......... .......... 35% 153M 0s 3000K .......... .......... .......... .......... .......... 35% 252M 0s 3050K .......... .......... .......... .......... .......... 36% 270M 0s 3100K .......... .......... .......... .......... .......... 36% 237M 0s 3150K .......... .......... .......... .......... .......... 37% 262M 0s 3200K .......... .......... .......... .......... .......... 37% 207M 0s 3250K .......... .......... .......... .......... .......... 38% 264M 0s 3300K .......... .......... .......... .......... .......... 39% 243M 0s 3350K .......... .......... .......... .......... .......... 39% 231M 0s 3400K .......... .......... .......... .......... .......... 40% 254M 0s 3450K .......... .......... .......... .......... .......... 40% 224M 0s 3500K .......... .......... .......... .......... .......... 41% 266M 0s 3550K .......... .......... .......... .......... .......... 42% 262M 0s 3600K .......... .......... .......... .......... .......... 42% 211M 0s 3650K .......... .......... .......... .......... .......... 43% 270M 0s 3700K .......... .......... .......... .......... .......... 43% 201M 0s 3750K .......... .......... .......... .......... .......... 44% 260M 0s 3800K .......... .......... .......... .......... .......... 44% 260M 0s 3850K .......... .......... .......... .......... .......... 45% 242M 0s 3900K .......... .......... .......... .......... .......... 46% 280M 0s 3950K .......... .......... .......... .......... .......... 46% 231M 0s 4000K .......... .......... .......... .......... .......... 47% 294M 0s 4050K .......... .......... .......... .......... .......... 47% 292M 0s 4100K .......... .......... .......... .......... .......... 48% 250M 0s 4150K .......... .......... .......... .......... .......... 49% 270M 0s 4200K .......... .......... .......... .......... .......... 49% 223M 0s 4250K .......... .......... .......... .......... .......... 50% 230M 0s 4300K .......... .......... .......... .......... .......... 50% 263M 0s 4350K .......... .......... .......... .......... .......... 51% 221M 0s 4400K .......... .......... .......... .......... .......... 52% 275M 0s 4450K .......... .......... .......... .......... .......... 52% 226M 0s 4500K .......... .......... .......... .......... .......... 53% 232M 0s 4550K .......... .......... .......... .......... .......... 53% 276M 0s 4600K .......... .......... .......... .......... .......... 54% 229M 0s 4650K .......... .......... .......... .......... .......... 54% 286M 0s 4700K .......... .......... .......... .......... .......... 55% 236M 0s 4750K .......... .......... .......... .......... .......... 56% 241M 0s 4800K .......... .......... .......... .......... .......... 56% 287M 0s 4850K .......... .......... .......... .......... .......... 57% 215M 0s 4900K .......... .......... .......... .......... .......... 57% 270M 0s 4950K .......... .......... .......... .......... .......... 58% 248M 0s 5000K .......... .......... .......... .......... .......... 59% 239M 0s 5050K .......... .......... .......... .......... .......... 59% 272M 0s 5100K .......... .......... .......... .......... .......... 60% 245M 0s 5150K .......... .......... .......... .......... .......... 60% 275M 0s 5200K .......... .......... .......... .......... .......... 61% 251M 0s 5250K .......... .......... .......... .......... .......... 61% 239M 0s 5300K .......... .......... .......... .......... .......... 62% 267M 0s 5350K .......... .......... .......... .......... .......... 63% 246M 0s 5400K .......... .......... .......... .......... .......... 63% 290M 0s 5450K .......... .......... .......... .......... .......... 64% 258M 0s 5500K .......... .......... .......... .......... .......... 64% 274M 0s 5550K .......... .......... .......... .......... .......... 65% 247M 0s 5600K .......... .......... .......... .......... .......... 66% 194M 0s 5650K .......... .......... .......... .......... .......... 66% 265M 0s 5700K .......... .......... .......... .......... .......... 67% 234M 0s 5750K .......... .......... .......... .......... .......... 67% 222M 0s 5800K .......... .......... .......... .......... .......... 68% 272M 0s 5850K .......... .......... .......... .......... .......... 68% 225M 0s 5900K .......... .......... .......... .......... .......... 69% 281M 0s 5950K .......... .......... .......... .......... .......... 70% 258M 0s 6000K .......... .......... .......... .......... .......... 70% 246M 0s 6050K .......... .......... .......... .......... .......... 71% 261M 0s 6100K .......... .......... .......... .......... .......... 71% 247M 0s 6150K .......... .......... .......... .......... .......... 72% 268M 0s 6200K .......... .......... .......... .......... .......... 73% 234M 0s 6250K .......... .......... .......... .......... .......... 73% 205M 0s 6300K .......... .......... .......... .......... .......... 74% 271M 0s 6350K .......... .......... .......... .......... .......... 74% 218M 0s 6400K .......... .......... .......... .......... .......... 75% 292M 0s 6450K .......... .......... .......... .......... .......... 75% 251M 0s 6500K .......... .......... .......... .......... .......... 76% 222M 0s 6550K .......... .......... .......... .......... .......... 77% 254M 0s 6600K .......... .......... .......... .......... .......... 77% 223M 0s 6650K .......... .......... .......... .......... .......... 78% 285M 0s 6700K .......... .......... .......... .......... .......... 78% 219M 0s 6750K .......... .......... .......... .......... .......... 79% 247M 0s 6800K .......... .......... .......... .......... .......... 80% 298M 0s 6850K .......... .......... .......... .......... .......... 80% 219M 0s 6900K .......... .......... .......... .......... .......... 81% 230M 0s 6950K .......... .......... .......... .......... .......... 81% 238M 0s 7000K .......... .......... .......... .......... .......... 82% 227M 0s 7050K .......... .......... .......... .......... .......... 82% 229M 0s 7100K .......... .......... .......... .......... .......... 83% 187M 0s 7150K .......... .......... .......... .......... .......... 84% 245M 0s 7200K .......... .......... .......... .......... .......... 84% 234M 0s 7250K .......... .......... .......... .......... .......... 85% 265M 0s 7300K .......... .......... .......... .......... .......... 85% 268M 0s 7350K .......... .......... .......... .......... .......... 86% 219M 0s 7400K .......... .......... .......... .......... .......... 87% 278M 0s 7450K .......... .......... .......... .......... .......... 87% 221M 0s 7500K .......... .......... .......... .......... .......... 88% 225M 0s 7550K .......... .......... .......... .......... .......... 88% 260M 0s 7600K .......... .......... .......... .......... .......... 89% 229M 0s 7650K .......... .......... .......... .......... .......... 89% 264M 0s 7700K .......... .......... .......... .......... .......... 90% 227M 0s 7750K .......... .......... .......... .......... .......... 91% 262M 0s 7800K .......... .......... .......... .......... .......... 91% 261M 0s 7850K .......... .......... .......... .......... .......... 92% 252M 0s 7900K .......... .......... .......... .......... .......... 92% 282M 0s 7950K .......... .......... .......... .......... .......... 93% 235M 0s 8000K .......... .......... .......... .......... .......... 94% 264M 0s 8050K .......... .......... .......... .......... .......... 94% 244M 0s 8100K .......... .......... .......... .......... .......... 95% 245M 0s 8150K .......... .......... .......... .......... .......... 95% 289M 0s 8200K .......... .......... .......... .......... .......... 96% 253M 0s 8250K .......... .......... .......... .......... .......... 96% 259M 0s 8300K .......... .......... .......... .......... .......... 97% 297M 0s 8350K .......... .......... .......... .......... .......... 98% 255M 0s 8400K .......... .......... .......... .......... .......... 98% 290M 0s 8450K .......... .......... .......... .......... .......... 99% 252M 0s 8500K .......... .......... .......... .......... .......... 99% 292M 0s 8550K ....... 100% 233M=0.07s 2025-03-27 21:22:35 (127 MB/s) - '/home/uke/oil/_deps/osh-runtime/util-linux-2.40.tar.xz' saved [8762888/8762888] + for f in $TAR_DIR/*.{bz2,xz} + tar -x --directory /home/uke/oil/_deps/osh-runtime --file /home/uke/oil/_deps/osh-runtime/tcc-0.9.26.tar.bz2 + for f in $TAR_DIR/*.{bz2,xz} + tar -x --directory /home/uke/oil/_deps/osh-runtime --file /home/uke/oil/_deps/osh-runtime/ocaml-4.06.0.tar.xz + for f in $TAR_DIR/*.{bz2,xz} + tar -x --directory /home/uke/oil/_deps/osh-runtime --file /home/uke/oil/_deps/osh-runtime/util-linux-2.40.tar.xz + for f in $TAR_DIR/*.{bz2,xz} + tar -x --directory /home/uke/oil/_deps/osh-runtime --file /home/uke/oil/_deps/osh-runtime/yash-2.46.tar.xz real 0m0.914s user 0m0.833s sys 0m0.412s + set +x total 12248 drwxr-xr-x 27 uke uke 4096 Nov 3 2017 ocaml-4.06.0 -rw-r--r-- 1 uke uke 2519032 Dec 1 2017 ocaml-4.06.0.tar.xz drwxr-xr-x 7 uke uke 4096 Feb 15 2013 tcc-0.9.26 -rw-r--r-- 1 uke uke 525906 Feb 15 2013 tcc-0.9.26.tar.bz2 drwxr-xr-x 27 uke uke 4096 Mar 27 2024 util-linux-2.40 -rw-r--r-- 1 uke uke 8762888 Mar 27 2024 util-linux-2.40.tar.xz drwxr-xr-x 8 uke uke 4096 Oct 28 2017 yash-2.46 -rw-r--r-- 1 uke uke 709956 Dec 1 2017 yash-2.46.tar.xz [1/28] cxx opt '' cpp/fanos_shared.c _build/obj/cxx-opt/cpp/fanos_shared.o [2/28] cxx opt '' cpp/fanos.cc _build/obj/cxx-opt/cpp/fanos.o [3/28] LINK cxx opt '-lstdc++fs' _bin/datalog/dataflow _build/obj/datalog/dataflow.o [4/28] cp bin/mycpp_main_souffle.sh _bin/shwrap/mycpp_main_souffle [5/28] cxx opt '' cpp/core.cc _build/obj/cxx-opt/cpp/core.o FAILED: _build/obj/cxx-opt/cpp/core.o build/ninja-rules-cpp.sh compile_one cxx opt '' cpp/core.cc _build/obj/cxx-opt/cpp/core.o _build/obj/cxx-opt/cpp/core.o.d cpp/core.cc: In function 'List<int>* pyos::WaitForInputs(List<int>)': cpp/core.cc:261:21: error: no matching function for call to 'len(List<int>&)' int n = len(fds_in); ^ In file included from /home/uke/oil/mycpp/gc_alloc.h:13, from /home/uke/oil/mycpp/runtime.h:8, from /home/uke/oil/_gen/frontend/syntax.asdl.h:8, from /home/uke/oil/cpp/core.h:9, from cpp/core.cc:3: /home/uke/oil/mycpp/gc_str.h:103:12: note: candidate: 'int len(const BigStr*)' inline int len(const BigStr* s) { ^~~ /home/uke/oil/mycpp/gc_str.h:103:12: note: no known conversion for argument 1 from 'List<int>' to 'const BigStr*' /home/uke/oil/mycpp/gc_str.h:184:12: note: candidate: 'int len(Str)' inline int len(const Str s) { ^~~ /home/uke/oil/mycpp/gc_str.h:184:12: note: no known conversion for argument 1 from 'List<int>' to 'Str' In file included from /home/uke/oil/mycpp/runtime.h:13, from /home/uke/oil/_gen/frontend/syntax.asdl.h:8, from /home/uke/oil/cpp/core.h:9, from cpp/core.cc:3: /home/uke/oil/mycpp/gc_list.h:216:5: note: candidate: 'template<class T> int len(const List<T>*)' int len(const List<T>* L) { ^~~ /home/uke/oil/mycpp/gc_list.h:216:5: note: template argument deduction/substitution failed: cpp/core.cc:261:21: note: mismatched types 'const List<T>*' and 'List<int>' int n = len(fds_in); ^ In file included from /home/uke/oil/mycpp/runtime.h:14, from /home/uke/oil/_gen/frontend/syntax.asdl.h:8, from /home/uke/oil/cpp/core.h:9, from cpp/core.cc:3: /home/uke/oil/mycpp/gc_dict.h:417:12: note: candidate: 'template<class K, class V> int len(const Dict<K, V>*)' inline int len(const Dict<K, V>* d) { ^~~ /home/uke/oil/mycpp/gc_dict.h:417:12: note: template argument deduction/substitution failed: cpp/core.cc:261:21: note: mismatched types 'const Dict<K, V>*' and 'List<int>' int n = len(fds_in); ^ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:196, from /usr/include/stdlib.h:394, from /usr/include/c++/8/cstdlib:75, from /usr/include/c++/8/stdlib.h:36, from /home/uke/oil/mycpp/mark_sweep_heap.h:4, from /home/uke/oil/mycpp/gc_alloc.h:19, from /home/uke/oil/mycpp/runtime.h:8, from /home/uke/oil/_gen/frontend/syntax.asdl.h:8, from /home/uke/oil/cpp/core.h:9, from cpp/core.cc:3: cpp/core.cc:263:18: error: base operand of '->' has non-pointer type 'List<int>' FD_SET(fds_in->at(n), &fds); ^~ cpp/core.cc:263:18: error: base operand of '->' has non-pointer type 'List<int>' FD_SET(fds_in->at(n), &fds); ^~ cpp/core.cc:266:30: error: no matching function for call to 'len(int&)' for (int i = 0; i < len(out); ++i) { ^ In file included from /home/uke/oil/mycpp/gc_alloc.h:13, from /home/uke/oil/mycpp/runtime.h:8, from /home/uke/oil/_gen/frontend/syntax.asdl.h:8, from /home/uke/oil/cpp/core.h:9, from cpp/core.cc:3: /home/uke/oil/mycpp/gc_str.h:103:12: note: candidate: 'int len(const BigStr*)' <near match> inline int len(const BigStr* s) { ^~~ /home/uke/oil/mycpp/gc_str.h:103:12: note: conversion of argument 1 would be ill-formed: cpp/core.cc:266:27: error: invalid conversion from 'int' to 'const BigStr*' [-fpermissive] for (int i = 0; i < len(out); ++i) { ^~~ In file included from /home/uke/oil/mycpp/gc_alloc.h:13, from /home/uke/oil/mycpp/runtime.h:8, from /home/uke/oil/_gen/frontend/syntax.asdl.h:8, from /home/uke/oil/cpp/core.h:9, from cpp/core.cc:3: /home/uke/oil/mycpp/gc_str.h:184:12: note: candidate: 'int len(Str)' inline int len(const Str s) { ^~~ /home/uke/oil/mycpp/gc_str.h:184:12: note: no known conversion for argument 1 from 'int' to 'Str' In file included from /home/uke/oil/mycpp/runtime.h:13, from /home/uke/oil/_gen/frontend/syntax.asdl.h:8, from /home/uke/oil/cpp/core.h:9, from cpp/core.cc:3: /home/uke/oil/mycpp/gc_list.h:216:5: note: candidate: 'template<class T> int len(const List<T>*)' int len(const List<T>* L) { ^~~ /home/uke/oil/mycpp/gc_list.h:216:5: note: template argument deduction/substitution failed: cpp/core.cc:266:30: note: mismatched types 'const List<T>*' and 'int' for (int i = 0; i < len(out); ++i) { ^ In file included from /home/uke/oil/mycpp/runtime.h:14, from /home/uke/oil/_gen/frontend/syntax.asdl.h:8, from /home/uke/oil/cpp/core.h:9, from cpp/core.cc:3: /home/uke/oil/mycpp/gc_dict.h:417:12: note: candidate: 'template<class K, class V> int len(const Dict<K, V>*)' inline int len(const Dict<K, V>* d) { ^~~ /home/uke/oil/mycpp/gc_dict.h:417:12: note: template argument deduction/substitution failed: cpp/core.cc:266:30: note: mismatched types 'const Dict<K, V>*' and 'int' for (int i = 0; i < len(out); ++i) { ^ cpp/core.cc:267:30: error: base operand of '->' has non-pointer type 'List<int>' if (inputAvailable(fds_in->at(n))) { ^~ cpp/core.cc:267:9: error: 'inputAvailable' was not declared in this scope if (inputAvailable(fds_in->at(n))) { ^~~~~~~~~~~~~~ cpp/core.cc:267:9: note: suggested alternative: 'InputAvailable' if (inputAvailable(fds_in->at(n))) { ^~~~~~~~~~~~~~ InputAvailable cpp/core.cc:268:25: error: base operand of '->' has non-pointer type 'List<int>' ret->append(fds_in->(n)); ^~ cpp/core.cc:268:27: error: expected unqualified-id before '(' token ret->append(fds_in->(n)); ^ [6/28] cxx opt '' cpp/frontend_pyreadline.cc _build/obj/cxx-opt/cpp/frontend_pyreadline.o [7/28] cxx opt '' cpp/frontend_flag_spec.cc _build/obj/cxx-opt/cpp/frontend_flag_spec.o [8/28] cxx opt '' cpp/libc.cc _build/obj/cxx-opt/cpp/libc.o [9/28] cxx opt '' cpp/frontend_match.cc _build/obj/cxx-opt/cpp/frontend_match.o [10/28] gen-oils-for-unix oils_for_unix _gen/bin/oils_for_unix.mycpp-souffle cpp/preamble.h asdl/format.py asdl/runtime.py bin/oils_for_unix.py builtin/assign_osh.py builtin/bracket_osh.py builtin/completion_osh.py builtin/completion_ysh.py builtin/dirs_osh.py builtin/error_ysh.py builtin/func_eggex.py builtin/func_hay.py builtin/func_misc.py builtin/func_reflect.py builtin/hay_ysh.py builtin/io_osh.py builtin/io_ysh.py builtin/json_ysh.py builtin/meta_oils.py builtin/method_dict.py builtin/method_io.py builtin/method_list.py builtin/method_other.py builtin/method_str.py builtin/method_type.py builtin/misc_osh.py builtin/module_ysh.py builtin/printf_osh.py builtin/process_osh.py builtin/pure_osh.py builtin/pure_ysh.py builtin/read_osh.py builtin/readline_osh.py builtin/trap_osh.py core/alloc.py core/bash_impl.py core/comp_ui.py core/completion.py core/dev.py core/error.py core/executor.py core/main_loop.py core/num.py core/process.py core/sh_init.py core/shell.py core/state.py core/util.py core/vm.py data_lang/j8.py data_lang/j8_lite.py display/ansi.py display/pp_hnode.py display/pp_value.py display/pretty.py display/ui.py frontend/args.py frontend/flag_util.py frontend/lexer.py frontend/location.py frontend/parse_lib.py frontend/reader.py frontend/syntax_abbrev.py frontend/typed_args.py osh/arith_parse.py osh/bool_parse.py osh/braces.py osh/cmd_eval.py osh/cmd_parse.py osh/glob_.py osh/history.py osh/prompt.py osh/sh_expr_eval.py osh/split.py osh/string_ops.py osh/tdop.py osh/word_.py osh/word_compile.py osh/word_eval.py osh/word_parse.py pgen2/parse.py pylib/os_path.py tools/fmt.py tools/ysh_ify.py ysh/expr_eval.py ysh/expr_parse.py ysh/expr_to_ast.py ysh/func_proc.py ysh/regex_translate.py ysh/val_ops.py mycpp: LOADING asdl/format.py asdl/runtime.py bin/oils_for_unix.py builtin/assign_osh.py builtin/bracket_osh.py builtin/completion_osh.py builtin/completion_ysh.py builtin/dirs_osh.py builtin/error_ysh.py builtin/func_eggex.py builtin/func_hay.py builtin/func_misc.py builtin/func_reflect.py builtin/hay_ysh.py builtin/io_osh.py builtin/io_ysh.py builtin/json_ysh.py builtin/meta_oils.py builtin/method_dict.py builtin/method_io.py builtin/method_list.py builtin/method_other.py builtin/method_str.py builtin/method_type.py builtin/misc_osh.py builtin/module_ysh.py builtin/printf_osh.py builtin/process_osh.py builtin/pure_osh.py builtin/pure_ysh.py builtin/read_osh.py builtin/readline_osh.py builtin/trap_osh.py core/alloc.py core/bash_impl.py core/comp_ui.py core/completion.py core/dev.py core/error.py core/executor.py core/main_loop.py core/num.py core/process.py core/sh_init.py core/shell.py core/state.py core/util.py core/vm.py data_lang/j8.py data_lang/j8_lite.py display/ansi.py display/pp_hnode.py display/pp_value.py display/pretty.py display/ui.py frontend/args.py frontend/flag_util.py frontend/lexer.py frontend/location.py frontend/parse_lib.py frontend/reader.py frontend/syntax_abbrev.py frontend/typed_args.py osh/arith_parse.py osh/bool_parse.py osh/braces.py osh/cmd_eval.py osh/cmd_parse.py osh/glob_.py osh/history.py osh/prompt.py osh/sh_expr_eval.py osh/split.py osh/string_ops.py osh/tdop.py osh/word_.py osh/word_compile.py osh/word_eval.py osh/word_parse.py pgen2/parse.py pylib/os_path.py tools/fmt.py tools/ysh_ify.py ysh/expr_eval.py ysh/expr_parse.py ysh/expr_to_ast.py ysh/func_proc.py ysh/regex_translate.py ysh/val_ops.py mycpp pass: CONVERT mycpp pass: CONTROL FLOW mycpp pass: SOUFFLE data flow mycpp pass: CONST mycpp pass: DECL mycpp pass: IMPL WARNING: core.shell.Main() has 37 stack roots. Consider refactoring this function. mycpp DONE ninja: build stopped: subcommand failed.