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:30:30-- 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% 350K 1s 50K .......... .......... .......... .......... .......... 19% 999K 1s 100K .......... .......... .......... .......... .......... 29% 2.25M 1s 150K .......... .......... .......... .......... .......... 38% 175M 0s 200K .......... .......... .......... .......... .......... 48% 704K 0s 250K .......... .......... .......... .......... .......... 58% 146M 0s 300K .......... .......... .......... .......... .......... 68% 182M 0s 350K .......... .......... .......... .......... .......... 77% 217M 0s 400K .......... .......... .......... .......... .......... 87% 1015K 0s 450K .......... .......... .......... .......... .......... 97% 1.97M 0s 500K .......... ... 100% 201M=0.4s 2025-03-27 21:30:31 (1.39 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:30:31-- 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% 350K 2s 50K .......... .......... .......... .......... .......... 14% 756K 1s 100K .......... .......... .......... .......... .......... 21% 8.71M 1s 150K .......... .......... .......... .......... .......... 28% 225M 1s 200K .......... .......... .......... .......... .......... 36% 705K 1s 250K .......... .......... .......... .......... .......... 43% 117M 0s 300K .......... .......... .......... .......... .......... 50% 143M 0s 350K .......... .......... .......... .......... .......... 57% 204M 0s 400K .......... .......... .......... .......... .......... 64% 764K 0s 450K .......... .......... .......... .......... .......... 72% 9.98M 0s 500K .......... .......... .......... .......... .......... 79% 130M 0s 550K .......... .......... .......... .......... .......... 86% 150M 0s 600K .......... .......... .......... .......... .......... 93% 171M 0s 650K .......... .......... .......... .......... ... 100% 247M=0.4s 2025-03-27 21:30:32 (1.89 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:30:32-- 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% 351K 7s 50K .......... .......... .......... .......... .......... 4% 759K 5s 100K .......... .......... .......... .......... .......... 6% 6.52M 3s 150K .......... .......... .......... .......... .......... 8% 70.0M 2s 200K .......... .......... .......... .......... .......... 10% 712K 3s 250K .......... .......... .......... .......... .......... 12% 56.6M 2s 300K .......... .......... .......... .......... .......... 14% 63.8M 2s 350K .......... .......... .......... .......... .......... 16% 230M 1s 400K .......... .......... .......... .......... .......... 18% 799K 2s 450K .......... .......... .......... .......... .......... 20% 7.25M 1s 500K .......... .......... .......... .......... .......... 22% 133M 1s 550K .......... .......... .......... .......... .......... 24% 134M 1s 600K .......... .......... .......... .......... .......... 26% 133M 1s 650K .......... .......... .......... .......... .......... 28% 77.9M 1s 700K .......... .......... .......... .......... .......... 30% 145M 1s 750K .......... .......... .......... .......... .......... 32% 278M 1s 800K .......... .......... .......... .......... .......... 34% 260M 1s 850K .......... .......... .......... .......... .......... 36% 806K 1s 900K .......... .......... .......... .......... .......... 38% 98.2M 1s 950K .......... .......... .......... .......... .......... 40% 242M 1s 1000K .......... .......... .......... .......... .......... 42% 7.85M 1s 1050K .......... .......... .......... .......... .......... 44% 228M 1s 1100K .......... .......... .......... .......... .......... 46% 124M 0s 1150K .......... .......... .......... .......... .......... 48% 292M 0s 1200K .......... .......... .......... .......... .......... 50% 150M 0s 1250K .......... .......... .......... .......... .......... 52% 279M 0s 1300K .......... .......... .......... .......... .......... 54% 255M 0s 1350K .......... .......... .......... .......... .......... 56% 215M 0s 1400K .......... .......... .......... .......... .......... 58% 202M 0s 1450K .......... .......... .......... .......... .......... 60% 148M 0s 1500K .......... .......... .......... .......... .......... 63% 248M 0s 1550K .......... .......... .......... .......... .......... 65% 282M 0s 1600K .......... .......... .......... .......... .......... 67% 222M 0s 1650K .......... .......... .......... .......... .......... 69% 294M 0s 1700K .......... .......... .......... .......... .......... 71% 253M 0s 1750K .......... .......... .......... .......... .......... 73% 818K 0s 1800K .......... .......... .......... .......... .......... 75% 91.3M 0s 1850K .......... .......... .......... .......... .......... 77% 233M 0s 1900K .......... .......... .......... .......... .......... 79% 129M 0s 1950K .......... .......... .......... .......... .......... 81% 249M 0s 2000K .......... .......... .......... .......... .......... 83% 279M 0s 2050K .......... .......... .......... .......... .......... 85% 8.79M 0s 2100K .......... .......... .......... .......... .......... 87% 178M 0s 2150K .......... .......... .......... .......... .......... 89% 291M 0s 2200K .......... .......... .......... .......... .......... 91% 235M 0s 2250K .......... .......... .......... .......... .......... 93% 147M 0s 2300K .......... .......... .......... .......... .......... 95% 242M 0s 2350K .......... .......... .......... .......... .......... 97% 250M 0s 2400K .......... .......... .......... .......... .......... 99% 289M 0s 2450K ......... 100% 303M=0.5s 2025-03-27 21:30:32 (4.78 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:30:32-- 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% 350K 24s 50K .......... .......... .......... .......... .......... 1% 782K 17s 100K .......... .......... .......... .......... .......... 1% 6.03M 12s 150K .......... .......... .......... .......... .......... 2% 261M 9s 200K .......... .......... .......... .......... .......... 2% 705K 10s 250K .......... .......... .......... .......... .......... 3% 129M 8s 300K .......... .......... .......... .......... .......... 4% 153M 7s 350K .......... .......... .......... .......... .......... 4% 188M 6s 400K .......... .......... .......... .......... .......... 5% 790K 6s 450K .......... .......... .......... .......... .......... 5% 6.73M 6s 500K .......... .......... .......... .......... .......... 6% 173M 5s 550K .......... .......... .......... .......... .......... 7% 223M 5s 600K .......... .......... .......... .......... .......... 7% 160M 4s 650K .......... .......... .......... .......... .......... 8% 86.7M 4s 700K .......... .......... .......... .......... .......... 8% 212M 4s 750K .......... .......... .......... .......... .......... 9% 234M 3s 800K .......... .......... .......... .......... .......... 9% 293M 3s 850K .......... .......... .......... .......... .......... 10% 804K 4s 900K .......... .......... .......... .......... .......... 11% 67.7M 3s 950K .......... .......... .......... .......... .......... 11% 221M 3s 1000K .......... .......... .......... .......... .......... 12% 7.17M 3s 1050K .......... .......... .......... .......... .......... 12% 164M 3s 1100K .......... .......... .......... .......... .......... 13% 147M 3s 1150K .......... .......... .......... .......... .......... 14% 222M 3s 1200K .......... .......... .......... .......... .......... 14% 144M 3s 1250K .......... .......... .......... .......... .......... 15% 279M 2s 1300K .......... .......... .......... .......... .......... 15% 291M 2s 1350K .......... .......... .......... .......... .......... 16% 186M 2s 1400K .......... .......... .......... .......... .......... 16% 217M 2s 1450K .......... .......... .......... .......... .......... 17% 179M 2s 1500K .......... .......... .......... .......... .......... 18% 291M 2s 1550K .......... .......... .......... .......... .......... 18% 297M 2s 1600K .......... .......... .......... .......... .......... 19% 250M 2s 1650K .......... .......... .......... .......... .......... 19% 298M 2s 1700K .......... .......... .......... .......... .......... 20% 235M 2s 1750K .......... .......... .......... .......... .......... 21% 824K 2s 1800K .......... .......... .......... .......... .......... 21% 246M 2s 1850K .......... .......... .......... .......... .......... 22% 76.7M 2s 1900K .......... .......... .......... .......... .......... 22% 141M 2s 1950K .......... .......... .......... .......... .......... 23% 214M 2s 2000K .......... .......... .......... .......... .......... 23% 292M 2s 2050K .......... .......... .......... .......... .......... 24% 7.76M 2s 2100K .......... .......... .......... .......... .......... 25% 92.0M 1s 2150K .......... .......... .......... .......... .......... 25% 282M 1s 2200K .......... .......... .......... .......... .......... 26% 173M 1s 2250K .......... .......... .......... .......... .......... 26% 229M 1s 2300K .......... .......... .......... .......... .......... 27% 225M 1s 2350K .......... .......... .......... .......... .......... 28% 189M 1s 2400K .......... .......... .......... .......... .......... 28% 268M 1s 2450K .......... .......... .......... .......... .......... 29% 185M 1s 2500K .......... .......... .......... .......... .......... 29% 290M 1s 2550K .......... .......... .......... .......... .......... 30% 200M 1s 2600K .......... .......... .......... .......... .......... 30% 198M 1s 2650K .......... .......... .......... .......... .......... 31% 216M 1s 2700K .......... .......... .......... .......... .......... 32% 202M 1s 2750K .......... .......... .......... .......... .......... 32% 254M 1s 2800K .......... .......... .......... .......... .......... 33% 190M 1s 2850K .......... .......... .......... .......... .......... 33% 224M 1s 2900K .......... .......... .......... .......... .......... 34% 278M 1s 2950K .......... .......... .......... .......... .......... 35% 157M 1s 3000K .......... .......... .......... .......... .......... 35% 217M 1s 3050K .......... .......... .......... .......... .......... 36% 290M 1s 3100K .......... .......... .......... .......... .......... 36% 255M 1s 3150K .......... .......... .......... .......... .......... 37% 299M 1s 3200K .......... .......... .......... .......... .......... 37% 254M 1s 3250K .......... .......... .......... .......... .......... 38% 265M 1s 3300K .......... .......... .......... .......... .......... 39% 293M 1s 3350K .......... .......... .......... .......... .......... 39% 249M 1s 3400K .......... .......... .......... .......... .......... 40% 293M 1s 3450K .......... .......... .......... .......... .......... 40% 250M 1s 3500K .......... .......... .......... .......... .......... 41% 269M 1s 3550K .......... .......... .......... .......... .......... 42% 873K 1s 3600K .......... .......... .......... .......... .......... 42% 155M 1s 3650K .......... .......... .......... .......... .......... 43% 164M 1s 3700K .......... .......... .......... .......... .......... 43% 170M 1s 3750K .......... .......... .......... .......... .......... 44% 242M 1s 3800K .......... .......... .......... .......... .......... 44% 154M 1s 3850K .......... .......... .......... .......... .......... 45% 179M 1s 3900K .......... .......... .......... .......... .......... 46% 226M 1s 3950K .......... .......... .......... .......... .......... 46% 187M 1s 4000K .......... .......... .......... .......... .......... 47% 294M 1s 4050K .......... .......... .......... .......... .......... 47% 292M 1s 4100K .......... .......... .......... .......... .......... 48% 9.37M 1s 4150K .......... .......... .......... .......... .......... 49% 171M 1s 4200K .......... .......... .......... .......... .......... 49% 101M 1s 4250K .......... .......... .......... .......... .......... 50% 125M 1s 4300K .......... .......... .......... .......... .......... 50% 285M 1s 4350K .......... .......... .......... .......... .......... 51% 220M 1s 4400K .......... .......... .......... .......... .......... 52% 224M 1s 4450K .......... .......... .......... .......... .......... 52% 231M 1s 4500K .......... .......... .......... .......... .......... 53% 184M 1s 4550K .......... .......... .......... .......... .......... 53% 288M 0s 4600K .......... .......... .......... .......... .......... 54% 185M 0s 4650K .......... .......... .......... .......... .......... 54% 276M 0s 4700K .......... .......... .......... .......... .......... 55% 188M 0s 4750K .......... .......... .......... .......... .......... 56% 241M 0s 4800K .......... .......... .......... .......... .......... 56% 228M 0s 4850K .......... .......... .......... .......... .......... 57% 207M 0s 4900K .......... .......... .......... .......... .......... 57% 280M 0s 4950K .......... .......... .......... .......... .......... 58% 234M 0s 5000K .......... .......... .......... .......... .......... 59% 202M 0s 5050K .......... .......... .......... .......... .......... 59% 232M 0s 5100K .......... .......... .......... .......... .......... 60% 199M 0s 5150K .......... .......... .......... .......... .......... 60% 268M 0s 5200K .......... .......... .......... .......... .......... 61% 180M 0s 5250K .......... .......... .......... .......... .......... 61% 276M 0s 5300K .......... .......... .......... .......... .......... 62% 229M 0s 5350K .......... .......... .......... .......... .......... 63% 208M 0s 5400K .......... .......... .......... .......... .......... 63% 237M 0s 5450K .......... .......... .......... .......... .......... 64% 174M 0s 5500K .......... .......... .......... .......... .......... 64% 227M 0s 5550K .......... .......... .......... .......... .......... 65% 237M 0s 5600K .......... .......... .......... .......... .......... 66% 231M 0s 5650K .......... .......... .......... .......... .......... 66% 224M 0s 5700K .......... .......... .......... .......... .......... 67% 208M 0s 5750K .......... .......... .......... .......... .......... 67% 218M 0s 5800K .......... .......... .......... .......... .......... 68% 295M 0s 5850K .......... .......... .......... .......... .......... 68% 169M 0s 5900K .......... .......... .......... .......... .......... 69% 270M 0s 5950K .......... .......... .......... .......... .......... 70% 178M 0s 6000K .......... .......... .......... .......... .......... 70% 246M 0s 6050K .......... .......... .......... .......... .......... 71% 260M 0s 6100K .......... .......... .......... .......... .......... 71% 252M 0s 6150K .......... .......... .......... .......... .......... 72% 287M 0s 6200K .......... .......... .......... .......... .......... 73% 252M 0s 6250K .......... .......... .......... .......... .......... 73% 289M 0s 6300K .......... .......... .......... .......... .......... 74% 290M 0s 6350K .......... .......... .......... .......... .......... 74% 228M 0s 6400K .......... .......... .......... .......... .......... 75% 293M 0s 6450K .......... .......... .......... .......... .......... 75% 254M 0s 6500K .......... .......... .......... .......... .......... 76% 290M 0s 6550K .......... .......... .......... .......... .......... 77% 294M 0s 6600K .......... .......... .......... .......... .......... 77% 231M 0s 6650K .......... .......... .......... .......... .......... 78% 290M 0s 6700K .......... .......... .......... .......... .......... 78% 254M 0s 6750K .......... .......... .......... .......... .......... 79% 289M 0s 6800K .......... .......... .......... .......... .......... 80% 296M 0s 6850K .......... .......... .......... .......... .......... 80% 251M 0s 6900K .......... .......... .......... .......... .......... 81% 264M 0s 6950K .......... .......... .......... .......... .......... 81% 255M 0s 7000K .......... .......... .......... .......... .......... 82% 293M 0s 7050K .......... .......... .......... .......... .......... 82% 289M 0s 7100K .......... .......... .......... .......... .......... 83% 249M 0s 7150K .......... .......... .......... .......... .......... 84% 979K 0s 7200K .......... .......... .......... .......... .......... 84% 109M 0s 7250K .......... .......... .......... .......... .......... 85% 220M 0s 7300K .......... .......... .......... .......... .......... 85% 249M 0s 7350K .......... .......... .......... .......... .......... 86% 253M 0s 7400K .......... .......... .......... .......... .......... 87% 168M 0s 7450K .......... .......... .......... .......... .......... 87% 252M 0s 7500K .......... .......... .......... .......... .......... 88% 208M 0s 7550K .......... .......... .......... .......... .......... 88% 287M 0s 7600K .......... .......... .......... .......... .......... 89% 198M 0s 7650K .......... .......... .......... .......... .......... 89% 235M 0s 7700K .......... .......... .......... .......... .......... 90% 238M 0s 7750K .......... .......... .......... .......... .......... 91% 212M 0s 7800K .......... .......... .......... .......... .......... 91% 288M 0s 7850K .......... .......... .......... .......... .......... 92% 178M 0s 7900K .......... .......... .......... .......... .......... 92% 292M 0s 7950K .......... .......... .......... .......... .......... 93% 259M 0s 8000K .......... .......... .......... .......... .......... 94% 291M 0s 8050K .......... .......... .......... .......... .......... 94% 296M 0s 8100K .......... .......... .......... .......... .......... 95% 230M 0s 8150K .......... .......... .......... .......... .......... 95% 294M 0s 8200K .......... .......... .......... .......... .......... 96% 16.2M 0s 8250K .......... .......... .......... .......... .......... 96% 169M 0s 8300K .......... .......... .......... .......... .......... 97% 88.1M 0s 8350K .......... .......... .......... .......... .......... 98% 193M 0s 8400K .......... .......... .......... .......... .......... 98% 234M 0s 8450K .......... .......... .......... .......... .......... 99% 203M 0s 8500K .......... .......... .......... .......... .......... 99% 246M 0s 8550K ....... 100% 172M=0.6s 2025-03-27 21:30:34 (12.9 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.902s user 0m0.795s sys 0m0.431s + 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] LINK cxx opt '-lstdc++fs' _bin/datalog/dataflow _build/obj/datalog/dataflow.o [3/28] cp bin/mycpp_main_souffle.sh _bin/shwrap/mycpp_main_souffle [4/28] cxx opt '' cpp/fanos.cc _build/obj/cxx-opt/cpp/fanos.o [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: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: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 [6/28] cxx opt '' cpp/libc.cc _build/obj/cxx-opt/cpp/libc.o [7/28] cxx opt '' cpp/frontend_flag_spec.cc _build/obj/cxx-opt/cpp/frontend_flag_spec.o [8/28] cxx opt '' cpp/frontend_pyreadline.cc _build/obj/cxx-opt/cpp/frontend_pyreadline.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.