starting build "8bd39958-7251-481b-98fb-7c48d3b22609" FETCHSOURCE BUILD Starting Step #0 Step #0: Already have image (with digest): gcr.io/cloud-builders/git Step #0: Cloning into 'oss-fuzz'... Finished Step #0 Starting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3" Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Already have image (with digest): gcr.io/cloud-builders/docker Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Sending build context to Docker daemon 3.584kB Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": latest: Pulling from oss-fuzz-base/base-builder Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": b549f31133a9: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 4d17b6254d09: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 13510ee2656d: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": f00e028bbdaa: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2e211a822601: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 489f6d9f3ce7: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 87976449b1e5: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": aef3b597e553: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 8e87d0a34575: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 0311f979b555: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 47db0df2fe08: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": a06d0055d428: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": bf679d282389: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": b117462b63bc: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": d1a0fb4671fb: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2e77be67bf7d: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 62002e1ba333: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 56aef7354f97: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": d341b0e83883: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 138f6acb03c5: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 12b34223de00: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 4ac658ebcc73: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 41dceb542baa: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 25afd0a4f5ad: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 5123d77986a4: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 84d91ee6cc7e: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 79cc58241fb0: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 02e935a465a6: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 0fc0bdc41842: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": e6af1d50e81f: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": cd05acb2663f: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": b7b1f77e3af6: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 0311f979b555: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 8d17bbdec097: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 713455ac51e7: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 47db0df2fe08: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": a06d0055d428: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": e511fe7b39bc: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": bf679d282389: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": a112d91da9b7: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2cfdf85d843e: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 27ebc4e6960c: Pulling fs layer Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": d341b0e83883: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": b117462b63bc: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 138f6acb03c5: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 12b34223de00: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": cd05acb2663f: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": b7b1f77e3af6: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 87976449b1e5: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": d1a0fb4671fb: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 713455ac51e7: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 8d17bbdec097: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": e511fe7b39bc: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 8e87d0a34575: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2cfdf85d843e: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 62002e1ba333: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 79cc58241fb0: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2e77be67bf7d: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 4ac658ebcc73: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": e6af1d50e81f: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 27ebc4e6960c: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 02e935a465a6: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 84d91ee6cc7e: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 5123d77986a4: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 0fc0bdc41842: Waiting Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 13510ee2656d: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 13510ee2656d: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2e211a822601: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2e211a822601: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 87976449b1e5: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 87976449b1e5: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": aef3b597e553: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": b549f31133a9: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": b549f31133a9: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": f00e028bbdaa: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": f00e028bbdaa: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 47db0df2fe08: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 47db0df2fe08: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": a06d0055d428: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": a06d0055d428: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": bf679d282389: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": bf679d282389: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": b117462b63bc: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": b117462b63bc: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": d1a0fb4671fb: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": d1a0fb4671fb: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 4d17b6254d09: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 4d17b6254d09: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 0311f979b555: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 0311f979b555: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2e77be67bf7d: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2e77be67bf7d: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 56aef7354f97: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 56aef7354f97: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 62002e1ba333: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 62002e1ba333: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": d341b0e83883: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": d341b0e83883: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 138f6acb03c5: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 138f6acb03c5: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 12b34223de00: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 12b34223de00: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 4ac658ebcc73: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 4ac658ebcc73: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 25afd0a4f5ad: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 41dceb542baa: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 41dceb542baa: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 5123d77986a4: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 5123d77986a4: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 84d91ee6cc7e: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 84d91ee6cc7e: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": b549f31133a9: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 79cc58241fb0: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 79cc58241fb0: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 02e935a465a6: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 02e935a465a6: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 0fc0bdc41842: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 0fc0bdc41842: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": cd05acb2663f: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": b7b1f77e3af6: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": e6af1d50e81f: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": e6af1d50e81f: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 713455ac51e7: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 713455ac51e7: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 8d17bbdec097: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 8d17bbdec097: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 8e87d0a34575: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 8e87d0a34575: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": a112d91da9b7: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": a112d91da9b7: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": e511fe7b39bc: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": e511fe7b39bc: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 27ebc4e6960c: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 27ebc4e6960c: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2cfdf85d843e: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2cfdf85d843e: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 489f6d9f3ce7: Verifying Checksum Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 489f6d9f3ce7: Download complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 4d17b6254d09: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 13510ee2656d: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": f00e028bbdaa: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2e211a822601: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 489f6d9f3ce7: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 87976449b1e5: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": aef3b597e553: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 8e87d0a34575: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 0311f979b555: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 47db0df2fe08: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": a06d0055d428: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": bf679d282389: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": b117462b63bc: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": d1a0fb4671fb: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2e77be67bf7d: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 62002e1ba333: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 56aef7354f97: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": d341b0e83883: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 138f6acb03c5: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 12b34223de00: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 4ac658ebcc73: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 41dceb542baa: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 25afd0a4f5ad: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 5123d77986a4: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 84d91ee6cc7e: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 79cc58241fb0: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 02e935a465a6: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 0fc0bdc41842: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": e6af1d50e81f: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": cd05acb2663f: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": b7b1f77e3af6: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 8d17bbdec097: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 713455ac51e7: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": e511fe7b39bc: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": a112d91da9b7: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 2cfdf85d843e: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 27ebc4e6960c: Pull complete Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Digest: sha256:2164666d587c954ef2b3cf308213666dd8c772b57bb6d740b11b6eacd563b47c Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": ---> 15277dc9a993 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Step 2/5 : RUN apt-get update && apt-get install -y cmake libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev libgtest-dev libgoogle-perftools-dev libsnappy-dev Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": ---> Running in aa6d40d35e91 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Fetched 383 kB in 1s (543 kB/s) Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Reading package lists... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Reading package lists... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Building dependency tree... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Reading state information... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": The following packages were automatically installed and are no longer required: Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": autotools-dev libsigsegv2 m4 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Use 'apt autoremove' to remove them. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": The following additional packages will be installed: Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": cmake-data googletest libarchive13 libgflags2.2 libgoogle-perftools4 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": libicu66 libjsoncpp1 libleveldb1d liblzma-dev libprotobuf-lite17 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": libprotobuf17 libprotoc17 librhash0 libsnappy1v5 libtcmalloc-minimal4 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": libunwind-dev libunwind8 libuv1 libxml2 zlib1g-dev Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Suggested packages: Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": cmake-doc ninja-build lrzip leveldb-doc liblzma-doc Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": The following NEW packages will be installed: Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": cmake cmake-data googletest libarchive13 libgflags-dev libgflags2.2 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": libgoogle-perftools-dev libgoogle-perftools4 libgtest-dev libicu66 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": libjsoncpp1 libleveldb-dev libleveldb1d liblzma-dev libprotobuf-dev Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": libprotobuf-lite17 libprotobuf17 libprotoc-dev libprotoc17 librhash0 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": libsnappy-dev libsnappy1v5 libtcmalloc-minimal4 libunwind-dev libunwind8 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": libuv1 libxml2 protobuf-compiler zlib1g-dev Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": 0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Need to get 22.9 MB of archives. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": After this operation, 123 MB of additional disk space will be used. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu66 amd64 66.1-2ubuntu2.1 [8515 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libxml2 amd64 2.9.10+dfsg-5ubuntu0.20.04.10 [640 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libuv1 amd64 1.34.2-1ubuntu1.5 [80.9 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake-data all 3.16.3-1ubuntu1.20.04.1 [1613 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libarchive13 amd64 3.4.0-2ubuntu1.5 [327 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 libjsoncpp1 amd64 1.7.4-3.1ubuntu2 [75.6 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 librhash0 amd64 1.3.9-1 [113 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake amd64 3.16.3-1ubuntu1.20.04.1 [3668 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:9 http://archive.ubuntu.com/ubuntu focal/universe amd64 googletest all 1.10.0-2 [623 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:10 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgflags2.2 amd64 2.2.2-1build1 [78.0 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:11 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgflags-dev amd64 2.2.2-1build1 [96.6 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 libtcmalloc-minimal4 amd64 2.7-1ubuntu2 [93.0 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libunwind8 amd64 1.2.1-9ubuntu0.1 [47.7 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:14 http://archive.ubuntu.com/ubuntu focal/main amd64 libgoogle-perftools4 amd64 2.7-1ubuntu2 [195 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 liblzma-dev amd64 5.2.4-1ubuntu1.1 [147 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libunwind-dev amd64 1.2.1-9ubuntu0.1 [472 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:17 http://archive.ubuntu.com/ubuntu focal/main amd64 libgoogle-perftools-dev amd64 2.7-1ubuntu2 [445 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:18 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgtest-dev amd64 1.10.0-2 [1583 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:19 http://archive.ubuntu.com/ubuntu focal/main amd64 libsnappy1v5 amd64 1.1.8-1build1 [16.7 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:20 http://archive.ubuntu.com/ubuntu focal/main amd64 libleveldb1d amd64 1.22-3ubuntu2 [139 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:21 http://archive.ubuntu.com/ubuntu focal/main amd64 libleveldb-dev amd64 1.22-3ubuntu2 [191 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:22 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotobuf-lite17 amd64 3.6.1.3-2ubuntu5.2 [132 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotobuf17 amd64 3.6.1.3-2ubuntu5.2 [798 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:24 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotoc17 amd64 3.6.1.3-2ubuntu5.2 [646 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:25 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu1.5 [155 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:26 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotobuf-dev amd64 3.6.1.3-2ubuntu5.2 [1156 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:27 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotoc-dev amd64 3.6.1.3-2ubuntu5.2 [794 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:28 http://archive.ubuntu.com/ubuntu focal/main amd64 libsnappy-dev amd64 1.1.8-1build1 [29.0 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Get:29 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 protobuf-compiler amd64 3.6.1.3-2ubuntu5.2 [27.6 kB] Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": debconf: delaying package configuration, since apt-utils is not installed Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Fetched 22.9 MB in 1s (37.5 MB/s) Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libicu66:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17483 files and directories currently installed.) Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../00-libicu66_66.1-2ubuntu2.1_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libxml2:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../01-libxml2_2.9.10+dfsg-5ubuntu0.20.04.10_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.10) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libuv1:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../02-libuv1_1.34.2-1ubuntu1.5_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package cmake-data. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../03-cmake-data_3.16.3-1ubuntu1.20.04.1_all.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libarchive13:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../04-libarchive13_3.4.0-2ubuntu1.5_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libarchive13:amd64 (3.4.0-2ubuntu1.5) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libjsoncpp1:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../05-libjsoncpp1_1.7.4-3.1ubuntu2_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package librhash0:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../06-librhash0_1.3.9-1_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking librhash0:amd64 (1.3.9-1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package cmake. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../07-cmake_3.16.3-1ubuntu1.20.04.1_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package googletest. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../08-googletest_1.10.0-2_all.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking googletest (1.10.0-2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libgflags2.2. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../09-libgflags2.2_2.2.2-1build1_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libgflags2.2 (2.2.2-1build1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libgflags-dev. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../10-libgflags-dev_2.2.2-1build1_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libgflags-dev (2.2.2-1build1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libtcmalloc-minimal4:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../11-libtcmalloc-minimal4_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libtcmalloc-minimal4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libunwind8:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../12-libunwind8_1.2.1-9ubuntu0.1_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libunwind8:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libgoogle-perftools4:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../13-libgoogle-perftools4_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libgoogle-perftools4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package liblzma-dev:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../14-liblzma-dev_5.2.4-1ubuntu1.1_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libunwind-dev:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../15-libunwind-dev_1.2.1-9ubuntu0.1_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libunwind-dev:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libgoogle-perftools-dev:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../16-libgoogle-perftools-dev_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libgoogle-perftools-dev:amd64 (2.7-1ubuntu2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libgtest-dev:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../17-libgtest-dev_1.10.0-2_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libgtest-dev:amd64 (1.10.0-2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libsnappy1v5:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../18-libsnappy1v5_1.1.8-1build1_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libsnappy1v5:amd64 (1.1.8-1build1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libleveldb1d:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../19-libleveldb1d_1.22-3ubuntu2_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libleveldb1d:amd64 (1.22-3ubuntu2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libleveldb-dev:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../20-libleveldb-dev_1.22-3ubuntu2_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libleveldb-dev:amd64 (1.22-3ubuntu2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libprotobuf-lite17:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../21-libprotobuf-lite17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libprotobuf-lite17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libprotobuf17:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../22-libprotobuf17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libprotobuf17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libprotoc17:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../23-libprotoc17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libprotoc17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package zlib1g-dev:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../24-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu1.5_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libprotobuf-dev:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../25-libprotobuf-dev_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libprotobuf-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libprotoc-dev:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../26-libprotoc-dev_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libprotoc-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package libsnappy-dev:amd64. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../27-libsnappy-dev_1.1.8-1build1_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking libsnappy-dev:amd64 (1.1.8-1build1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Selecting previously unselected package protobuf-compiler. Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Preparing to unpack .../28-protobuf-compiler_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Unpacking protobuf-compiler (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libprotobuf-lite17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libtcmalloc-minimal4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libunwind8:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up googletest (1.10.0-2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libsnappy1v5:amd64 (1.1.8-1build1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up librhash0:amd64 (1.3.9-1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libprotobuf17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.10) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libgoogle-perftools4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libgflags2.2 (2.2.2-1build1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libleveldb1d:amd64 (1.22-3ubuntu2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libprotoc17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libgtest-dev:amd64 (1.10.0-2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libunwind-dev:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up protobuf-compiler (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libleveldb-dev:amd64 (1.22-3ubuntu2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libarchive13:amd64 (3.4.0-2ubuntu1.5) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libgoogle-perftools-dev:amd64 (2.7-1ubuntu2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libsnappy-dev:amd64 (1.1.8-1build1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libprotobuf-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libgflags-dev (2.2.2-1build1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up libprotoc-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Setting up cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Processing triggers for libc-bin (2.31-0ubuntu9.18) ... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Removing intermediate container aa6d40d35e91 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": ---> 6266b00f76f0 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Step 3/5 : RUN git clone --depth 1 https://github.com/apache/brpc.git Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": ---> Running in ba60d23f9ac0 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Cloning into 'brpc'... Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Removing intermediate container ba60d23f9ac0 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": ---> f95c4cd8fa5a Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Step 4/5 : RUN cp $SRC/brpc/test/fuzzing/oss-fuzz.sh $SRC/build.sh Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": ---> Running in 134a66617648 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Removing intermediate container 134a66617648 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": ---> 15ce9e29fa7c Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Step 5/5 : WORKDIR $SRC/brpc/ Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": ---> Running in c291eae57ac3 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Removing intermediate container c291eae57ac3 Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": ---> 17c25a11d7bc Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Successfully built 17c25a11d7bc Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Successfully tagged gcr.io/oss-fuzz/brpc:latest Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3": Successfully tagged us-central1-docker.pkg.dev/oss-fuzz/unsafe/brpc:latest Finished Step #1 - "build-0ce53dbc-4e69-4ace-a73f-14d375c80de3" Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/brpc Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filecJf61P Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ c++ == \g\o ]] Step #2 - "srcmap": ++ find /src -name .git -type d Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/brpc/.git Step #2 - "srcmap": + GIT_DIR=/src/brpc Step #2 - "srcmap": + cd /src/brpc Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/apache/brpc.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=8734f06b1229e5b2968a963393e7e30096281a81 Step #2 - "srcmap": + jq_inplace /tmp/filecJf61P '."/src/brpc" = { type: "git", url: "https://github.com/apache/brpc.git", rev: "8734f06b1229e5b2968a963393e7e30096281a81" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileTlcnDc Step #2 - "srcmap": + cat /tmp/filecJf61P Step #2 - "srcmap": + jq '."/src/brpc" = { type: "git", url: "https://github.com/apache/brpc.git", rev: "8734f06b1229e5b2968a963393e7e30096281a81" }' Step #2 - "srcmap": + mv /tmp/fileTlcnDc /tmp/filecJf61P Step #2 - "srcmap": ++ find /src -name .svn -type d Step #2 - "srcmap": ++ find /src -name .hg -type d Step #2 - "srcmap": + '[' '' '!=' '' ']' Step #2 - "srcmap": + cat /tmp/filecJf61P Step #2 - "srcmap": + rm /tmp/filecJf61P Step #2 - "srcmap": { Step #2 - "srcmap": "/src/brpc": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/apache/brpc.git", Step #2 - "srcmap": "rev": "8734f06b1229e5b2968a963393e7e30096281a81" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-afl-address-x86_64" Step #3 - "compile-afl-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-afl-address-x86_64": Copying precompiled AFL++ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": AFL++ target compilation setup: Step #3 - "compile-afl-address-x86_64": AFL_IGNORE_UNKNOWN_ENVS=1 Step #3 - "compile-afl-address-x86_64": AFL_QUIET=1 Step #3 - "compile-afl-address-x86_64": AFL_IGNORE_PROBLEMS=1 Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": done. Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": CC=/src/aflplusplus/afl-clang-fast Step #3 - "compile-afl-address-x86_64": CXX=/src/aflplusplus/afl-clang-fast++ Step #3 - "compile-afl-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope Step #3 - "compile-afl-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -stdlib=libc++ Step #3 - "compile-afl-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": + '[' address = undefined ']' Step #3 - "compile-afl-address-x86_64": + mkdir -p build Step #3 - "compile-afl-address-x86_64": + cd build Step #3 - "compile-afl-address-x86_64": + cmake -DCMAKE_C_COMPILER=/src/aflplusplus/afl-clang-fast -DCMAKE_CXX_COMPILER=/src/aflplusplus/afl-clang-fast++ '-DCMAKE_C_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope ' '-DCMAKE_CXX_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope ' '-DCMAKE_CPP_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope ' '-DCMAKE_EXE_LINKER_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope ' -DLIB_FUZZING_ENGINE=/usr/lib/libFuzzingEngine.a -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DWITH_SNAPPY=ON -DBUILD_UNIT_TESTS=ON -DBUILD_FUZZ_TESTS=ON ../. Step #3 - "compile-afl-address-x86_64": CMake Deprecation Warning at CMakeLists.txt:18 (cmake_minimum_required): Step #3 - "compile-afl-address-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #3 - "compile-afl-address-x86_64": CMake. Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #3 - "compile-afl-address-x86_64": CMake that the project does not need compatibility with older versions. Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": -- The C compiler identification is Clang 22.0.0 Step #3 - "compile-afl-address-x86_64": -- The CXX compiler identification is Clang 22.0.0 Step #3 - "compile-afl-address-x86_64": -- Detecting C compiler ABI info Step #3 - "compile-afl-address-x86_64": -- Detecting C compiler ABI info - done Step #3 - "compile-afl-address-x86_64": -- Check for working C compiler: /src/aflplusplus/afl-clang-fast - skipped Step #3 - "compile-afl-address-x86_64": -- Detecting C compile features Step #3 - "compile-afl-address-x86_64": -- Detecting C compile features - done Step #3 - "compile-afl-address-x86_64": -- Detecting CXX compiler ABI info Step #3 - "compile-afl-address-x86_64": -- Detecting CXX compiler ABI info - done Step #3 - "compile-afl-address-x86_64": -- Check for working CXX compiler: /src/aflplusplus/afl-clang-fast++ - skipped Step #3 - "compile-afl-address-x86_64": -- Detecting CXX compile features Step #3 - "compile-afl-address-x86_64": -- Detecting CXX compile features - done Step #3 - "compile-afl-address-x86_64": -- Found gflags: /usr/lib/x86_64-linux-gnu/libgflags.so Step #3 - "compile-afl-address-x86_64": -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so (found version "3.6.1") Step #3 - "compile-afl-address-x86_64": -- Found Threads: TRUE Step #3 - "compile-afl-address-x86_64": -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f") Step #3 - "compile-afl-address-x86_64": -- Found Gperftools: /usr/lib/x86_64-linux-gnu/libtcmalloc_and_profiler.so Step #3 - "compile-afl-address-x86_64": CMake Deprecation Warning at CMakeLists.txt:16 (cmake_minimum_required): Step #3 - "compile-afl-address-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #3 - "compile-afl-address-x86_64": CMake. Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #3 - "compile-afl-address-x86_64": CMake that the project does not need compatibility with older versions. Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": -- Configuring done (0.0s) Step #3 - "compile-afl-address-x86_64": -- Generating done (0.0s) Step #3 - "compile-afl-address-x86_64": -- Build files have been written to: /src/brpc/build/googletest-download Step #3 - "compile-afl-address-x86_64": [ 11%] Creating directories for 'googletest' Step #3 - "compile-afl-address-x86_64": [ 22%] Performing download step (git clone) for 'googletest' Step #3 - "compile-afl-address-x86_64": Cloning into 'googletest-src'... Step #3 - "compile-afl-address-x86_64": HEAD is now at 15460959 Update versions of WORKSPACE dependencies Step #3 - "compile-afl-address-x86_64": [ 33%] Performing update step for 'googletest' Step #3 - "compile-afl-address-x86_64": [ 44%] No patch step for 'googletest' Step #3 - "compile-afl-address-x86_64": [ 55%] No configure step for 'googletest' Step #3 - "compile-afl-address-x86_64": [ 66%] No build step for 'googletest' Step #3 - "compile-afl-address-x86_64": [ 77%] No install step for 'googletest' Step #3 - "compile-afl-address-x86_64": [ 88%] No test step for 'googletest' Step #3 - "compile-afl-address-x86_64": [100%] Completed 'googletest' Step #3 - "compile-afl-address-x86_64": [100%] Built target googletest Step #3 - "compile-afl-address-x86_64": -- Found Python: /usr/local/bin/python3.11 (found version "3.11.13") found components: Interpreter Step #3 - "compile-afl-address-x86_64": -- Configuring done (3.2s) Step #3 - "compile-afl-address-x86_64": -- Generating done (0.4s) Step #3 - "compile-afl-address-x86_64": -- Build files have been written to: /src/brpc/build Step #3 - "compile-afl-address-x86_64": ++ nproc Step #3 - "compile-afl-address-x86_64": + make fuzz_butil fuzz_esp fuzz_hpack fuzz_http fuzz_hulu fuzz_json fuzz_redis fuzz_shead fuzz_sofa fuzz_uri --ignore-errors -j32 Step #3 - "compile-afl-address-x86_64": [ 0%] Generating idl_options.pb.h, idl_options.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating v3.pb.h, v3.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/builtin_service.pb.h, brpc/builtin_service.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/get_favicon.pb.h, brpc/get_favicon.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating addressbook.pb.h, addressbook.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/errno.pb.h, brpc/errno.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/get_js.pb.h, brpc/get_js.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating addressbook1.pb.h, addressbook1.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/options.pb.h, brpc/options.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating addressbook_encode_decode.pb.h, addressbook_encode_decode.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating addressbook_map.pb.h, addressbook_map.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating echo.pb.h, echo.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating grpc.pb.h, grpc.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/policy/mongo.pb.h, brpc/policy/mongo.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/policy/hulu_pbrpc_meta.pb.h, brpc/policy/hulu_pbrpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating health_check.pb.h, health_check.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/policy/public_pbrpc_meta.pb.h, brpc/policy/public_pbrpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating iobuf.pb.h, iobuf.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating message.pb.h, message.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/proto_base.pb.h, brpc/proto_base.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating repeated.pb.h, repeated.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/span.pb.h, brpc/span.pb.cc Step #3 - "compile-afl-address-x86_64": [ 8%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #3 - "compile-afl-address-x86_64": [ 8%] Generating v2.pb.h, v2.pb.cc Step #3 - "compile-afl-address-x86_64": [ 8%] Generating v1.pb.h, v1.pb.cc Step #3 - "compile-afl-address-x86_64": [ 8%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 8%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dynamic_annotations/dynamic_annotations.c.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/icu/icu_utf.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/modp_b64/modp_b64.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-sinksource.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-stubs-internal.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path_constants.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_file.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_temp_dir.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/hash.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/lazy_instance.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/location.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/aligned_memory.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted_memory.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/safe_strerror_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/sha1_portable.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_piece.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_offset_string_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversion_utils.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/non_thread_safe_impl.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_id_name_manager.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/find_cstr.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/status.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/zero_copy_stream_as_streambuf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/containers/case_ignored_flat_map.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/sys_string_conversions_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_js.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/options.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/recordio.cc:318:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 318 | char metabuf[s.name.size() + 5]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/recordio.cc:318:22: note: initializer of 's' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/recordio.cc:312:15: note: declared here Step #3 - "compile-afl-address-x86_64": 312 | auto& s = rec.MetaAt(i); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/sofa_pbrpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 833 | struct iovec vec[nref]; Step #3 - "compile-afl-address-x86_64": |  ^~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: note: initializer of 'nref' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/iobuf.cpp:832:18: note: declared here Step #3 - "compile-afl-address-x86_64": 832 | const size_t nref = std::m[ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.pb.cc.o Step #3 - "compile-afl-address-x86_64": in(_ref_num(), IOBUF_IOV_MAX); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 864 | struct iovec vec[nref]; Step #3 - "compile-afl-address-x86_64": |  ^~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: note: initializer of 'nref' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/iobuf.cpp:863:18: note: declared here Step #3 - "compile-afl-address-x86_64": 863 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/streaming_rpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/proto_base.pb.cc.o Step #3 - "compile-afl-address-x86_64": 1 warning generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/collector.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread_once.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/butex.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/condition_variable.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/json_to_pb.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/encode_decode.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/pb_to_json.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_connection_type.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_max_concurrency.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/amf.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:75:39: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<30UL>' requested here Step #3 - "compile-afl-address-x86_64": 75 | g->get_interval_at(index).merge(interval); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :134:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 134 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :130:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 130 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<30>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/combiner.h:225:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 225 | const ElementTp element_identity = ElementTp(), Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:680:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here Step #3 - "compile-afl-address-x86_64": 680 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:1344:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #3 - "compile-afl-address-x86_64": 1344 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:359:4: note: in instantiation of function template specialization 'std::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #3 - "compile-afl-address-x86_64": 359 | : __shared_ptr<_Tp>(__tag, std::forwardIn file included from <_Args/src/brpc/src/bthread/countdown_event.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/countdown_event.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": >(__args)...) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  289 | memset(this, 0, sizeof(*/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:701:14: note: thiin instantiation of function template specialization 'std::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #3 - "compile-afl-address-x86_64": s)); 701 |  Step #3 - "compile-afl-address-x86_64": return shared_ptr<_Tp>(_Sp_alloc_sha red_tag<_|  ^Alloc>{__a}, Step #3 - "compile-afl-address-x86_64": |  Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:717:19: note: in instantiation of function template specialization 'std::allocate_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample 717( | ) : data(), time_us(re0)turn std::allocat {} Step #3 - "compile-afl-address-x86_64": e_ s| ha ^red Step #3 - "compile-afl-address-x86_64": <_Tp>/src/brpc/src/bvar/detail/sampler.h:116:23: (std::allocanote: torin instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": <_Tp _116nc> | Sample tmp; Step #3 - "compile-afl-address-x86_64": (), Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": | /src/brpc/src/bvar/detail/sampler.h:98:9 ^ Step #3 - "compile-afl-address-x86_64": : note: /src/brpc/src/bvar/detail/percentile.cpp:89in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here:22:  Step #3 - "compile-afl-address-x86_64": note: in instantiation of function template specialization 'std::make_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>' requested here Step #3 - "compile-afl-address-x86_64": 98 | 89 | t a k: e__csamombpilen(er)(s; Step #3 - "compile-afl-address-x86_64": t d| : ^ Step #3 - "compile-afl-address-x86_64": :make_/src/brpc/src/bvar/detail/percentile.h:s529:h28: arednote: <cin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": ombiner_ty pe>(529)), | _ sam ple r( NU LL _)s {}amp Step #3 - "compile-afl-address-x86_64": ler|  ^ Step #3 - "compile-afl-address-x86_64": = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: In file included from /src/brpc/src/bvar/latency_recorder.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | mems/src/brpc/src/bvar/detail/percentile.he:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": t(this 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": , 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": time_ 289 | memset(uthis, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": s(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/semaphore.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/rwlock.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/rwlock.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<1022>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.cpp:64:55: note: in instantiation of member function 'bvar::detail::PercentileSamples<1022>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 64 | std::unique_ptr cb(new CombinedPercentileSamples); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/timer_thread.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/id.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/collector.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:9827 | : Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h: 26 : Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h: 289t:a16k: ewarning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": _sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  289 | mems/src/brpc/src/bvar/detail/percentile.he:t529:/src/brpc/src/bvar/detail/percentile.h28::132 :13:note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested herewarning: Step #3 - "compile-afl-address-x86_64": (this,  0529 | ,  s i zvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] _esaomfp Step #3 - "compile-afl-address-x86_64": le r =( *nte132 | h wis )s ); a m Step #3 - "compile-afl-address-x86_64": p| le ^r Step #3 - "compile-afl-address-x86_64": _type  /src/brpc/src/bvar/detail/sampler.h (:40:16:  note:  in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": Dt 40 | his ) ;Sa Step #3 - "compile-afl-address-x86_64": EFmIpl e(| ) ^: Step #3 - "compile-afl-address-x86_64": N data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116/src/brpc/src/bvar/detail/percentile.h | : 289 : 16 SamEple<_SMT> tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :/src/brpc/src/bvar/detail/sampler.h :98:note: 9:explicitly cast the pointer to silence this warning  Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 289 | 98 | AtaLkLe__AsRaRmApYle(); Step #3 - "compile-afl-address-x86_64": |  ^m Step #3 - "compile-afl-address-x86_64": emset/src/brpc/src/bvar/detail/percentile.h(:529t:h28i:s , note: 0in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here, Step #3 - "compile-afl-address-x86_64": size o529f |  ( *  t h i s  ) ) ; _ Step #3 - "compile-afl-address-x86_64": s a| mp ^l Step #3 - "compile-afl-address-x86_64": er | = (void*) Step #3 - "compile-afl-address-x86_64": new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": (uint32_t, tmp, rhs._num_sampl/src/brpc/src/bvar/detail/percentile.h:289:16: es,note: 64);explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' 289 | Step #3 - "compile-afl-address-x86_64": memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :176:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 176 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :172:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 172 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sample[ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #3 - "compile-afl-address-x86_64": r = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 162 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/execution_queue.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/execution_queue.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | In file included from S/src/brpc/src/bthread/fd.cpp:36: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26ample : Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": tmp; Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": | 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23 ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": : note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 98116 | | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this) ; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  take_/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": sample(); 289 |  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": | In file included from /src/brpc/src/bthread/bthread.cpp: ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h28: Step #3 - "compile-afl-address-x86_64": :426:42: In file included from /src/brpc/src/bthread/task_group.hnote: :26expanded from macro 'DEFINE_SMALL_ARRAY': Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this Step #3 - "compile-afl-address-x86_64": , 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 426 | 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": c/src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": har 98 |  take_nsaammple(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": e#/src/brpc/src/bvar/detail/percentile.h:#_stack529_:array[28:sizeof (Tp) * note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": name##_st 529 | ack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  _sampl:e176r: 1=: note: expanded from here Step #3 - "compile-afl-address-x86_64": 176 | tmp_stack_array_siz new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": e Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289425: | 16 : const unote: nsexplicitly cast the pointer to silence this warningi Step #3 - "compile-afl-address-x86_64": gned name##_stack_a289rr | a y _ s i z e =m e(mnseatm(e#t#_hsisi, 0, ze <= s(imzaexosfiz(e*) t?h insam)e); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  | ##_siz (void*)e Step #3 - "compile-afl-address-x86_64": : In file included from /src/brpc/src/bthread/key.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this));0); \ Step #3 - "compile-afl-address-x86_64": |  Step #3 - "compile-afl-address-x86_64": |  ^ ^ Step #3 - "compile-afl-address-x86_64": :172:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 172 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :153:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 153 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :149:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 149 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/butex.cpp:35: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :173:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 173 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :169:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 169 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :170:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 170 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_st/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]ack_array_size Step #3 - "compile-afl-address-x86_64": = (name##_size <= (maxsize) ? name##_si 132 | DEFINE_SMALL_ARRze : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": AY(uint32_t, t:166:1: mp, rhs._note: expanded from here Step #3 - "compile-afl-address-x86_64": nu 166 | tmp_m_stack_asamples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:rr29: note: aexpanded from macro 'DEFINE_SMALL_ARRAY'y_ Step #3 - "compile-afl-address-x86_64": size 426 | Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :164:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 164 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :160:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 160 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 599 | DEFINE_SMALL_ARRAY(int, nums, ngroup, 128); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: initializer of 'nums_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :121:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 121 | nums_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :117:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 117 | nums_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, /src/brpc/src/bvar/detail/percentile.h6:4132:)13;: Step #3 - "compile-afl-address-x86_64":  | warning:  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 132426 | |  c h a r  nDaEmFeI#N#E__sSMALL_ARtRaAcYk(_uairnrta3y2[_ts,i ztemopf, (rThps). _*n unma_msea#m#p_lsetsa,c k_6a4rr)a;y_ Step #3 - "compile-afl-address-x86_64": s i| ze ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~] Step #3 - "compile-afl-address-x86_64": ;  /src/brpc/src/butil/macros.h : 426 :\29: Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~note: Step #3 - "compile-afl-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364 :42636 | :   note: cin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereha Step #3 - "compile-afl-address-x86_64": r name##_s t364a | c k _ a r r a y [  s i z e o f (Tp)g e*t _nianmtee#r#v_aslt_aactk(_ia)r.rmaeyr_gsei(z*er]h;s . _ i ntervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": \ 499 Step #3 - "compile-afl-address-x86_64": | |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/mcpack2pb/serializer.cpp/src/brpc/src/bvar/detail/percentile.h::317364::3836::  bwarning: note: 1.in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested heremvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]e Step #3 - "compile-afl-address-x86_64": r Step #3 - "compile-afl-address-x86_64": ge(b2); 364 Step #3 - "compile-afl-address-x86_64": | |  ^ Step #3 - "compile-afl-address-x86_64":  317 |  /src/brpc/src/bvar/window.h : 53 : 17 :  g note: e  in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested hereFi Step #3 - "compile-afl-address-x86_64": xedHe a53d | A n d V a l u e < T> t m p [ c u r__vbaart-c>ho]p;() Step #3 - "compile-afl-address-x86_64": ( v| 1, ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": v2); Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/mcpack2pb/serializer.cpp| :317 ^: Step #3 - "compile-afl-address-x86_64": 38: note: initializer of 'cur_batch' is not a constant expression/src/brpc/src/bvar/detail/call_op_returning_void.h: Step #3 - "compile-afl-address-x86_64": 29/src/brpc/src/mcpack2pb/serializer.cpp::12316:: 26: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested herenote:  Step #3 - "compile-afl-address-x86_64": declared here Step #3 - "compile-afl-address-x86_64": 29 | return o p316( | v 1 , v 2 ) ;  Step #3 - "compile-afl-address-x86_64": t _ | in ^ct Step #3 - "compile-afl-address-x86_64": oenrsvtal/src/brpc/src/bvar/detail/series.h _:sa168it:z(13ei:_) t. mcnote: eurrin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereg_eb Step #3 - "compile-afl-address-x86_64": (a*trchhs .=168_ | is nt td e: r: vm ai ln s( n , [BciAa]Tl)Cl;H_)o Step #3 - "compile-afl-address-x86_64": ;p _| Step #3 - "compile-afl-address-x86_64": r e| t ^u ^ Step #3 - "compile-afl-address-x86_64": r Step #3 - "compile-afl-address-x86_64": ning/src/brpc/src/bvar/detail/percentile.h_:v499o:i12d:( op,note: tin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested heremp Step #3 - "compile-afl-address-x86_64": , _data.second(i)); Step #3 - "compile-afl-address-x86_64": 499| |  ^ Step #3 - "compile-afl-address-x86_64":  b1/src/brpc/src/bvar/detail/series.h.:m116e:r16g:e (b2note: );in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note:  in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here116 | Step #3 - "compile-afl-address-x86_64": 53r | e t u r n  a p p e n d _ s e c_ovnadr(-v>aolpu(e),( v_1o,p )v;2) Step #3 - "compile-afl-address-x86_64": ; | Step #3 - "compile-afl-address-x86_64":  ^| Step #3 - "compile-afl-address-x86_64":  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:/src/brpc/src/bvar/detail/call_op_returning_void.h65::2925::12 : note: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 6529 | |  r e t u r n _ soepr(ive1s,. avp2p)e;nd Step #3 - "compile-afl-address-x86_64": ( _| ow ^n Step #3 - "compile-afl-address-x86_64": er->g/src/brpc/src/bvar/detail/series.he:t168_:v13a:l ue(note: 1in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here) Step #3 - "compile-afl-address-x86_64": ); Step #3 - "compile-afl-address-x86_64": |  ^168 Step #3 - "compile-afl-address-x86_64": |   /src/brpc/src/bvar/window.h : 58 : 9 :   note: cain instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herell Step #3 - "compile-afl-address-x86_64": _op_re t58u | r n i n g _ v o iSde(roipe,s Sampletrm(pW,i n_ddoawtBaa.ssee*c oonwdn(eir),) ;R* Step #3 - "compile-afl-address-x86_64": v| ar ^) Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": | /src/brpc/src/bvar/detail/series.h ^: Step #3 - "compile-afl-address-x86_64": 116:16: /src/brpc/src/bvar/window.h:note: 151:in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here35: Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151116 | |  r e t_usrenri easp_pseanmdp_lseerc o=n d(nveawlu eS,e r_ioeps)S;am Step #3 - "compile-afl-address-x86_64": p l| er ^( Step #3 - "compile-afl-address-x86_64": this,/src/brpc/src/bvar/window.h :_65v:a25r:) ; Step #3 - "compile-afl-address-x86_64": note: | in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h :6549 | : 7 :   note:  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here  Step #3 - "compile-afl-address-x86_64": _ s49e | ricelsa.sasp Lpaetnedn(c_yoRwenceorr-d>egreBta_svea l{ue Step #3 - "compile-afl-address-x86_64": ( | 1 ^) Step #3 - "compile-afl-address-x86_64": ); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13/src/brpc/src/bvar/window.h: :58:9: note: note: initializer of 'tmp_stack_array_size' is not a constant expressionin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 58 | 132 | S e r i e s S aDmEpFlIeNrE(_WSiMnAdLoLw_BAaRsReA*Y (ouwinnetr3,2 _Rt*, vtamrp), Step #3 - "compile-afl-address-x86_64": r h| s. ^_ Step #3 - "compile-afl-address-x86_64": num_sam/src/brpc/src/bvar/window.hp:l151e:s35,: 64note: )in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here; Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/butil/macros.h151: | 426 : 42 :   note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #3 - "compile-afl-address-x86_64": _series_samp l426e | r = ncehwar S enraimees#S#a_msptlaecrk(_atrhriasy[, s_ivzaero)f;( Step #3 - "compile-afl-address-x86_64": T p| ) ^* Step #3 - "compile-afl-address-x86_64": name##_/src/brpc/src/bvar/latency_recorder.hs:t49ac:k7_:a rranote: y_in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heresi Step #3 - "compile-afl-address-x86_64": ze]; 49 | \c Step #3 - "compile-afl-address-x86_64": l a| ss ^ Step #3 - "compile-afl-address-x86_64": Latenc:y164R:e1c:o rdenote: rBexpanded from hereas Step #3 - "compile-afl-address-x86_64": e { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:132:16413 | :t mp_note: stinitializer of 'tmp_stack_array_size' is not a constant expressionac Step #3 - "compile-afl-address-x86_64": k_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 132 |  /src/brpc/src/bvar/detail/percentile.h : 132 : 13 :   note: Ddeclared hereEF Step #3 - "compile-afl-address-x86_64": INE_/src/brpc/src/butil/macros.hS:M425A:L20L:_ ARRnote: AYexpanded from macro 'DEFINE_SMALL_ARRAY'(u Step #3 - "compile-afl-address-x86_64": int32_t, tmp ,425 | r h s . _ncuomn_sstam pluenss,i gn6e4d) ;na Step #3 - "compile-afl-address-x86_64": m e| ## ^_ Step #3 - "compile-afl-address-x86_64": stac/src/brpc/src/butil/macros.hk:_426a:r42r:a y_snote: ize =expanded from macro 'DEFINE_SMALL_ARRAY' ( Step #3 - "compile-afl-address-x86_64": name##_size 426< | = ( m axcshiazre) n?a mnea#m#e_#s#t_ascikz_ea r:r ay0[)s;i z\eof(Tp) Step #3 - "compile-afl-address-x86_64": *| n ^a Step #3 - "compile-afl-address-x86_64": me##:_160s:t1a:c k_anote: rrexpanded from hereay Step #3 - "compile-afl-address-x86_64": _size]; 160\ | t Step #3 - "compile-afl-address-x86_64": m p| _s ^t Step #3 - "compile-afl-address-x86_64": ack_array_size Step #3 - "compile-afl-address-x86_64": | :^164 Step #3 - "compile-afl-address-x86_64": :1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 164 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :160:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 160 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :197:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 197 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :193:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 193 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.cpp:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:377:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 377 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:379:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 379 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:381:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 381 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:383:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 383 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:385:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 385 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:387:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 387 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:389:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 389 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:391:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 391 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:393:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 393 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:395:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 395 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:397:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 397 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :160:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 160 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :156:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 156 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flags_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flot_min_js.cpp.o Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_favicon_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/grpc_health_check_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_group.cpp:36: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_service.cpp.o Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_service.cpp.o Step #3 - "compile-afl-address-x86_64": warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :170:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 170 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :189:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 189 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_service.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/adaptive_max_concurrency.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :222:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 222 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :218:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 218 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/memory_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_perl.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/prometheus_metrics_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/bthreads_service.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | In file included from r/src/brpc/src/brpc/builtin/common.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from e/src/brpc/src/brpc/server.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.hturn: a32p: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27pe: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28nd_: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": seco n289 | d(value, _op memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data()),; time_us( Step #3 - "compile-afl-address-x86_64": 0) {} |  ^ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: /src/brpc/src/bvar/detail/sampler.hin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here: Step #3 - "compile-afl-address-x86_64": 116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 65 | 116 | _series. a p pend(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  Sa/src/brpc/src/bvar/window.h:mpl58e:9 tnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": m p58 | ; SeriesSampler Step #3 - "compile-afl-address-x86_64": (| Win ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.hdo:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herew Step #3 - "compile-afl-address-x86_64": 98 | B take_sample(); Step #3 - "compile-afl-address-x86_64": | a ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:s28: note: ein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": * 529 | o wn er, R* va _sr) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ampler/src/brpc/src/bvar/window.h: 151=:35 : note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": new s ampl151 | _seriese_r_tsype(thisa);mpler = n Step #3 - "compile-afl-address-x86_64": ew |  Se ^rie Step #3 - "compile-afl-address-x86_64": sSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7/src/brpc/src/bvar/detail/percentile.h: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": :289: 1649: | classnote:  Lexplicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": atencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^289 | Step #3 - "compile-afl-address-x86_64": memset/src/brpc/src/bvar/detail/percentile.h:132:13: note: (initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": this, 0, sizeof132( | *th is)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :176:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 176 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :172:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 172 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/dir_service.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sorttable_js.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_favicon_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/bad_method_service.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | 2 warnings generated. Step #3 - "compile-afl-address-x86_64": _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/threads_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_js_service.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35:[ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :199:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 199 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :195:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 195 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/grpc_health_check_service.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/viz_min_js.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/flags_service.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/connections_service.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | 426 _sampler = new sampler_type( | t h i s); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": char/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64":  289 | memset(thisn, 0, sizaeofme##_sta(ck_ar*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": ray[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :240:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 240 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :236:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 236 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/cluster_recover_policy.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | In file included from _var-/src/brpc/src/brpc/builtin/index_service.cpp:22>op(: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": )(v1, v2); Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": |  289 | memset(this, 0, sizeof(*thi ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: s))note: ;in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 |  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ret/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": urn op(v 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 1 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": , 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 168 | 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :229:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 229 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :225:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 225 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/ids_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/health_service.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/compress.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/hotspots_service.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/couchbase.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :16:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 16 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :12:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 12 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :50:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 50 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :46:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 46 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.cpp.o Step #3 - "compile-afl-address-x86_64": 12 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/list_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/memory_service.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": n 132 | DEFINE_SMAum_sLL_aARRAmY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stacplk_array[sizeof(Tp) * namees##_stac, k64)_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_a;rra Step #3 - "compile-afl-address-x86_64": y _| si ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~z Step #3 - "compile-afl-address-x86_64": e Step #3 - "compile-afl-address-x86_64":  | ^/src/brpc/src/butil/macros.h Step #3 - "compile-afl-address-x86_64": :426[ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.cpp.o Step #3 - "compile-afl-address-x86_64": :29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/load_balancer_with_naming.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/pprof_service.cpp:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/naming_service_thread.cpp.o Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.cpp.o Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :250:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 250 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :246:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 246 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/prometheus_metrics_service.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | SampleIn file included from /src/brpc/src/brpc/builtin/protobufs_service.cpp t:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": mIn file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.hp;:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 289 | /src/brpc/src/bvar/detail/sampler.h : 98 :9: memset(this, 0, sizeof(*note: this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64":  98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_tin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | ype(this); Step #3 - "compile-afl-address-x86_64": t| ak ^e Step #3 - "compile-afl-address-x86_64": _s/src/brpc/src/bvar/detail/percentile.h:289:16: ample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _samplernote: =explicitly cast the pointer to silence this warning  Step #3 - "compile-afl-address-x86_64": n ew sampler_type(this)289; |  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  memset(this, 0, sizeof(*this));/src/brpc/src/bvar/detail/percentile.h Step #3 - "compile-afl-address-x86_64": :| 289: ^16 Step #3 - "compile-afl-address-x86_64":  :|  (void*) Step #3 - "compile-afl-address-x86_64": note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/ssl_helper.cpp.o Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/tcmalloc_extension.cpp.o Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/usercode_backup_pool.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": note: 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64":  426in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here |  Step #3 - "compile-afl-address-x86_64": c har 168 | name##_s tack_array[ sizeof(Tp) * name##_stack_array_size]; \  Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": cal 364 | gl_ope_rett_iuntrenrval_at(i).merge(*rhs.i_inngt_evrvalsoid[(op, tmp, _data.secondi(i]); Step #3 - "compile-afl-address-x86_64": |  ^) Step #3 - "compile-afl-address-x86_64": )/src/brpc/src/bvar/detail/percentile.h:499:12:; note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  b/src/brpc/src/bvar/detail/series.h1.merge(b2):; Step #3 - "compile-afl-address-x86_64": | 116 ^ Step #3 - "compile-afl-address-x86_64": :16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here/src/brpc/src/bvar/window.h Step #3 - "compile-afl-address-x86_64": :53 116 | :17: note: return apin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested herepend_second(v Step #3 - "compile-afl-address-x86_64": 53al | _var->op()(v1, v2u);e Step #3 - "compile-afl-address-x86_64": ,| _ ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12o:p );note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/series.h:|  ^168:13 Step #3 - "compile-afl-address-x86_64": : /src/brpc/src/bvar/window.hnote: :in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 65: 168 | 25:  callnote: _opin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here_ret Step #3 - "compile-afl-address-x86_64": urnin 65 | g_void(op, tmp _series.app,end( __owner->gdet_ata.vsecond(i))al;ue(1)) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ;/src/brpc/src/bvar/detail/series.h:116:16: Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h: 116 | 58:9:   note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereretur Step #3 - "compile-afl-address-x86_64": n 58 | a p pSeernide_sseSamcpolnedr((vWailnudeo,w B_aospe)*; o Step #3 - "compile-afl-address-x86_64": w n| er ^, Step #3 - "compile-afl-address-x86_64": R* var) Step #3 - "compile-afl-address-x86_64": | /src/brpc/src/bvar/window.h: ^65 Step #3 - "compile-afl-address-x86_64": :25: /src/brpc/src/bvar/window.hnote: :151in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here:35 Step #3 - "compile-afl-address-x86_64": : note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 65 | 151 | _se _series.appries_sampler = new SeriesSampler(thiend(_owner->get_valuse(, 1_var));); Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: 49 | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereclass LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tm[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o Step #3 - "compile-afl-address-x86_64": p, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132: | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :229:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 229 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: 13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsisgtnedack_ naarray_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const ume##_stack_array_size =2 warnings generated. Step #3 - "compile-afl-address-x86_64": (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :225:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": nsigned 225name##_stack_array_size = | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/threads_service.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/rpcz_service.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/sockets_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vars_service.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_sizIn file included from /src/brpc/src/brpc/builtin/version_service.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": e 289 | Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/global.cpp.o Step #3 - "compile-afl-address-x86_64": a memset(thisr, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() r:a y_data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": | size = (name##_s ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": ize <= (maxs 116 | i Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": z e) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 98 | t 215 | ake_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _samptler mp= new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": _stack_arr/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": ay_s 289i | ze memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/status_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeIn file included from o/src/brpc/src/brpc/checksum.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/checksum.hf(*this:21)); Step #3 - "compile-afl-address-x86_64": |  ^: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37 Step #3 - "compile-afl-address-x86_64": : Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h| :25 (void*): Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vlog_service.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.cpp.o Step #3 - "compile-afl-address-x86_64": :13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": n 132 | am DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": e/src/brpc/src/butil/macros.h:426#:#_s29: tanote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426c | k cha_r name##_stack_array[sizeof(Tp) * namare#r#_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": a/src/brpc/src/bvar/detail/percentile.h:y364:36:_ note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": s 364 | i get_interval_at(i).merzge]; e \(*r Step #3 - "compile-afl-address-x86_64": | hs._intervals[i ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 364 | /src/brpc/src/bvar/window.h :53: 17 :   note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here  Step #3 - "compile-afl-address-x86_64": ge53t | _ i nterval_at(i).merg _var->op()(v1, e(*rhs._intervals[iv2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29/src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.m | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": erge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _d/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: ain instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereta Step #3 - "compile-afl-address-x86_64": . seco29n | d( i ) ) ;r/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": et Step #3 - "compile-afl-address-x86_64": u 132 | r | n o p(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  ^/src/brpc/src/bvar/detail/series.h:168:13:  Step #3 - "compile-afl-address-x86_64": note: /src/brpc/src/bvar/detail/series.hin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": DEFINE_SMALL_ARRAY(uint32_t, tmp, rh s168. | _ num_sample s ,  6 4  ) ;  Step #3 - "compile-afl-address-x86_64": c a| ll ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_ Step #3 - "compile-afl-address-x86_64": op_r/src/brpc/src/butil/macros.he:t426u:r29:n ingnote: _vexpanded from macro 'DEFINE_SMALL_ARRAY'oi Step #3 - "compile-afl-address-x86_64": d(op, tmp, _data.secon d426( | i ) ) ;  Step #3 - "compile-afl-address-x86_64": c h| ar ^ Step #3 - "compile-afl-address-x86_64": name##_stack_array[sizeof(Tp) * name##_stack_array_size]; :/src/brpc/src/bvar/detail/series.h:116116::1616:: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | note: SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 116 | r 364e | t u r n  a p p e n d _ s e c ognedt(_invtaelruvea,l _at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35_o: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": p 151 | ); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": _series_sampler = new Serie/src/brpc/src/bvar/window.h:65:25: note: sSamplein instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herer( Step #3 - "compile-afl-address-x86_64": this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/latency_recorder.h65: | 49 : 7 :   note:  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here  Step #3 - "compile-afl-address-x86_64": 29 | return o 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132_ | s e r i e s. pa (p pv 1e n,Dd E(vF_2Io)Nw;En_ Step #3 - "compile-afl-address-x86_64": eS rM-| A>Lg ^Le Step #3 - "compile-afl-address-x86_64": _tA_RvRaAlYu(e/src/brpc/src/bvar/detail/series.hu(:i1681n:t13)3:)2 ; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": _t,note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSa58 tmp, rhs._num_samp | les, 64) ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/butil/macros.h:426: Serie42: sSamplenote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": r(W 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": mpler(WindoiwBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": nd/src/brpc/src/bvar/window.howBase:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": * 151 | _se owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": ries_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :229:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 229 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :225:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 225 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :160:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 160 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :156:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 156 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/http_message.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http2.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/compress.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_header.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = 2 warnings generated. Step #3 - "compile-afl-address-x86_64": new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 162 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/input_messenger.cpp.o Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :242:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 242 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :238:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 238 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/cluster_recover_policy.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/channel.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :194:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 194 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :190:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 190 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_pb_service_adaptor.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/health_check.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/health_check.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/parallel_channel.cpp.o Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/partition_channel.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_inIn file included from /src/brpc/src/brpc/couchbase.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/couchbase.h:ter23: Step #3 - "compile-afl-address-x86_64": vIn file included from a/src/brpc/src/brpc/channel.hl:33_: Step #3 - "compile-afl-address-x86_64": atIn file included from (/src/brpc/src/brpc/socket_id.hi:)25.: Step #3 - "compile-afl-address-x86_64": mIn file included from e/src/brpc/src/brpc/versioned_ref_with_id.hr:g26e: Step #3 - "compile-afl-address-x86_64": (*In file included from r/src/brpc/src/bthread/bthread.hh:s32.: Step #3 - "compile-afl-address-x86_64": _iIn file included from n/src/brpc/src/bthread/mutex.ht:27e: Step #3 - "compile-afl-address-x86_64": rvIn file included from a/src/brpc/src/bvar/utils/lock_timer.hl:s28[: Step #3 - "compile-afl-address-x86_64": i]In file included from )/src/brpc/src/bvar/latency_recorder.h;:26 Step #3 - "compile-afl-address-x86_64": : Step #3 - "compile-afl-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h: ^289 Step #3 - "compile-afl-address-x86_64": :16: /src/brpc/src/bvar/detail/percentile.hwarning: :499:first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]12: Step #3 - "compile-afl-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | 289 | b 1 . m e rmgeem(sbe2t)(;t Step #3 - "compile-afl-address-x86_64": h i| s ^, Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17:0, sizeof (*note: thin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested hereis Step #3 - "compile-afl-address-x86_64": ) ); Step #3 - "compile-afl-address-x86_64": | 53 ^ | Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/bvar/detail/sampler.h:40:16: _var-note: >in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested hereop( Step #3 - "compile-afl-address-x86_64": )( 40 | Sampv1, v2); Step #3 - "compile-afl-address-x86_64": | le() : ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.hdata(), time_us(:29:12: 0) {} Step #3 - "compile-afl-address-x86_64": |  ^note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | ret Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23u:r n note: opin instantiation of member function 'bvar::detail::Sample>::Sample' requested here(v Step #3 - "compile-afl-address-x86_64": 1 , v2); Step #3 - "compile-afl-address-x86_64": | 116 ^ | Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/bvar/detail/series.h : 168 :S13a:m plenote: <Tin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here> t Step #3 - "compile-afl-address-x86_64": m p; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 168 | /src/brpc/src/bvar/detail/sampler.h : 98 : 9 :   note: cin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereal Step #3 - "compile-afl-address-x86_64": l _op_retur98n | i n g _ v o i d (toapk,e _tsmapm,p l_data.second(ie)();); Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": | | ^ Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herenote: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :33:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 33 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :29:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 29 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/jemalloc_profiler.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :153:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 153 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :149:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 149 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | (* DEFINE_SMALL_ARRAY(uint32_t, tmthp, rhs._numis_s)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": amples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": 2|  ^ Step #3 - "compile-afl-address-x86_64":  warnings/src/brpc/src/bvar/window.h generated. Step #3 - "compile-afl-address-x86_64": :65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :181:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 181 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consistent_hashing_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :173:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 173 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :169:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 169 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/naming_service_thread.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :16:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 16 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :12:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 12 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :190:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 190 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :186:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 186 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.cpp:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dh.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :170:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 170 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/periodic_task.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/periodic_naming_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 |  /src/brpc/src/bvar/detail/percentile.h : 132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": _series_sampler = new 132 | SeriesSa mple r ( this , _Dvar); Step #3 - "compile-afl-address-x86_64": |  ^EFINE_SMA Step #3 - "compile-afl-address-x86_64": LL/src/brpc/src/bvar/latency_recorder.h:49:_ARRAY(uint32_t, tmp, rhs._7: nnote: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": um_s a49m | pclass LaltencyRecoerderBase { Step #3 - "compile-afl-address-x86_64": s|  ^ Step #3 - "compile-afl-address-x86_64": , 64/src/brpc/src/bvar/detail/percentile.h:132:13: ); Step #3 - "compile-afl-address-x86_64": note: initializer of 'tmp_stack_array_size' is not a constant expression|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note:  Step #3 - "compile-afl-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMA 426 | LL_AR RA Y(chuinar name##t32_stack__array[sizteof(Tp) *, ntame##_stmack_arpray_size,]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": r/src/brpc/src/bvar/detail/percentile.h:hs364:36: ._note: nuin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herem Step #3 - "compile-afl-address-x86_64": 364 | get_interval__samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: atnote: (expanded from macro 'DEFINE_SMALL_ARRAY'i).merge(* Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sirhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested herezeof Step #3 - "compile-afl-address-x86_64": ( 499 | b1Tp) * name##_stac.k_maerrragye_(sb2); Step #3 - "compile-afl-address-x86_64": | iz ^e Step #3 - "compile-afl-address-x86_64": ]; /src/brpc/src/bvar/window.h : 53\:17: Step #3 - "compile-afl-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: 53 | note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp__var->op()(stack_arrv1, v2)a;y_size Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^| Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: : note: declared here Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here/src/brpc/src/butil/macros.h Step #3 - "compile-afl-address-x86_64": :425 29 | :20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned nreturn op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13:ame##_ note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herestack_ar Step #3 - "compile-afl-address-x86_64": 168 | ray_size = (name##_size < = ( m acxaslilz_eo)p _?r entaumren#ing_voi#_size d(op, t: 0); \ Step #3 - "compile-afl-address-x86_64": mp, _da|  ^ Step #3 - "compile-afl-address-x86_64": ta.seco:n157d:(1i: note: )); Step #3 - "compile-afl-address-x86_64": |  ^expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_s Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: tack_arrnote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | ay_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :137:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 137 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :133[ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/domain_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": :1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 133 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dynpart_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, si2zeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  warnings/src/brpc/src/bvar/detail/sampler.h:40:16:  generated. Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/global.cpp:38: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 615 | DEFINE_SMALL_ARRAY(SubCall, aps, nchan, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * n/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": a me#132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426# | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; _ \stac Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": k_/src/brpc/src/bvar/detail/percentile.h:364array_siz:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": e]; 364 | get_interv al_at(i ). \merge(*rhs. Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: note: initializer of 'aps_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: _intervanote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": ls[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 426 | char name##_53s | t a c k _ a r ray[sizeof(Tp) * name##_stack_array _ s i z e ]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  :55:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": _var->op()(v 55 | ap1, s_stack_array_size Step #3 - "compile-afl-address-x86_64": v2); Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/brpc/parallel_channel.cpp:615:5: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29 425 | c:o12n:s t note: uin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested herensig Step #3 - "compile-afl-address-x86_64": ned n29ame##_s | return op(tv1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": ack_ar ray_size = 168(name##_size <= (maxsize) ? n | call_op_ame##_sriezteu r:n in0g_)v;o i\d( Step #3 - "compile-afl-address-x86_64": o p| , ^t Step #3 - "compile-afl-address-x86_64": mp, _:d51a:t1a:. secnote: onexpanded from hered( Step #3 - "compile-afl-address-x86_64": i ));51 Step #3 - "compile-afl-address-x86_64": | a| ps ^_ Step #3 - "compile-afl-address-x86_64": stack_array/src/brpc/src/bvar/detail/series.h:_116s:i16z:e  Step #3 - "compile-afl-address-x86_64":  note: | in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64":  116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :181:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 181 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/parallel_channel.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owIn file included from /src/brpc/src/brpc/partition_channel.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": ner 289 | memset(this, 0, si->get_vzaeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": lue(/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": | 1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": SeriesSampler(WindowBase* owner, R* v 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ar) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note:  151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs289 | mem._num_samples, 64); Step #3 - "compile-afl-address-x86_64": set(this, 0,|  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h: sizeof426:42: (note: *expanded from macro 'DEFINE_SMALL_ARRAY'th Step #3 - "compile-afl-address-x86_64": i s)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 426 | |  (void*) Step #3 - "compile-afl-address-x86_64":  char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hulu_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/locality_aware_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_ar[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nacos_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": ray[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/domain_naming_service.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :141:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 141 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :137:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 137 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :203:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 203 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :199:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 199 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :183:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 183 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :179:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 179 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/file_naming_service.cpp132: | 24 : Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h : 32 : Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h : 27 : Step #3 - "compile-afl-address-x86_64": In file included from D/src/brpc/src/bvar/utils/lock_timer.hE:F28I: Step #3 - "compile-afl-address-x86_64": NIn file included from E/src/brpc/src/bvar/latency_recorder.h_:S26M: Step #3 - "compile-afl-address-x86_64": AL/src/brpc/src/bvar/detail/percentile.hL:_289A:R16R:A Y(uwarning: infirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]t3 Step #3 - "compile-afl-address-x86_64": 2_t, tmp, rhs. _289n | u m _sampl emse,m se6t4()t;hi Step #3 - "compile-afl-address-x86_64": s | , ^ Step #3 - "compile-afl-address-x86_64": 0, /src/brpc/src/butil/macros.h:s426i:z42e:o f(note: *expanded from macro 'DEFINE_SMALL_ARRAY'th Step #3 - "compile-afl-address-x86_64": is)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 426 | 40 |  c h a rSa mnpalmee(#)# _:s tdaata(), time_usck_ar(ra0y[) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": si/src/brpc/src/bvar/detail/sampler.hz:e116o:f23:( Tnote: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": p) * nam e116# | # _ s t Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | ac takek__sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": array 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": _size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 162 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :217:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 217 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :213:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 213 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nova_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/consistent_hashing_load_balancer.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_sample[ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/public_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": s, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :191:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 191 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :187:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 187 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/consul_naming_service.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40: 1684: | char header_and_me note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": ta[ 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: 1note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | 2 Sample< + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:35T> tm:p; Step #3 - "compile-afl-address-x86_64":  | note: initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h84:98:9: | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:82:20: note: declared here Step #3 - "compile-afl-address-x86_64": 82 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:30: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/discovery_naming_service.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/dynpart_load_balancer.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/remote_file_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/gzip_compress.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": )) 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9 426 | char name##_st: note: ain instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": c |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:k35_a:r ray[note: sin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereiz Step #3 - "compile-afl-address-x86_64": e of(Tp) * name#151# | _ s t a c k _ a r r a y __ssiezrei]e;s _ s a m p l\er Step #3 - "compile-afl-address-x86_64": =|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~n Step #3 - "compile-afl-address-x86_64": ew Se/src/brpc/src/bvar/detail/percentile.hr:i364e:s36S:a mplnote: erin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here( Step #3 - "compile-afl-address-x86_64": t his, _var); Step #3 - "compile-afl-address-x86_64": 364| |  ^ Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/bvar/latency_recorder.h : 49 : 7 :g et_note: inin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested herete Step #3 - "compile-afl-address-x86_64": r val_a49t | (ic)l.amsesrg eL(a*trehncsy.R_eicnotredrevraBlass[ei ]{); Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": | | ^ Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bvar/detail/percentile.h:499::13212::13 : note: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hereinitializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64":  499 | b1 Step #3 - "compile-afl-address-x86_64": 132 | . m e r g e (DbE2FI)N;E_ Step #3 - "compile-afl-address-x86_64": S M| AL ^L Step #3 - "compile-afl-address-x86_64": _ARRAY/src/brpc/src/bvar/window.h(:u53i:n17t:3 2_tnote: , in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested heretmp Step #3 - "compile-afl-address-x86_64": , rhs._n53u | m _ s a m p l e s, _6v4ar)-;>o Step #3 - "compile-afl-address-x86_64": p (| )( ^v Step #3 - "compile-afl-address-x86_64": 1, v2/src/brpc/src/butil/macros.h):;426: Step #3 - "compile-afl-address-x86_64": 42 :|  ^ Step #3 - "compile-afl-address-x86_64": note: /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | 426 |  r etcuhranr onpa(mve1#,# _vs2t)ack_ar;ra Step #3 - "compile-afl-address-x86_64": y [| s ^i Step #3 - "compile-afl-address-x86_64": zeof(/src/brpc/src/bvar/detail/series.hT:p168): 13*: namnote: e#in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here#_s Step #3 - "compile-afl-address-x86_64": t ack_arr168a | y _s i cze]; a l l _ o p\ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": _returning_voi:d86(:op, tmp, _data1: note: expanded from here.second( Step #3 - "compile-afl-address-x86_64": i));86 Step #3 - "compile-afl-address-x86_64": | t| mp ^_stack_arr Step #3 - "compile-afl-address-x86_64": ay_size/src/brpc/src/bvar/detail/series.h: Step #3 - "compile-afl-address-x86_64": 116 :| 16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here^ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: 116note: |  declared here  Step #3 - "compile-afl-address-x86_64":  return/src/brpc/src/butil/macros.h:425:20:  anote: ppeexpanded from macro 'DEFINE_SMALL_ARRAY'nd Step #3 - "compile-afl-address-x86_64": _ second(value, _op); Step #3 - "compile-afl-address-x86_64": | 425 ^ | Step #3 - "compile-afl-address-x86_64":   con/src/brpc/src/bvar/window.hs:t65: 25:u nsinote: gnin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hereed Step #3 - "compile-afl-address-x86_64": 65 |  name##_stac k _ a r r a y _ s i z_e = (name#serie#s_.saippend(_ownze <=e r(-m>agxsize) ? et_vanlue(1)); Step #3 - "compile-afl-address-x86_64": |  ^ame##_si Step #3 - "compile-afl-address-x86_64": ze : 0); \ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here|  ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": :82:581 | : note: expanded from here Step #3 - "compile-afl-address-x86_64": 82 | tmp_ SeriesSamplersta(cWki_nardroawyB_assiez*e o Step #3 - "compile-afl-address-x86_64": w n| er,^ Step #3 - "compile-afl-address-x86_64": R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :195:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 195 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :191:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 191 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :225:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 225 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :221:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 221 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :189:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 189 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/round_robin_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/snappy_compress.cpp.o Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/timeout_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/locality_aware_load_balancer.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.s[ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_randomized_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": econd(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :40:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 40 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :36:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 36 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/memcache_binary_protocol.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_round_robin_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/detail/series.h:168:13:/src/brpc/src/brpc/policy/randomized_load_balancer.cpp:22 : Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(thinote: s, 0, siin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": zeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_ us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23:168 | call_op_returning_void(op, tmp, _data note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": .s116e | c on d(iS)a);mp Step #3 - "compile-afl-address-x86_64": l | e< ^T Step #3 - "compile-afl-address-x86_64": > tmp; Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h :| 116 ^: Step #3 - "compile-afl-address-x86_64": 16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here/src/brpc/src/bvar/detail/sampler.h:98 Step #3 - "compile-afl-address-x86_64": : 9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | 98 |  re t utranke _aspapmepnlde_(s)e;co Step #3 - "compile-afl-address-x86_64": n d| (v ^a Step #3 - "compile-afl-address-x86_64": lue, _o/src/brpc/src/bvar/detail/percentile.hp):;529: Step #3 - "compile-afl-address-x86_64": 28 :|  ^ Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25529: |   note:  in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here  Step #3 - "compile-afl-address-x86_64": _sam65p | l e r =  n e w  s a m p l_esre_rtiyepse.(aptpheinsd)(;_ Step #3 - "compile-afl-address-x86_64": o w| ne ^r- Step #3 - "compile-afl-address-x86_64": >get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:/src/brpc/src/bvar/detail/percentile.h9:: 289:16:note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herenote: Step #3 - "compile-afl-address-x86_64":  explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 58 | Se289r | i esS ampl er (W imnemdosweBaste* (owtnhiser,, R0* va,r)  Step #3 - "compile-afl-address-x86_64": s| iz ^e Step #3 - "compile-afl-address-x86_64": of(/src/brpc/src/bvar/window.h*:th151:i35: snote: ));in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": | 151 | ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :181:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 181 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/mongo_protocol.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :110:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 110 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :106:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 106 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.hIn file included from :132:13/src/brpc/src/brpc/policy/nshead_mcpack_protocol.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": :In file included from /src/brpc/src/brpc/versioned_ref_with_id.h :26: Step #3 - "compile-afl-address-x86_64": In file included from note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64":  memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/nshead_protocol.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:294:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #3 - "compile-afl-address-x86_64": 294 | SerializeHuluHeaderAndMeta(&res_buf, meta, res_size + attached_size); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #3 - "compile-afl-address-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:582:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #3 - "compile-afl-address-x86_64": 582 | SerializeHuluHeaderAndMeta(&res_buf, request_meta, 0); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #3 - "compile-afl-address-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_sIn file included from /src/brpc/src/brpc/policy/nova_pbrpc_protocol.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": amples 289 | memset(this, 0, size, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426of(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() ::42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426da | t a ( ) , cthimaer_u sna(me#0#_)s t{a}ck Step #3 - "compile-afl-address-x86_64": _ a| rr ^a Step #3 - "compile-afl-address-x86_64": y[siz/src/brpc/src/bvar/detail/sampler.he:o116f:23(:T p) note: * in instantiation of member function 'bvar::detail::Sample>::Sample' requested herenam Step #3 - "compile-afl-address-x86_64": e# #_sta116 | c k _ a r r a y _ s i z eS]a;m p l e < T >\ t Step #3 - "compile-afl-address-x86_64": m p| ; Step #3 - "compile-afl-address-x86_64": ^|  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: Step #3 - "compile-afl-address-x86_64": :219:1: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herenote: expanded from here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 98 | 219 | t m pt_asktea_cska_mpalrer(a)y;_s Step #3 - "compile-afl-address-x86_64": i z| e ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:/src/brpc/src/bvar/detail/percentile.h28::132 :13note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": : note: declared here Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/butil/macros.h529: | 425 : 20 : note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #3 - "compile-afl-address-x86_64": _sampler = new425 | s a m p ler_type(thconstis); Step #3 - "compile-afl-address-x86_64": unsi| gn ^e Step #3 - "compile-afl-address-x86_64": d name/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | ##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1:  menote: msexpanded from hereet Step #3 - "compile-afl-address-x86_64": ( this, 215 | 0tm,p _sstiazcekof_(*this)array_s)i;ze Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": | | ^ Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 162 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/redis_protocol.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": sizeof(Tp) * name #132# | _ s DEFINE_SMALL_ARRAY(uint32_t, tack_array_tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~si Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": ze]; 426 | char name##_stack_array[size o f\( Step #3 - "compile-afl-address-x86_64": T p| ) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here/src/brpc/src/bvar/detail/percentile.h:364:36: Step #3 - "compile-afl-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here 364 |  Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merg e(*rhs._inter vals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:499:12: note:  in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17:  note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRA:Y215(:u1i:n t32note: _texpanded from here, Step #3 - "compile-afl-address-x86_64": t mp, rhs._215n | utmm_ps_asmtpalceks,_ ar6r4ay)_s;iz Step #3 - "compile-afl-address-x86_64": e | Step #3 - "compile-afl-address-x86_64":  ^| Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/snappy_compress.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_t/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": ype(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: 426 |  note: char name##_stack_arexplicitly cast the pointer to silence this warningr Step #3 - "compile-afl-address-x86_64": ay[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0 ,364 |  s get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": iz/src/brpc/src/bvar/detail/percentile.he:o499f:12(:* thnote: isin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": ) 499 | b1.merge(b)2;); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64":  53 | | _var->op (void*)()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value/src/brpc/src/bvar/detail/percentile.h:132:13:, _o warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": p); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  132 | DEFINE_SMALL_ARRA/src/brpc/src/bvar/window.hY:(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 65:25:  426 | char name##_stack_array[sizeof(note: Tpin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here) Step #3 - "compile-afl-address-x86_64": * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h65: | 29 _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMA_LL_ARt, tmp, RrAhs._nYu(mu_isamples,n t3624_t); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": , tmp, rhs._num_samples, 6 4426 | ) ;  Step #3 - "compile-afl-address-x86_64": | ch ^a Step #3 - "compile-afl-address-x86_64": r name##/src/brpc/src/butil/macros.h_:s426t:a42c:k _arnote: raexpanded from macro 'DEFINE_SMALL_ARRAY'y[ Step #3 - "compile-afl-address-x86_64": sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: 426note: expanded from here Step #3 - "compile-afl-address-x86_64": | c h219a | rtm pn_asmtea#c#k__stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": a:189:1: note: expanded from hererray_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 189 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_endpoint.cpp.o Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/round_robin_load_balancer.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this2); Step #3 - "compile-afl-address-x86_64": warnings generated. Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/reloadable_flags.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :217:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 217 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :213:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 213 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1447:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 1447 | char buf[header_len + 4/*extended ts*/]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1447:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #3 - "compile-afl-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 1489 | char buf[header_len + 4/*extended ts*/]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #3 - "compile-afl-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 1531 | char buf[header_len + 4/*extended ts*/]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #3 - "compile-afl-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 1570 | char buf[header_len]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #3 - "compile-afl-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.cpp.o Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/retry_policy.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1933:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 1933 | char buf[mh.message_length]; // safe to put on stack. Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1933:14: note: function parameter 'mh' with unknown value cannot be used in a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1927:30: note: declared here Step #3 - "compile-afl-address-x86_64": 1927 | const RtmpMessageHeader& mh, butil::IOBuf* msg_body, Socket* socket) { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: 2note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": warnings generated 426. Step #3 - "compile-afl-address-x86_64": | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:35: note: initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:142:20: note: declared here Step #3 - "compile-afl-address-x86_64": 142 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_pb_message_factory.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rtmp.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/selective_channel.cpp.o Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_request.cpp.o Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :188:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 188 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :184:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 184 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_randomized_load_balancer.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | mems2 warnings generated. Step #3 - "compile-afl-address-x86_64": et(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/span.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 4 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_round_robin_load_balancer.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/stream.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/ubrpc2pb_protocol.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/progressive_attachment.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSamp/src/brpc/src/bvar/detail/percentile.hl:e132r:(13W:i ndowarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": wBase* owner ,132 | R DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_*s avmples, 64);a Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": r) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h :| 426: ^29 Step #3 - "compile-afl-address-x86_64": : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.cpp.o Step #3 - "compile-afl-address-x86_64": 426 | /src/brpc/src/bvar/window.h:151:35: char name#note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": #_stack_array[sizeof 151(Tp) | * _series_sampler = new SeriesSampler(th name##is_s, _var)t; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": a/src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | clasck_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_ints LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^e Step #3 - "compile-afl-address-x86_64": rval_at(i).m/src/brpc/src/bvar/detail/percentile.he:r132g:e13(: *rhnote: s.initializer of 'tmp_stack_array_size' is not a constant expression_in Step #3 - "compile-afl-address-x86_64": t erva132l | s [ i ] ) ;  Step #3 - "compile-afl-address-x86_64": |  ^ D Step #3 - "compile-afl-address-x86_64": EFINE_/src/brpc/src/bvar/detail/percentile.hS:M499A:LL_ARRA12: Y(uint32_t, tmp, rhs.note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | _num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/butil/macros.hb1:.426m:e42:r ge(b2)note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char n; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": ame#53# | _ s t ac k _ a r r a y[ s i z e o f_v(aTrp)- >*o p(n)a(mve1#,# _vs2t)a;ck Step #3 - "compile-afl-address-x86_64": _ a| rr ^a Step #3 - "compile-afl-address-x86_64": y_size];/src/brpc/src/bvar/detail/call_op_returning_void.h : 29 : 12 : \ Step #3 - "compile-afl-address-x86_64": note: | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64":  :219:129: |   note: expanded from herere Step #3 - "compile-afl-address-x86_64": t 219 | tmp_surn op(vta1c,k _va2rray); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: _size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here/src/brpc/src/bvar/detail/percentile.h: Step #3 - "compile-afl-address-x86_64": 168 | 132:13: note: declared here Step #3 - "compile-afl-address-x86_64":  call_/src/brpc/src/butil/macros.h:425:20: opnote: _rexpanded from macro 'DEFINE_SMALL_ARRAY'et Step #3 - "compile-afl-address-x86_64": u 425 | const unsignrning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ed name#/src/brpc/src/bvar/detail/series.h#_:116:16: note: stack_arrayin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": _size =116 | (name return ##_size <= append_secon(maxsid(value, _oze) ? name##p);_ Step #3 - "compile-afl-address-x86_64": s | ize : 0) ^ Step #3 - "compile-afl-address-x86_64": ; \/src/brpc/src/bvar/window.h Step #3 - "compile-afl-address-x86_64": :65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here |  ^ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 65 | 215 | _series.tmp_stack_arappend(_owner->ray_size Step #3 - "compile-afl-address-x86_64": g| ^ Step #3 - "compile-afl-address-x86_64": et_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :182:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 182 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :178:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 178 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.cpp:42: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/server_id.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :195:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 195 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :191:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 191 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 398 | CallId ids[_nalloc]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/selective_channel.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.seco3n warningds( generatedi. Step #3 - "compile-afl-address-x86_64": )); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/rpc_dump.cpp:/src/brpc/src/bvar/detail/series.h26:: Step #3 - "compile-afl-address-x86_64": 116In file included from :/src/brpc/src/bvar/bvar.h16::27 : Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.hnote: :26in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here: Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: 116 | first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]  Step #3 - "compile-afl-address-x86_64": return append_second(value, _o p289) | ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": mems/src/brpc/src/bvar/window.he:t65(:25: thnote: isin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here, Step #3 - "compile-afl-address-x86_64": 0, s i65z | e o f  ( *  t h i s  ) ) ;  Step #3 - "compile-afl-address-x86_64": _ s| er ^i Step #3 - "compile-afl-address-x86_64": es.append/src/brpc/src/bvar/detail/sampler.h(:_40o:w16n:e r->note: gein instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heret_ Step #3 - "compile-afl-address-x86_64": val u40e | (  1  )S)a;mp Step #3 - "compile-afl-address-x86_64": l e| () ^ Step #3 - "compile-afl-address-x86_64": : data(/src/brpc/src/bvar/window.h):,58 :t9i:m e_unote: s(in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here0) Step #3 - "compile-afl-address-x86_64": {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 58 | /src/brpc/src/bvar/detail/sampler.h : 116 : 23 : Senote: riin instantiation of member function 'bvar::detail::Sample>::Sample' requested herees Step #3 - "compile-afl-address-x86_64": Sampler(WindowBas e116* | o w n e r , R * v aSra)mp Step #3 - "compile-afl-address-x86_64": l e| <T ^> Step #3 - "compile-afl-address-x86_64": tmp;/src/brpc/src/bvar/window.h Step #3 - "compile-afl-address-x86_64": : 151| :35 ^: Step #3 - "compile-afl-address-x86_64": note: /src/brpc/src/bvar/detail/sampler.hin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here:98 Step #3 - "compile-afl-address-x86_64": :9: note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here151 | Step #3 - "compile-afl-address-x86_64": _98s | e r ies_s a m p l e rt a=k e_nseawmp lSee(r)i;es Step #3 - "compile-afl-address-x86_64": S a| mp ^l Step #3 - "compile-afl-address-x86_64": er(t/src/brpc/src/bvar/detail/percentile.hh:i529s:28,: _vanote: r)in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": ; Step #3 - "compile-afl-address-x86_64": | 529 ^ | Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/bvar/latency_recorder.h : 49 : 7 :  _note: sain instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heremp Step #3 - "compile-afl-address-x86_64": ler = n e49w |  cslaamspsle rL_attyepnec(yRtehciosrd)e;rB Step #3 - "compile-afl-address-x86_64": a s| e ^{ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 |  /src/brpc/src/bvar/detail/percentile.h : 289 : 16 :D EFInote: NEexplicitly cast the pointer to silence this warning_S Step #3 - "compile-afl-address-x86_64": MALL_ARRAY(uint32_t, tmp, rhs._n u289m | _ s a m p l e s ,m em6s4et)(;t Step #3 - "compile-afl-address-x86_64": hi s| , ^ Step #3 - "compile-afl-address-x86_64": 0,/src/brpc/src/butil/macros.h :426s:i42z:e ofnote: (*expanded from macro 'DEFINE_SMALL_ARRAY't Step #3 - "compile-afl-address-x86_64": his)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 426 | |  (void*) Step #3 - "compile-afl-address-x86_64": char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :194:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 194 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :190:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 190 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_staIn file included from c/src/brpc/src/brpc/restful.cppk_:21a: Step #3 - "compile-afl-address-x86_64": rIn file included from r/src/brpc/src/brpc/restful.ha:y24[: Step #3 - "compile-afl-address-x86_64": In file included from s/src/brpc/src/brpc/server.hi:z26e: Step #3 - "compile-afl-address-x86_64": oIn file included from f/src/brpc/src/bthread/bthread.h:(32T: Step #3 - "compile-afl-address-x86_64": p)In file included from /src/brpc/src/bthread/mutex.h*: 27n: Step #3 - "compile-afl-address-x86_64": In file included from a/src/brpc/src/bvar/utils/lock_timer.hm:e28#: Step #3 - "compile-afl-address-x86_64": #In file included from _/src/brpc/src/bvar/latency_recorder.hs:t26a: Step #3 - "compile-afl-address-x86_64": ck/src/brpc/src/bvar/detail/percentile.h_:a289r:r16a:y _siwarning: ze]; first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]  Step #3 - "compile-afl-address-x86_64": \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 289 | 364 | m e m s e t (  t h igset,_ in0te,r vasli_zaeto(fi)(.*metrhgies(*)r)h;s. Step #3 - "compile-afl-address-x86_64": _ i| nt ^e Step #3 - "compile-afl-address-x86_64": rvals[i])/src/brpc/src/bvar/detail/sampler.h;:40 Step #3 - "compile-afl-address-x86_64": : 16| : ^ Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here/src/brpc/src/bvar/detail/percentile.h: Step #3 - "compile-afl-address-x86_64": 499:12:  note: 40 | in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here  Step #3 - "compile-afl-address-x86_64": Sample() : data(), time _499u | s (  0  ) { }b1 Step #3 - "compile-afl-address-x86_64": . m| er ^g Step #3 - "compile-afl-address-x86_64": e(b2)/src/brpc/src/bvar/detail/sampler.h;:116 Step #3 - "compile-afl-address-x86_64": : 23| : ^ Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here/src/brpc/src/bvar/window.h Step #3 - "compile-afl-address-x86_64": :53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 116 | 53 | S a m p l e <_Tv>a rt-m>po;p( Step #3 - "compile-afl-address-x86_64": ) (| v1 ^, Step #3 - "compile-afl-address-x86_64": v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h/src/brpc/src/bvar/detail/call_op_returning_void.h::9829::912:: note: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": 29 | 98 | r e t u r n  otpa(kve1_,s avm2p)l;e( Step #3 - "compile-afl-address-x86_64": ) ;|  Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:/src/brpc/src/bvar/detail/percentile.h13::529 :28:note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herenote: Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_o p529_ | r e t u r n i n g _ v o i_ds(aompp,l etrm p=, _ndeawta .ssaemcpolnedr(_it)y)p;e( Step #3 - "compile-afl-address-x86_64":  t| hi ^s Step #3 - "compile-afl-address-x86_64": ); Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h :| 116: ^16 Step #3 - "compile-afl-address-x86_64": : note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16/src/brpc/src/bvar/window.h:: 65:25note: : explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _ s289e | r i e s . a p p emnedm(s_eotw(netrh-i>sge,t _v0al,u e(si1ze)o)f;( Step #3 - "compile-afl-address-x86_64": * | th ^i Step #3 - "compile-afl-address-x86_64": s)/src/brpc/src/bvar/window.h):;58: Step #3 - "compile-afl-address-x86_64": 9 :|  ^ Step #3 - "compile-afl-address-x86_64": note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here|  Step #3 - "compile-afl-address-x86_64": (void*) Step #3 - "compile-afl-address-x86_64":  58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :200:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 200 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :196:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 196 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 575 | DEFINE_SMALL_ARRAY(char, cont_buf, buf.size(), 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: note: initializer of 'cont_buf_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :71:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 71 | cont_buf_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :67:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 67 | cont_buf_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 677 | DEFINE_SMALL_ARRAY(char, rbsp, sps_length - 1, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: initializer of 'rbsp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :84:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 84 | rbsp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :80:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 80 | rbsp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 162 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 600 | DEFINE_SMALL_ARRAY(butil::IOBuf*, buf_list, s->_options.messages_in_batch, 256); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: initializer of 'buf_list_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :53:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 53 | buf_list_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :49:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 49 | buf_list_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/trackme.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/stream.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/stream.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :181:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 181 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/span.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :14:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 14 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :10:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 10 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 2004 | char buf[fullname_len]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: note: initializer of 'fullname_len' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/server.cpp:2001:18: note: declared here Step #3 - "compile-afl-address-x86_64": 2001 | const size_t fullname_len = service_name.size() + 1 + method_name.size(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 162 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :206:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 206 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :202:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 202 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :183:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 183 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :179:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 179 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warning/src/brpc/src/bvar/detail/percentile.hs: generated132. Step #3 - "compile-afl-address-x86_64": :13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :182:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 182 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :178:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 178 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/server.cpp:36: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.cpp:42: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/ts.cpp:38: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :204:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 204 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :200:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 200 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h :| 132: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~13 Step #3 - "compile-afl-address-x86_64": : warning: /src/brpc/src/butil/macros.h:426variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]:29 Step #3 - "compile-afl-address-x86_64": : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 132 | D E426F | I N E _ SMcAhLaLr_A RnRaAmYe(#u#i_nstt3a2c_kt_,a rtrmapy,[ rshisz.e_onfum(_Tspa)m p*l ensa,m e#6#4_s)t;ac Step #3 - "compile-afl-address-x86_64": k| _a ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~r Step #3 - "compile-afl-address-x86_64": ray/src/brpc/src/butil/macros.h_:s426i:z29e:] ;  note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #3 - "compile-afl-address-x86_64": \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":  426 | ch/src/brpc/src/bvar/detail/percentile.ha:r364: 36n:a me#note: #_in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herest Step #3 - "compile-afl-address-x86_64": ack_array[sizeof(Tp) * name##_stack_ a364r | r a y _ s i z e ] ; \ge Step #3 - "compile-afl-address-x86_64": t _| in ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~t Step #3 - "compile-afl-address-x86_64": erval_/src/brpc/src/bvar/detail/percentile.ha:t364(:i36):. mernote: gein instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here(* Step #3 - "compile-afl-address-x86_64": rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_inte r499v | a l _ a t ( i ) .bm1e.rmgeer(g*er(hbs2.)_;in Step #3 - "compile-afl-address-x86_64": t e| rv ^a Step #3 - "compile-afl-address-x86_64": ls[i]/src/brpc/src/bvar/window.h):;53: Step #3 - "compile-afl-address-x86_64": 17 :|  ^ Step #3 - "compile-afl-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: 53 | note:  in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here  Step #3 - "compile-afl-address-x86_64": _var->op()(v1 ,499 | v 2 ) ;  Step #3 - "compile-afl-address-x86_64": | b ^1 Step #3 - "compile-afl-address-x86_64": .merg/src/brpc/src/bvar/detail/call_op_returning_void.he:(29b:212):;  Step #3 - "compile-afl-address-x86_64":  note: | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64":  29/src/brpc/src/bvar/window.h | : 53 : 17 : retnote: urin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested heren Step #3 - "compile-afl-address-x86_64": op(v1, 53v | 2 ) ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/bvar/detail/series.h : 168 :_13v:a r->note: opin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here() Step #3 - "compile-afl-address-x86_64": (v1, 168v | 2 ) ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  call_/src/brpc/src/bvar/detail/call_op_returning_void.ho:p29_:r12e:t urnnote: inin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereg_ Step #3 - "compile-afl-address-x86_64": void( o29p | , t m p,r et_udranta .ospe(cvo1n,d (vi2)));; Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": | |  ^ ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h/src/brpc/src/bvar/detail/series.h::116168::1613:: note: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herein instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": 168116 | |  r e tcuarlnl_ oapp_preentdu_rsneicnogn_dv(oviadl(uoep,, _tompp),; _ Step #3 - "compile-afl-address-x86_64": d a| ta ^. Step #3 - "compile-afl-address-x86_64": sec/src/brpc/src/bvar/window.ho:n65d:(25i:) );note: Step #3 - "compile-afl-address-x86_64":  in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  65 |  /src/brpc/src/bvar/detail/series.h : 116 : 16 :   note:  in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here  Step #3 - "compile-afl-address-x86_64": _series.append(_owner- >116g | e t _ v a l u e (r1et)u)r;n Step #3 - "compile-afl-address-x86_64": a| pp ^e Step #3 - "compile-afl-address-x86_64": nd_se/src/brpc/src/bvar/window.hc:o58n:d9(:v alunote: e,in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here _ Step #3 - "compile-afl-address-x86_64": op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 58 |  /src/brpc/src/bvar/window.h :S65e:r25i:e sSanote: mpin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herele Step #3 - "compile-afl-address-x86_64": r(WindowBase* 65o | w n e r , R * v a r )  Step #3 - "compile-afl-address-x86_64": _| se ^r Step #3 - "compile-afl-address-x86_64": ies./src/brpc/src/bvar/window.ha:p151p:e35n:d (_onote: wnin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereer Step #3 - "compile-afl-address-x86_64": ->get_value (151 | 1  ) ) ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": _se/src/brpc/src/bvar/window.hr:i58e:s9_:s ampnote: lein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herer Step #3 - "compile-afl-address-x86_64": = new Serie s58S | a m p l e r (  tSheirsie,s S_avmaprl)e;r( Step #3 - "compile-afl-address-x86_64": W i| nd ^o Step #3 - "compile-afl-address-x86_64": wBase*/src/brpc/src/bvar/latency_recorder.h :o49w:n7e:r , Rnote: * in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereva Step #3 - "compile-afl-address-x86_64": r) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  49 | /src/brpc/src/bvar/window.hc:l151a:s35s: Lanote: tein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested herenc Step #3 - "compile-afl-address-x86_64": yRecorderBase 151{ |  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/bvar/detail/percentile.h :_132s:e13r:i es_note: sainitializer of 'tmp_stack_array_size' is not a constant expressionmp Step #3 - "compile-afl-address-x86_64": ler = new Seri e132s | S a m p l e r (  t h i sDE,F I_varN)E;_S Step #3 - "compile-afl-address-x86_64": M A| LL ^_ Step #3 - "compile-afl-address-x86_64": ARR/src/brpc/src/bvar/latency_recorder.hA:Y49(:u7i:n t32note: _tin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here, Step #3 - "compile-afl-address-x86_64": tmp, r h49s | ._cnluams_ssam pLlaetse,n cy6R4ec)o;rd Step #3 - "compile-afl-address-x86_64": e r| Ba ^s Step #3 - "compile-afl-address-x86_64": e {/src/brpc/src/butil/macros.h Step #3 - "compile-afl-address-x86_64": : 426| :42 ^: Step #3 - "compile-afl-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY'/src/brpc/src/bvar/detail/percentile.h Step #3 - "compile-afl-address-x86_64": :132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | 426 | DEcFhIaNrE_ SnMaAmLeL#_#A_RsRtAaYc(ku_ianrtr3a2y_[t,s itzmepo,f r(hTsp.)_ n*u mn_asmaem#p#l_esst,a ck6_4ar)r;ay Step #3 - "compile-afl-address-x86_64": _ s| iz ^e Step #3 - "compile-afl-address-x86_64": ]; /src/brpc/src/butil/macros.h : 426 : 42 :\  Step #3 - "compile-afl-address-x86_64":  note: | expanded from macro 'DEFINE_SMALL_ARRAY' ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": :25:1: note: expanded from here 426 Step #3 - "compile-afl-address-x86_64": |  c25h | atrmp _name#s#t_asctka_cakr_raaryr_asyi[zesi Step #3 - "compile-afl-address-x86_64": z e| of^ Step #3 - "compile-afl-address-x86_64": (Tp/src/brpc/src/bvar/detail/percentile.h): 132*: 13n:a me#note: #_declared herest Step #3 - "compile-afl-address-x86_64": ac/src/brpc/src/butil/macros.hk:_425a:r20r:a y_snote: izexpanded from macro 'DEFINE_SMALL_ARRAY'e] Step #3 - "compile-afl-address-x86_64": ; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :9:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 4259 | | t m p _sctoancskt_a rruanys_isginzeed Step #3 - "compile-afl-address-x86_64": n| am^e Step #3 - "compile-afl-address-x86_64": ##_st/src/brpc/src/bvar/detail/percentile.ha:c132k:_13a:r raynote: _sdeclared hereiz Step #3 - "compile-afl-address-x86_64": e /src/brpc/src/butil/macros.h=: 425(:n20a:m e##note: _sexpanded from macro 'DEFINE_SMALL_ARRAY'iz Step #3 - "compile-afl-address-x86_64": e <= (maxs i425z | e ) ? ncaomnes#t#_ siuznes i:g ne0d) ;n a\me Step #3 - "compile-afl-address-x86_64": # #| _s ^t Step #3 - "compile-afl-address-x86_64": ack_:a21r:r1a:y _sinote: zeexpanded from here = Step #3 - "compile-afl-address-x86_64": (n a21m | et#m#p__ssitzaec k<_=a r(rmaayx_ssiizzee) Step #3 - "compile-afl-address-x86_64": ? | na^m Step #3 - "compile-afl-address-x86_64": e##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :5:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 5 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 4 warnings generated. Step #3 - "compile-afl-address-x86_64": 7 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_butil.dir/fuzzing/fuzz_butil.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_butil Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_butil Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_esp.dir/fuzzing/fuzz_esp.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_esp.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :189:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 189 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_esp Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_esp Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hpack.dir/fuzzing/fuzz_hpack.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_hpack Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_hpack Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_http.dir/fuzzing/fuzz_http.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_http.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :40:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 40 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :36:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 36 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_http Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_http Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 15%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 97%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/fuzz_hulu.dir/fuzzing/fuzz_hulu.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_hulu.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :242:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 242 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :238:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 238 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_hulu Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_hulu Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_json.dir/fuzzing/fuzz_json.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_json Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_json Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_redis.dir/fuzzing/fuzz_redis.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_redis Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_redis Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_shead.dir/fuzzing/fuzz_shead.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_shead.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :40:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 40 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :36:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 36 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_shead Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_shead Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_sofa.dir/fuzzing/fuzz_sofa.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_sofa.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :222:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 222 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :218:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 218 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_sofa Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_sofa Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 15%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 97%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/fuzz_uri.dir/fuzzing/fuzz_uri.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_uri.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :195:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 195 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :191:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 191 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_uri Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_uri Step #3 - "compile-afl-address-x86_64": + cp test/fuzz_butil test/fuzz_esp test/fuzz_hpack test/fuzz_http test/fuzz_hulu test/fuzz_json test/fuzz_redis test/fuzz_shead test/fuzz_sofa test/fuzz_uri /workspace/out/afl-address-x86_64/ Step #3 - "compile-afl-address-x86_64": + pushd /lib/x86_64-linux-gnu/ Step #3 - "compile-afl-address-x86_64": /lib/x86_64-linux-gnu /src/brpc/build Step #3 - "compile-afl-address-x86_64": + mkdir -p /workspace/out/afl-address-x86_64/lib/ Step #3 - "compile-afl-address-x86_64": + cp libgflags.a libgflags.so libgflags.so.2.2 libgflags.so.2.2.2 libgflags_nothreads.a libgflags_nothreads.so libgflags_nothreads.so.2.2 libgflags_nothreads.so.2.2.2 libprotobuf-lite.a libprotobuf-lite.so libprotobuf-lite.so.17 libprotobuf-lite.so.17.0.0 libprotobuf.a libprotobuf.so libprotobuf.so.17 libprotobuf.so.17.0.0 libleveldb.a libleveldb.so libleveldb.so.1.22.0 libleveldb.so.1d libprotoc.a libprotoc.so libprotoc.so.17 libprotoc.so.17.0.0 libsnappy-shared.a libsnappy.a libsnappy.so libsnappy.so.1 libsnappy.so.1.1.8 /workspace/out/afl-address-x86_64/lib/. Step #3 - "compile-afl-address-x86_64": + popd Step #3 - "compile-afl-address-x86_64": /src/brpc/build Step #3 - "compile-afl-address-x86_64": + pushd /src/brpc/test/fuzzing Step #3 - "compile-afl-address-x86_64": /src/brpc/test/fuzzing /src/brpc/build Step #3 - "compile-afl-address-x86_64": + zip /workspace/out/afl-address-x86_64/fuzz_json_seed_corpus.zip fuzz_json_seed_corpus/info1.json fuzz_json_seed_corpus/info2.json fuzz_json_seed_corpus/info3.json Step #3 - "compile-afl-address-x86_64": adding: fuzz_json_seed_corpus/info1.json (deflated 10%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_json_seed_corpus/info2.json (deflated 17%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_json_seed_corpus/info3.json (deflated 44%) Step #3 - "compile-afl-address-x86_64": + zip /workspace/out/afl-address-x86_64/fuzz_uri_seed_corpus.zip fuzz_uri_seed_corpus/data_1.rtmp fuzz_uri_seed_corpus/data_1.uri fuzz_uri_seed_corpus/data_2.uri Step #3 - "compile-afl-address-x86_64": adding: fuzz_uri_seed_corpus/data_1.rtmp (stored 0%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_uri_seed_corpus/data_1.uri (stored 0%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_uri_seed_corpus/data_2.uri (stored 0%) Step #3 - "compile-afl-address-x86_64": + zip /workspace/out/afl-address-x86_64/fuzz_redis_seed_corpus.zip fuzz_redis_seed_corpus/command_parser.redis fuzz_redis_seed_corpus/request.redis Step #3 - "compile-afl-address-x86_64": adding: fuzz_redis_seed_corpus/command_parser.redis (deflated 26%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_redis_seed_corpus/request.redis (stored 0%) Step #3 - "compile-afl-address-x86_64": + zip /workspace/out/afl-address-x86_64/fuzz_http_seed_corpus.zip fuzz_http_seed_corpus/http_request.http fuzz_http_seed_corpus/http_request_v2.http Step #3 - "compile-afl-address-x86_64": adding: fuzz_http_seed_corpus/http_request.http (deflated 19%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_http_seed_corpus/http_request_v2.http (deflated 35%) Step #3 - "compile-afl-address-x86_64": + zip /workspace/out/afl-address-x86_64/fuzz_butil_seed_corpus.zip fuzz_butil_seed_corpus/base64_decoded.txt fuzz_butil_seed_corpus/base64_encoded.txt fuzz_butil_seed_corpus/crc32c.data Step #3 - "compile-afl-address-x86_64": adding: fuzz_butil_seed_corpus/base64_decoded.txt (stored 0%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_butil_seed_corpus/base64_encoded.txt (stored 0%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_butil_seed_corpus/crc32c.data (deflated 63%) Step #3 - "compile-afl-address-x86_64": + zip /workspace/out/afl-address-x86_64/fuzz_hpack_seed_corpus.zip fuzz_hpack_seed_corpus/header_never_indexed.hpack fuzz_hpack_seed_corpus/header_with_indexing.hpack fuzz_hpack_seed_corpus/header_without_indexing.hpack fuzz_hpack_seed_corpus/requests_without_huffman.hpack fuzz_hpack_seed_corpus/responses_without_huffman.hpack Step #3 - "compile-afl-address-x86_64": adding: fuzz_hpack_seed_corpus/header_never_indexed.hpack (stored 0%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_hpack_seed_corpus/header_with_indexing.hpack (deflated 15%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_hpack_seed_corpus/header_without_indexing.hpack (stored 0%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_hpack_seed_corpus/requests_without_huffman.hpack (deflated 10%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_hpack_seed_corpus/responses_without_huffman.hpack (deflated 1%) Step #3 - "compile-afl-address-x86_64": + popd Step #3 - "compile-afl-address-x86_64": /src/brpc/build Finished Step #3 - "compile-afl-address-x86_64" Starting Step #4 - "build-check-afl-address-x86_64" Step #4 - "build-check-afl-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #4 - "build-check-afl-address-x86_64": Unable to find image 'gcr.io/oss-fuzz-base/base-runner:latest' locally Step #4 - "build-check-afl-address-x86_64": latest: Pulling from oss-fuzz-base/base-runner Step #4 - "build-check-afl-address-x86_64": b549f31133a9: Already exists Step #4 - "build-check-afl-address-x86_64": 4d17b6254d09: Already exists Step #4 - "build-check-afl-address-x86_64": 13510ee2656d: Already exists Step #4 - "build-check-afl-address-x86_64": f2c9c6e25ba3: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 1cd7bdf47227: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 4561162f3a96: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 7ffb4f80b600: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": c858b92c04a5: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": d06a17523563: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 2fecc23e11d2: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 111f642ab542: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 44487838f35e: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": e0e3fb0cbc92: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 277be8914c09: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 8d9088e34fd2: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": ad3d3037b186: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 146de4801c2e: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 2ebdf3b0f766: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 82e3782c11b4: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 9859072ab638: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": bdf0585d8a44: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 766a88d3c0ae: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 6c2d7cf00ec9: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 2877306fe4ec: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 2ec70c5c8441: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 55a88d28ed5e: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": de0f7fd666e1: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 277be8914c09: Waiting Step #4 - "build-check-afl-address-x86_64": 8d9088e34fd2: Waiting Step #4 - "build-check-afl-address-x86_64": ad3d3037b186: Waiting Step #4 - "build-check-afl-address-x86_64": 146de4801c2e: Waiting Step #4 - "build-check-afl-address-x86_64": 2877306fe4ec: Waiting Step #4 - "build-check-afl-address-x86_64": 2ec70c5c8441: Waiting Step #4 - "build-check-afl-address-x86_64": 55a88d28ed5e: Waiting Step #4 - "build-check-afl-address-x86_64": 2ebdf3b0f766: Waiting Step #4 - "build-check-afl-address-x86_64": de0f7fd666e1: Waiting Step #4 - "build-check-afl-address-x86_64": 82e3782c11b4: Waiting Step #4 - "build-check-afl-address-x86_64": 766a88d3c0ae: Waiting Step #4 - "build-check-afl-address-x86_64": 9859072ab638: Waiting Step #4 - "build-check-afl-address-x86_64": 6c2d7cf00ec9: Waiting Step #4 - "build-check-afl-address-x86_64": bdf0585d8a44: Waiting Step #4 - "build-check-afl-address-x86_64": 44487838f35e: Waiting Step #4 - "build-check-afl-address-x86_64": 2fecc23e11d2: Waiting Step #4 - "build-check-afl-address-x86_64": e0e3fb0cbc92: Waiting Step #4 - "build-check-afl-address-x86_64": 111f642ab542: Waiting Step #4 - "build-check-afl-address-x86_64": 4561162f3a96: Download complete Step #4 - "build-check-afl-address-x86_64": c858b92c04a5: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": c858b92c04a5: Download complete Step #4 - "build-check-afl-address-x86_64": f2c9c6e25ba3: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": f2c9c6e25ba3: Download complete Step #4 - "build-check-afl-address-x86_64": 1cd7bdf47227: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 1cd7bdf47227: Download complete Step #4 - "build-check-afl-address-x86_64": 2fecc23e11d2: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 2fecc23e11d2: Download complete Step #4 - "build-check-afl-address-x86_64": 7ffb4f80b600: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 7ffb4f80b600: Download complete Step #4 - "build-check-afl-address-x86_64": 44487838f35e: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 44487838f35e: Download complete Step #4 - "build-check-afl-address-x86_64": 111f642ab542: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 111f642ab542: Download complete Step #4 - "build-check-afl-address-x86_64": f2c9c6e25ba3: Pull complete Step #4 - "build-check-afl-address-x86_64": 8d9088e34fd2: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 8d9088e34fd2: Download complete Step #4 - "build-check-afl-address-x86_64": ad3d3037b186: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": ad3d3037b186: Download complete Step #4 - "build-check-afl-address-x86_64": 277be8914c09: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 277be8914c09: Download complete Step #4 - "build-check-afl-address-x86_64": 2ebdf3b0f766: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 2ebdf3b0f766: Download complete Step #4 - "build-check-afl-address-x86_64": 1cd7bdf47227: Pull complete Step #4 - "build-check-afl-address-x86_64": 9859072ab638: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 9859072ab638: Download complete Step #4 - "build-check-afl-address-x86_64": bdf0585d8a44: Download complete Step #4 - "build-check-afl-address-x86_64": 4561162f3a96: Pull complete Step #4 - "build-check-afl-address-x86_64": d06a17523563: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": d06a17523563: Download complete Step #4 - "build-check-afl-address-x86_64": e0e3fb0cbc92: Download complete Step #4 - "build-check-afl-address-x86_64": 7ffb4f80b600: Pull complete Step #4 - "build-check-afl-address-x86_64": 6c2d7cf00ec9: Download complete Step #4 - "build-check-afl-address-x86_64": 2877306fe4ec: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 2877306fe4ec: Download complete Step #4 - "build-check-afl-address-x86_64": c858b92c04a5: Pull complete Step #4 - "build-check-afl-address-x86_64": 55a88d28ed5e: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 55a88d28ed5e: Download complete Step #4 - "build-check-afl-address-x86_64": de0f7fd666e1: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": de0f7fd666e1: Download complete Step #4 - "build-check-afl-address-x86_64": 2ec70c5c8441: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 2ec70c5c8441: Download complete Step #4 - "build-check-afl-address-x86_64": 146de4801c2e: Download complete Step #4 - "build-check-afl-address-x86_64": 766a88d3c0ae: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 766a88d3c0ae: Download complete Step #4 - "build-check-afl-address-x86_64": 82e3782c11b4: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 82e3782c11b4: Download complete Step #4 - "build-check-afl-address-x86_64": d06a17523563: Pull complete Step #4 - "build-check-afl-address-x86_64": 2fecc23e11d2: Pull complete Step #4 - "build-check-afl-address-x86_64": 111f642ab542: Pull complete Step #4 - "build-check-afl-address-x86_64": 44487838f35e: Pull complete Step #4 - "build-check-afl-address-x86_64": e0e3fb0cbc92: Pull complete Step #4 - "build-check-afl-address-x86_64": 277be8914c09: Pull complete Step #4 - "build-check-afl-address-x86_64": 8d9088e34fd2: Pull complete Step #4 - "build-check-afl-address-x86_64": ad3d3037b186: Pull complete Step #4 - "build-check-afl-address-x86_64": 146de4801c2e: Pull complete Step #4 - "build-check-afl-address-x86_64": 2ebdf3b0f766: Pull complete Step #4 - "build-check-afl-address-x86_64": 82e3782c11b4: Pull complete Step #4 - "build-check-afl-address-x86_64": 9859072ab638: Pull complete Step #4 - "build-check-afl-address-x86_64": bdf0585d8a44: Pull complete Step #4 - "build-check-afl-address-x86_64": 766a88d3c0ae: Pull complete Step #4 - "build-check-afl-address-x86_64": 6c2d7cf00ec9: Pull complete Step #4 - "build-check-afl-address-x86_64": 2877306fe4ec: Pull complete Step #4 - "build-check-afl-address-x86_64": 2ec70c5c8441: Pull complete Step #4 - "build-check-afl-address-x86_64": 55a88d28ed5e: Pull complete Step #4 - "build-check-afl-address-x86_64": de0f7fd666e1: Pull complete Step #4 - "build-check-afl-address-x86_64": Digest: sha256:e725c98f9a7eb3e0af16bde0486935c4a583a548ef4a1c89b6cea0a398f49849 Step #4 - "build-check-afl-address-x86_64": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa5qr76nn/fuzz_json Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa5qr76nn/fuzz_shead Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa5qr76nn/fuzz_butil Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa5qr76nn/fuzz_esp Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa5qr76nn/fuzz_redis Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa5qr76nn/fuzz_hpack Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa5qr76nn/fuzz_http Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa5qr76nn/fuzz_hulu Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa5qr76nn/fuzz_uri Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa5qr76nn/fuzz_sofa Finished Step #4 - "build-check-afl-address-x86_64" Starting Step #5 Step #5: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #5 Starting Step #6 Step #6: Already have image: gcr.io/oss-fuzz/brpc Step #6: adding: SanitizerCoverageLTO.so (deflated 69%) Step #6: adding: SanitizerCoveragePCGUARD.so (deflated 70%) Step #6: adding: afl-addseeds (deflated 57%) Step #6: adding: afl-analyze (deflated 55%) Step #6: adding: afl-c++ (deflated 57%) Step #6: adding: afl-c++.8 (deflated 55%) Step #6: adding: afl-cc (deflated 57%) Step #6: adding: afl-cc.8 (deflated 55%) Step #6: adding: afl-clang (deflated 57%) Step #6: adding: afl-clang++ (deflated 57%) Step #6: adding: afl-clang-fast (deflated 57%) Step #6: adding: afl-clang-fast++ (deflated 57%) Step #6: adding: afl-clang-fast++.8 (deflated 55%) Step #6: adding: afl-clang-fast.8 (deflated 55%) Step #6: adding: afl-clang-lto (deflated 57%) Step #6: adding: afl-clang-lto++ (deflated 57%) Step #6: adding: afl-clang-lto++.8 (deflated 55%) Step #6: adding: afl-clang-lto.8 (deflated 55%) Step #6: adding: afl-cmin (deflated 70%) Step #6: adding: afl-cmin.bash (deflated 65%) Step #6: adding: afl-cmin.py (deflated 71%) Step #6: adding: afl-compiler-rt-32.o (deflated 54%) Step #6: adding: afl-compiler-rt-64.o (deflated 67%) Step #6: adding: afl-compiler-rt.o (deflated 67%) Step #6: adding: afl-fuzz (deflated 55%) Step #6: adding: afl-g++ (deflated 57%) Step #6: adding: afl-gcc (deflated 57%) Step #6: adding: afl-gotcpu (deflated 62%) Step #6: adding: afl-ld-lto (deflated 62%) Step #6: adding: afl-llvm-dict2file.so (deflated 69%) Step #6: adding: afl-llvm-lto-instrumentlist.so (deflated 71%) Step #6: adding: afl-llvm-pass.so (deflated 69%) Step #6: adding: afl-llvm-rt-lto-32.o (deflated 20%) Step #6: adding: afl-llvm-rt-lto-64.o (deflated 20%) Step #6: adding: afl-llvm-rt-lto.o (deflated 20%) Step #6: adding: afl-lto (deflated 57%) Step #6: adding: afl-lto++ (deflated 57%) Step #6: adding: afl-lto++.8 (deflated 55%) Step #6: adding: afl-lto.8 (deflated 55%) Step #6: adding: afl-persistent-config (deflated 59%) Step #6: adding: afl-plot (deflated 65%) Step #6: adding: afl-showmap (deflated 55%) Step #6: adding: afl-system-config (deflated 63%) Step #6: adding: afl-tmin (deflated 55%) Step #6: adding: afl-whatsup (deflated 69%) Step #6: adding: afl-wine-trace (deflated 70%) Step #6: adding: afl_options.txt (deflated 20%) Step #6: adding: cmplog-instructions-pass.so (deflated 71%) Step #6: adding: cmplog-routines-pass.so (deflated 70%) Step #6: adding: cmplog-switches-pass.so (deflated 70%) Step #6: adding: compare-transform-pass.so (deflated 69%) Step #6: adding: dynamic_list.txt (deflated 76%) Step #6: adding: fuzz_butil (deflated 66%) Step #6: adding: fuzz_butil_seed_corpus.zip (stored 0%) Step #6: adding: fuzz_esp (deflated 66%) Step #6: adding: fuzz_hpack (deflated 67%) Step #6: adding: fuzz_hpack_seed_corpus.zip (stored 0%) Step #6: adding: fuzz_http (deflated 66%) Step #6: adding: fuzz_http_seed_corpus.zip (stored 0%) Step #6: adding: fuzz_hulu (deflated 66%) Step #6: adding: fuzz_json (deflated 67%) Step #6: adding: fuzz_json_seed_corpus.zip (stored 0%) Step #6: adding: fuzz_redis (deflated 67%) Step #6: adding: fuzz_redis_seed_corpus.zip (stored 0%) Step #6: adding: fuzz_shead (deflated 66%) Step #6: adding: fuzz_sofa (deflated 66%) Step #6: adding: fuzz_uri (deflated 66%) Step #6: adding: fuzz_uri_seed_corpus.zip (stored 0%) Step #6: adding: injection-pass.so (deflated 70%) Step #6: adding: lib/ (stored 0%) Step #6: adding: lib/libprotobuf.so.17 (deflated 66%) Step #6: adding: lib/libgflags_nothreads.so.2.2.2 (deflated 59%) Step #6: adding: lib/libsnappy.so.1.1.8 (deflated 62%) Step #6: adding: lib/libprotoc.so.17 (deflated 66%) Step #6: adding: lib/libgflags_nothreads.so (deflated 59%) Step #6: adding: lib/libgflags.so.2.2 (deflated 59%) Step #6: adding: lib/libprotoc.a (deflated 76%) Step #6: adding: lib/libsnappy.so.1 (deflated 62%) Step #6: adding: lib/libprotobuf-lite.a (deflated 79%) Step #6: adding: lib/libprotoc.so.17.0.0 (deflated 66%) Step #6: adding: lib/libgflags.a (deflated 70%) Step #6: adding: lib/libprotobuf.a (deflated 79%) Step #6: adding: lib/libgflags_nothreads.so.2.2 (deflated 59%) Step #6: adding: lib/libsnappy-shared.a (deflated 67%) Step #6: adding: lib/libprotobuf.so (deflated 66%) Step #6: adding: lib/libsnappy.a (deflated 67%) Step #6: adding: lib/libgflags.so.2.2.2 (deflated 59%) Step #6: adding: lib/libprotobuf-lite.so.17 (deflated 66%) Step #6: adding: lib/libsnappy.so (deflated 62%) Step #6: adding: lib/libprotobuf-lite.so.17.0.0 (deflated 66%) Step #6: adding: lib/libprotobuf.so.17.0.0 (deflated 66%) Step #6: adding: lib/libprotobuf-lite.so (deflated 66%) Step #6: adding: lib/libgflags_nothreads.a (deflated 70%) Step #6: adding: lib/libleveldb.so (deflated 57%) Step #6: adding: lib/libleveldb.so.1.22.0 (deflated 57%) Step #6: adding: lib/libprotoc.so (deflated 66%) Step #6: adding: lib/libleveldb.a (deflated 73%) Step #6: adding: lib/libleveldb.so.1d (deflated 57%) Step #6: adding: lib/libgflags.so (deflated 59%) Step #6: adding: libAFLDriver.a (deflated 64%) Step #6: adding: libAFLQemuDriver.a (deflated 65%) Step #6: adding: llvm-symbolizer (deflated 65%) Step #6: adding: split-compares-pass.so (deflated 69%) Step #6: adding: split-switches-pass.so (deflated 70%) Finished Step #6 Starting Step #7 Step #7: Pulling image: gcr.io/oss-fuzz-base/uploader Step #7: Using default tag: latest Step #7: latest: Pulling from oss-fuzz-base/uploader Step #7: c62795f78da9: Pulling fs layer Step #7: d4fceeeb758e: Pulling fs layer Step #7: 5c9125a401ae: Pulling fs layer Step #7: 0062f774e994: Pulling fs layer Step #7: 6b33fd031fac: Pulling fs layer Step #7: 7eb39101e508: Pulling fs layer Step #7: 89257482f398: Pulling fs layer Step #7: 89257482f398: Waiting Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 5c9125a401ae: Download complete Step #7: 6b33fd031fac: Download complete Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 6b33fd031fac: Pull complete Step #7: 7eb39101e508: Pull complete Step #7: 89257482f398: Pull complete Step #7: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #7: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #7: gcr.io/oss-fuzz-base/uploader:latest Step #7: % Total % Received % Xferd Average Speed Time Time Time Current Step #7: Dload Upload Total Spent Left Speed Step #7: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 147 0 0 100 147 0 709 --:--:-- --:--:-- --:--:-- 710 Finished Step #7 Starting Step #8 Step #8: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #8: % Total % Received % Xferd Average Speed Time Time Time Current Step #8: Dload Upload Total Spent Left Speed Step #8: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 54 209M 0 0 54 114M 0 108M 0:00:01 0:00:01 --:--:-- 108M 100 209M 0 0 100 209M 0 99.9M 0:00:02 0:00:02 --:--:-- 99.9M 100 209M 0 0 100 209M 0 99.9M 0:00:02 0:00:02 --:--:-- 99.9M Finished Step #8 Starting Step #9 Step #9: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #9: % Total % Received % Xferd Average Speed Time Time Time Current Step #9: Dload Upload Total Spent Left Speed Step #9: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 102 0 0 100 102 0 422 --:--:-- --:--:-- --:--:-- 423 Finished Step #9 Starting Step #10 Step #10: Already have image (with digest): gcr.io/cloud-builders/curl Step #10: % Total % Received % Xferd Average Speed Time Time Time Current Step #10: Dload Upload Total Spent Left Speed Step #10: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 29 0 0 100 29 0 147 --:--:-- --:--:-- --:--:-- 147 100 29 0 0 100 29 0 147 --:--:-- --:--:-- --:--:-- 147 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/brpc Finished Step #11 Starting Step #12 - "compile-honggfuzz-address-x86_64" Step #12 - "compile-honggfuzz-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #12 - "compile-honggfuzz-address-x86_64": --------------------------------------------------------------- Step #12 - "compile-honggfuzz-address-x86_64": vm.mmap_rnd_bits = 28 Step #12 - "compile-honggfuzz-address-x86_64": Skipping compilation; using precompiled honggfuzz Step #12 - "compile-honggfuzz-address-x86_64": done. Step #12 - "compile-honggfuzz-address-x86_64": --------------------------------------------------------------- Step #12 - "compile-honggfuzz-address-x86_64": CC=clang Step #12 - "compile-honggfuzz-address-x86_64": CXX=clang++ Step #12 - "compile-honggfuzz-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp Step #12 - "compile-honggfuzz-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ Step #12 - "compile-honggfuzz-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #12 - "compile-honggfuzz-address-x86_64": --------------------------------------------------------------- Step #12 - "compile-honggfuzz-address-x86_64": + '[' address = undefined ']' Step #12 - "compile-honggfuzz-address-x86_64": + mkdir -p build Step #12 - "compile-honggfuzz-address-x86_64": + cd build Step #12 - "compile-honggfuzz-address-x86_64": + cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ '-DCMAKE_C_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp' '-DCMAKE_CXX_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp' '-DCMAKE_CPP_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp' '-DCMAKE_EXE_LINKER_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp' -DLIB_FUZZING_ENGINE=/usr/lib/libFuzzingEngine.a -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DWITH_SNAPPY=ON -DBUILD_UNIT_TESTS=ON -DBUILD_FUZZ_TESTS=ON ../. Step #12 - "compile-honggfuzz-address-x86_64": CMake Deprecation Warning at CMakeLists.txt:18 (cmake_minimum_required): Step #12 - "compile-honggfuzz-address-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #12 - "compile-honggfuzz-address-x86_64": CMake. Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #12 - "compile-honggfuzz-address-x86_64": CMake that the project does not need compatibility with older versions. Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": -- The C compiler identification is Clang 22.0.0 Step #12 - "compile-honggfuzz-address-x86_64": -- The CXX compiler identification is Clang 22.0.0 Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting C compiler ABI info Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting C compiler ABI info - done Step #12 - "compile-honggfuzz-address-x86_64": -- Check for working C compiler: /usr/local/bin/clang - skipped Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting C compile features Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting C compile features - done Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting CXX compiler ABI info Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting CXX compiler ABI info - done Step #12 - "compile-honggfuzz-address-x86_64": -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting CXX compile features Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting CXX compile features - done Step #12 - "compile-honggfuzz-address-x86_64": -- Found gflags: /usr/lib/x86_64-linux-gnu/libgflags.so Step #12 - "compile-honggfuzz-address-x86_64": -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so (found version "3.6.1") Step #12 - "compile-honggfuzz-address-x86_64": -- Found Threads: TRUE Step #12 - "compile-honggfuzz-address-x86_64": -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f") Step #12 - "compile-honggfuzz-address-x86_64": -- Found Gperftools: /usr/lib/x86_64-linux-gnu/libtcmalloc_and_profiler.so Step #12 - "compile-honggfuzz-address-x86_64": CMake Deprecation Warning at CMakeLists.txt:16 (cmake_minimum_required): Step #12 - "compile-honggfuzz-address-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #12 - "compile-honggfuzz-address-x86_64": CMake. Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #12 - "compile-honggfuzz-address-x86_64": CMake that the project does not need compatibility with older versions. Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": -- Configuring done (0.0s) Step #12 - "compile-honggfuzz-address-x86_64": -- Generating done (0.0s) Step #12 - "compile-honggfuzz-address-x86_64": -- Build files have been written to: /src/brpc/build/googletest-download Step #12 - "compile-honggfuzz-address-x86_64": [ 11%] Creating directories for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [ 22%] Performing download step (git clone) for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": Cloning into 'googletest-src'... Step #12 - "compile-honggfuzz-address-x86_64": HEAD is now at 15460959 Update versions of WORKSPACE dependencies Step #12 - "compile-honggfuzz-address-x86_64": [ 33%] Performing update step for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [ 44%] No patch step for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [ 55%] No configure step for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [ 66%] No build step for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [ 77%] No install step for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [ 88%] No test step for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [100%] Completed 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target googletest Step #12 - "compile-honggfuzz-address-x86_64": -- Found Python: /usr/local/bin/python3.11 (found version "3.11.13") found components: Interpreter Step #12 - "compile-honggfuzz-address-x86_64": -- Configuring done (3.2s) Step #12 - "compile-honggfuzz-address-x86_64": -- Generating done (0.3s) Step #12 - "compile-honggfuzz-address-x86_64": -- Build files have been written to: /src/brpc/build Step #12 - "compile-honggfuzz-address-x86_64": ++ nproc Step #12 - "compile-honggfuzz-address-x86_64": + make fuzz_butil fuzz_esp fuzz_hpack fuzz_http fuzz_hulu fuzz_json fuzz_redis fuzz_shead fuzz_sofa fuzz_uri --ignore-errors -j32 Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating idl_options.pb.h, idl_options.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/builtin_service.pb.h, brpc/builtin_service.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating v3.pb.h, v3.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/errno.pb.h, brpc/errno.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating addressbook.pb.h, addressbook.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/get_js.pb.h, brpc/get_js.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating addressbook1.pb.h, addressbook1.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating addressbook_map.pb.h, addressbook_map.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/get_favicon.pb.h, brpc/get_favicon.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating addressbook_encode_decode.pb.h, addressbook_encode_decode.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating echo.pb.h, echo.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating grpc.pb.h, grpc.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/options.pb.h, brpc/options.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating health_check.pb.h, health_check.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating iobuf.pb.h, iobuf.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/policy/hulu_pbrpc_meta.pb.h, brpc/policy/hulu_pbrpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/policy/mongo.pb.h, brpc/policy/mongo.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating message.pb.h, message.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating repeated.pb.h, repeated.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/policy/public_pbrpc_meta.pb.h, brpc/policy/public_pbrpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/proto_base.pb.h, brpc/proto_base.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating v1.pb.h, v1.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/span.pb.h, brpc/span.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Generating v2.pb.h, v2.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dynamic_annotations/dynamic_annotations.c.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/icu/icu_utf.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/modp_b64/modp_b64.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-sinksource.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-stubs-internal.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path_constants.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_file.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_temp_dir.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/hash.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/lazy_instance.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/location.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/aligned_memory.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted_memory.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/safe_strerror_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/sha1_portable.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_piece.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_offset_string_conversions.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversion_utils.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/non_thread_safe_impl.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_id_name_manager.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/find_cstr.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/status.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/zero_copy_stream_as_streambuf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/containers/case_ignored_flat_map.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_linux.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_linux.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/sys_string_conversions_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_js.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/options.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/recordio.cc:318:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 318 | char metabuf[s.name.size() + 5]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/recordio.cc:318:22: note: initializer of 's' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/recordio.cc:312:15: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 312 | auto& s = rec.MetaAt(i); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/sofa_pbrpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 833 | struct iovec vec[nref]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: note: initializer of 'nref' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/iobuf.cpp:832:18: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 832 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 864 | struct iovec vec[nref]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: note: initializer of 'nref' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/iobuf.cpp:863:18: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 863 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/streaming_rpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": 1 warning generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/proto_base.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/collector.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread_once.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/butex.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/condition_variable.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/encode_decode.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/json_to_pb.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/pb_to_json.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_connection_type.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_max_concurrency.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/amf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:75:39: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<30UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 75 | g->get_interval_at(index).merge(interval); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :134:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 134 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :130:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 130 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<30>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/combiner.h:225:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 225 | const ElementTp element_identity = ElementTp(), Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:680:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 680 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:1344:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 1344 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:359:4: note: in instantiation of function template specialization 'std::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 359 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:701:14: note: in instantiation of function template specialization 'std::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 701 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:717:19: note: in instantiation of function template specialization 'std::allocate_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 717 | return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(), Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:89:22: note: in instantiation of function template specialization 'std::make_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 89 | : _combiner(std::make_shared()), _sampler(NULL) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/semaphore.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | mIn file included from e/src/brpc/src/bthread/rwlock.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/rwlock.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:mset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(In file included from ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: 289 | memset(this, 0, 529:sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), 28:time _us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 |  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested heretake Step #12 - "compile-honggfuzz-address-x86_64": _sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | 529 | _sampler = new _sampler  sampler_type(this= new sampler); Step #12 - "compile-honggfuzz-address-x86_64": _t|  ^ Step #12 - "compile-honggfuzz-address-x86_64": ype(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bvar/detail/percentile.h:289:16: :note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64":  289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/countdown_event.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/countdown_event.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<1022>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.cpp:64:55: note: in instantiation of member function 'bvar::detail::PercentileSamples<1022>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 64 | std::unique_ptr cb(new CombinedPercentileSamples); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/collector.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/timer_thread.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | retuIn file included from /src/brpc/src/bthread/id.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": rn/src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64":  289 | memset(this, 0append_seco,n d(sviazleuoef, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) ->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here{} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampl note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": e r(W116i | Sample tmp;ndowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here/src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_ Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(tsampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": his); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(th 132 | DEFINisE_,S MA0L, sizeof(*thisL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :176:1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": : note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 176 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :172:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 172/src/brpc/src/bvar/detail/percentile.h:132:13: warning: | tvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | m p _ DEFINEs_StacMALL_ARRAY(uint32_tk_, tarrmp, rhs._num_samples,a y_size64 Step #12 - "compile-honggfuzz-address-x86_64": ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/butil/macros.h:^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/execution_queue.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/execution_queue.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": | 426: ^29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_si/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": ze 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ]/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": ; 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": \ 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28 Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": : note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  get_interval_at(i/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": ) 289 | .merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | memset(this, 0, sizeof( call_op_retur*thisning_void(op, tmp, _d)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": ata.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBIn file included from /src/brpc/src/bthread/fd.cpp:36: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": ase 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": {/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 40|  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": | Sample() 132 | : D EFdINaE_tSMALL_ARRAY(uint3a(), time_us(02_t, tmp, rhs.) _n{um_s}amples, 64 Step #12 - "compile-honggfuzz-address-x86_64": ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; Step #12 - "compile-honggfuzz-address-x86_64": \ 116 | Samp Step #12 - "compile-honggfuzz-address-x86_64": le t |  ^ Step #12 - "compile-honggfuzz-address-x86_64": mp; Step #12 - "compile-honggfuzz-address-x86_64": : | 176 ^: Step #12 - "compile-honggfuzz-address-x86_64": 1: /src/brpc/src/bvar/detail/sampler.hnote: :98expanded from here:9: Step #12 - "compile-honggfuzz-address-x86_64":  note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 176 | tmp_98s | t a c k _ a r r atayk_es_iszaem Step #12 - "compile-honggfuzz-address-x86_64": p l| e^( Step #12 - "compile-honggfuzz-address-x86_64": ); Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h ^: Step #12 - "compile-honggfuzz-address-x86_64": 132:13: /src/brpc/src/bvar/detail/percentile.h:note: 529:declared here28: Step #12 - "compile-honggfuzz-address-x86_64": note: /src/brpc/src/butil/macros.h:in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here425: Step #12 - "compile-honggfuzz-address-x86_64": 20 : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 529 | 425 |  c o n s t_s amunsignpelder n= anmeew## _ssatmapclke_ra_rtryapye_(sitzhei s= )(;na Step #12 - "compile-honggfuzz-address-x86_64": m e| ## ^_ Step #12 - "compile-honggfuzz-address-x86_64": size <= (maxsize) ? name##_size : 0)/src/brpc/src/bvar/detail/percentile.h;: 289\:16 Step #12 - "compile-honggfuzz-address-x86_64": : | note: ^ Step #12 - "compile-honggfuzz-address-x86_64": explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": :172:1: note: expanded from here289 Step #12 - "compile-honggfuzz-address-x86_64": | 172 | memtsmept_(sttahciks_a,r ra0y_,s izsei Step #12 - "compile-honggfuzz-address-x86_64": z e| of^ Step #12 - "compile-honggfuzz-address-x86_64": (*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/key.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmIn file included from /src/brpc/src/bthread/bthread.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_group.hp, r:hs26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26.: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: _num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_289array[ | s i z e o fme(mTspe)t (* tnahmies##,_ st0ac,k sizeo_arrfay(_*sithze]; i s  ) ) ;\ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": | |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herenote:  Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here  Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data364() | , ti m e _ u s (  0  ) { }  Step #12 - "compile-honggfuzz-address-x86_64": g| et ^_ Step #12 - "compile-honggfuzz-address-x86_64": interva/src/brpc/src/bvar/detail/sampler.hl:_116a:t23(:i ).mnote: erin instantiation of member function 'bvar::detail::Sample>::Sample' requested herege Step #12 - "compile-honggfuzz-address-x86_64": ( *rhs116. | _ i n t e r v a l s [ i ]S)a;m Step #12 - "compile-honggfuzz-address-x86_64": | pl ^e Step #12 - "compile-honggfuzz-address-x86_64": <T> t/src/brpc/src/bvar/detail/percentile.hmp:;499: Step #12 - "compile-honggfuzz-address-x86_64": 12 :|  ^ Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | 98 | b 1 . m etragkee(_bs2a)m;pl Step #12 - "compile-honggfuzz-address-x86_64": e (| ) ^; Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64":  |  ^/src/brpc/src/bvar/window.h Step #12 - "compile-honggfuzz-address-x86_64": :53:17: /src/brpc/src/bvar/detail/percentile.hnote: :529in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here:28 Step #12 - "compile-honggfuzz-address-x86_64": : note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here53 Step #12 - "compile-honggfuzz-address-x86_64": | _var529- | > o p ( ) ( v 1 , v 2 )_;sa Step #12 - "compile-honggfuzz-address-x86_64": m p| le ^r Step #12 - "compile-honggfuzz-address-x86_64": = ne/src/brpc/src/bvar/detail/call_op_returning_void.hw: 29s:a12m:p lernote: _tin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereyp Step #12 - "compile-honggfuzz-address-x86_64": e (thi29s |  ) ;  Step #12 - "compile-honggfuzz-address-x86_64":  r| et ^u Step #12 - "compile-honggfuzz-address-x86_64": rn op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | /src/brpc/src/bvar/detail/percentile.h : 289 : 16 :   note: caexplicitly cast the pointer to silence this warningll Step #12 - "compile-honggfuzz-address-x86_64": _ op_returning_void(289o | p , t m p , _mdeamtsae.ts(ectohnids(i,) ); Step #12 - "compile-honggfuzz-address-x86_64": 0| , ^ Step #12 - "compile-honggfuzz-address-x86_64": sizeof/src/brpc/src/bvar/detail/series.h:(116*:16t:h isnote: ))in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here; Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :153:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 153 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :149:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated149 | tmp_s. Step #12 - "compile-honggfuzz-address-x86_64": tack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char namIn file included from /src/brpc/src/bthread/butex.cpp:35: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: e##first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": _sta 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeofck_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :173:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 173 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :169:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 169 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": (*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _v/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]ar-> Step #12 - "compile-honggfuzz-address-x86_64": op( )(v1, v1322 | ) DEFINE_SMALL_ARRAY(ui;nt32_t, tmp, Step #12 - "compile-honggfuzz-address-x86_64": rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29 | :  ^note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29 :12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 426 | 29 | cha r name##_stack_array[ s izereturn op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": o168 | call_op_returning_void(op, tmp, /src/brpc/src/bvar/detail/percentile.h_:d132a:t13a:. secwarning: ondvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension](i Step #12 - "compile-honggfuzz-address-x86_64": )); Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tm |  ^ Step #12 - "compile-honggfuzz-address-x86_64": p, /src/brpc/src/bvar/detail/series.h:116rhs:._n16: um_samnote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_sfecondp(vles, al6u4e,) ;_o Step #12 - "compile-honggfuzz-address-x86_64": p )| ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: /src/brpc/src/bvar/window.hexpanded from macro 'DEFINE_SMALL_ARRAY':65 Step #12 - "compile-honggfuzz-address-x86_64": :25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | (Tp) * n 426a _serme##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": | ie | s.a ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~p Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": c 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": ha 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": r n 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": am 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": e 425 | const unsigned name#pend(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here# Step #12 - "compile-honggfuzz-address-x86_64": #_s 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": t#a_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.hc:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": k 151 | _157a | tmp_stack_array_si r _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": ra 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": y[/src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": s 426 | char iname##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :164:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": ze 164 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": o 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :160:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": f 160 | t(ze Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499mp_stack_a | rray_si zeb1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :170:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 170 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: /src/brpc/src/bthread/task_control.cpp:599:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 599 | DEFINE_SMALL_ARRAY(int, nums, ngroup, 128); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: initializer of 'nums_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :121:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 121 | nums_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :117:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 117 | nums_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | 499 |  r ebt1u.rmner gaep(pbe2n)d;_s Step #12 - "compile-honggfuzz-address-x86_64": e c| on ^d Step #12 - "compile-honggfuzz-address-x86_64": (valu/src/brpc/src/bvar/window.he:,53 :_17o:p ); Step #12 - "compile-honggfuzz-address-x86_64": note: | in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64":  53 |  /src/brpc/src/bvar/window.h : 65 : 25 :  note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": _v 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": a r58- | > o SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": p()(v1, 132 | DEFINE_SMALL_ARRAY(uint32 _vt2,) tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _se42: ries.appnote: enexpanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": d(_owner->get_va 426 | char nluame##_stack_arre(1)ay[si); Step #12 - "compile-honggfuzz-address-x86_64": zeof|  ^ Step #12 - "compile-honggfuzz-address-x86_64": (T/src/brpc/src/bvar/window.h:58:9p) * na: me#note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here#_stack_arr Step #12 - "compile-honggfuzz-address-x86_64": ay 58 | Ser_iesSampler(Winsize]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :164:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 164 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= dowBas(em*a xoswinzeer), ?R *n avmaer#)#_ Step #12 - "compile-honggfuzz-address-x86_64": s i| ze ^ Step #12 - "compile-honggfuzz-address-x86_64": : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h :| 151: ^35 Step #12 - "compile-honggfuzz-address-x86_64": : note: :160in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here:1 Step #12 - "compile-honggfuzz-address-x86_64": : note: 151expanded from here |  Step #12 - "compile-honggfuzz-address-x86_64": _160s | etrmipe_ss_tsaacmkp_laerrr a=y _sniezwe Step #12 - "compile-honggfuzz-address-x86_64": S e| ri^e Step #12 - "compile-honggfuzz-address-x86_64": sSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :164:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 164 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :160:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 160 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :197:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 197 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :193:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 193 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.cpp:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:377:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 377 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:379:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 379 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:381:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 381 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:383:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 383 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:385:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 385 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:387:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 387 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:389:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 389 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:391:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 391 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:393:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 393 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:395:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 395 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:397:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 397 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :160:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 160 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :156:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 156 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flags_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flot_min_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_favicon_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/grpc_health_check_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_group.cpp:36: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :189:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 189 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :170:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 170 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/adaptive_max_concurrency.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/memory_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": (*this)); Step #12 - "compile-honggfuzz-address-x86_64": | 132 |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64":  DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :222:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 222 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :218:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 218 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_perl.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/prometheus_metrics_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_sizeIn file included from /src/brpc/src/brpc/builtin/bthreads_service.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": = (na 289 | memset(me##_size <=this (maxsize) ? nam, 0e##_size : 0);, s \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": izeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :176:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 176 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :172:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 172 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/common.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sorttable_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/threads_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/dir_service.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_favicon_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :199:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 199 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :195:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 195 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_js_service.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/bad_method_service.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/viz_min_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/flags_service.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/connections_service.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/grpc_health_check_service.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :240:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 240 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :236:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 236 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/ids_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  In file included from /src/brpc/src/brpc/builtin/health_service.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :229:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 229 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :225:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 225 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/cluster_recover_policy.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/compress.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/hotspots_service.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/index_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/couchbase.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :50:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 50 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :46:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 46 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/list_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :16:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 16 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :12:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 12 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/memory_service.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 12 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/load_balancer_with_naming.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/pprof_service.cpp:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:In file included from 9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/builtin/protobufs_service.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h 98 | :37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/naming_service_thread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.mIn file included from /src/brpc/src/brpc/builtin/prometheus_metrics_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": erIn file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": ge(b 289 | 2); memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64":  40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": | 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": note:  289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v22 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :250:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 250 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :246:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 246 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/ssl_helper.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/tcmalloc_extension.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/rpcz_service.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :229:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 229 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :225:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 225 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/usercode_backup_pool.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/threads_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/global.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :229:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 229 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :225:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 225 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/sockets_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vars_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http2.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_header.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | In file included from /src/brpc/src/brpc/builtin/version_service.cpp :19c: Step #12 - "compile-honggfuzz-address-x86_64": hIn file included from a/src/brpc/src/brpc/controller.hr:37 : Step #12 - "compile-honggfuzz-address-x86_64": nIn file included from a/src/brpc/src/brpc/socket_id.hm:e25#: Step #12 - "compile-honggfuzz-address-x86_64": #In file included from _/src/brpc/src/brpc/versioned_ref_with_id.hs:t26a: Step #12 - "compile-honggfuzz-address-x86_64": cIn file included from k/src/brpc/src/bthread/bthread.h_:a32r: Step #12 - "compile-honggfuzz-address-x86_64": rIn file included from a/src/brpc/src/bthread/mutex.hy:[27: Step #12 - "compile-honggfuzz-address-x86_64": sIn file included from i/src/brpc/src/bvar/utils/lock_timer.hz:e28o: Step #12 - "compile-honggfuzz-address-x86_64": fIn file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": (T p) 289 | memset(th* is, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": n/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() ame#: data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": | # ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: _note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": sta 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereck_ Step #12 - "compile-honggfuzz-address-x86_64": array_size]; \ 529 |  Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64":  _s/src/brpc/src/bvar/detail/percentile.ha:mpler = new s364:ampler_type(th36i:s ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_/src/brpc/src/bvar/detail/percentile.hi:289:16: nternote: explicitly cast the pointer to silence this warningval Step #12 - "compile-honggfuzz-address-x86_64": _at(i).merge(*rhs._ 289 | in terv al smemset[(this,i]); 0,  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.smerge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": ize 53 | of  ( _*vthari-s>op)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": ()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vlog_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/checksum.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:In file included from 26/src/brpc/src/brpc/details/http_message.cpp: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from 26/src/brpc/src/bthread/bthread.h: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from 32/src/brpc/src/bthread/bthread.h: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from 32/src/brpc/src/bthread/mutex.h: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from 27/src/brpc/src/bthread/mutex.h: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from 27/src/brpc/src/bvar/utils/lock_timer.h: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from 28/src/brpc/src/bvar/utils/lock_timer.h: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from 28/src/brpc/src/bvar/latency_recorder.h: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from 26/src/brpc/src/bvar/latency_recorder.h: Step #12 - "compile-honggfuzz-address-x86_64": :26/src/brpc/src/bvar/detail/percentile.h: Step #12 - "compile-honggfuzz-address-x86_64": :289/src/brpc/src/bvar/detail/percentile.h::16289:: 16: warning: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | 289 | m e m s e tm(emtsheits(,t hi0s,, s0iz,e ofsi(z*eothisf)()*;t Step #12 - "compile-honggfuzz-address-x86_64": h i| s ^) Step #12 - "compile-honggfuzz-address-x86_64": ); Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/sampler.h: ^40 Step #12 - "compile-honggfuzz-address-x86_64": :16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here/src/brpc/src/bvar/detail/sampler.h Step #12 - "compile-honggfuzz-address-x86_64": :40:16: note:  in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here40 | Step #12 - "compile-honggfuzz-address-x86_64": Sam p40l | e ( ) :S admaptlae(()), :t idmaet_au(s)(, 0ti)m e{_}us Step #12 - "compile-honggfuzz-address-x86_64": ( | 0 ^) Step #12 - "compile-honggfuzz-address-x86_64": {} Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/sampler.h: ^116 Step #12 - "compile-honggfuzz-address-x86_64": :23: note: /src/brpc/src/bvar/detail/sampler.h:in instantiation of member function 'bvar::detail::Sample>::Sample' requested here116: Step #12 - "compile-honggfuzz-address-x86_64": 23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | S116a | m p l e < T > t m p ; S Step #12 - "compile-honggfuzz-address-x86_64": a m| pl ^e Step #12 - "compile-honggfuzz-address-x86_64": <T> tmp; Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h :| 98: ^9 Step #12 - "compile-honggfuzz-address-x86_64": : note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sampl/src/brpc/src/bvar/detail/sampler.h:e98(:)9;: Step #12 - "compile-honggfuzz-address-x86_64":  | note:  ^in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here98 | Step #12 - "compile-honggfuzz-address-x86_64": t529a | k e _ s a m p l e ( ) ; _ Step #12 - "compile-honggfuzz-address-x86_64": s a| mp ^l Step #12 - "compile-honggfuzz-address-x86_64": er = new/src/brpc/src/bvar/detail/percentile.h :s529a:m28p:l er_note: tyin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested herepe Step #12 - "compile-honggfuzz-address-x86_64": (this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  529 | _sampler = new sampler_type(this/src/brpc/src/bvar/detail/percentile.h):;289: Step #12 - "compile-honggfuzz-address-x86_64": 16 :|  ^ Step #12 - "compile-honggfuzz-address-x86_64": note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(/src/brpc/src/bvar/detail/percentile.h*:289t:h16i:s ))note: ;explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64":  289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: In file included from /src/brpc/src/brpc/builtin/status_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, size _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | Seof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": riesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.In file included from /src/brpc/src/brpc/compress.cpp:merge(22b2): Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:;32: Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h| :27: Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.hIn file included from :/src/brpc/src/bvar/latency_recorder.h53::2617: Step #12 - "compile-honggfuzz-address-x86_64": : /src/brpc/src/bvar/detail/percentile.h:note: 289:in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here16: Step #12 - "compile-honggfuzz-address-x86_64": warning: 53 | first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": _v2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": ar289- | > o p( ) ( v 1m,ems evt2();t Step #12 - "compile-honggfuzz-address-x86_64": h| i ^s Step #12 - "compile-honggfuzz-address-x86_64": , 0/src/brpc/src/bvar/detail/call_op_returning_void.h,: 29:s12:izeof (*note: tin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested herehi Step #12 - "compile-honggfuzz-address-x86_64": s ));29 Step #12 - "compile-honggfuzz-address-x86_64": | |  ^ Step #12 - "compile-honggfuzz-address-x86_64": retur/src/brpc/src/bvar/detail/sampler.hn:40:16: note: op(v1, vin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ 40 | Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | Sample() : data(), time_us(0) { }  Step #12 - "compile-honggfuzz-address-x86_64": | c ^a Step #12 - "compile-honggfuzz-address-x86_64": ll_op_/src/brpc/src/bvar/detail/sampler.hr:e116t:urn23i:n g_vnote: oiin instantiation of member function 'bvar::detail::Sample>::Sample' requested hered( Step #12 - "compile-honggfuzz-address-x86_64": o p, tmp, _data.sec116 | ond(i) ) ;Sa Step #12 - "compile-honggfuzz-address-x86_64": m p| l ^e Step #12 - "compile-honggfuzz-address-x86_64": tmp/src/brpc/src/bvar/detail/series.h:116:16; Step #12 - "compile-honggfuzz-address-x86_64": | : ^ Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here/src/brpc/src/bvar/detail/sampler.h Step #12 - "compile-honggfuzz-address-x86_64": 116 | :98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | r e t u r n  atpapkeen_ds_asmepcloen(d)(;va Step #12 - "compile-honggfuzz-address-x86_64": l u| e, ^ Step #12 - "compile-honggfuzz-address-x86_64": _op)/src/brpc/src/bvar/detail/percentile.h;:529 Step #12 - "compile-honggfuzz-address-x86_64": : 28| : ^ Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h :65:25: 529 |  note:  in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here  Step #12 - "compile-honggfuzz-address-x86_64": _sam65p | l e r =  n ew sampl_serieser_type(.appendthis);(_owner Step #12 - "compile-honggfuzz-address-x86_64": |  ^->get_v Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16alue(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | :   note:  explicitly cast the pointer to silence this warning  Step #12 - "compile-honggfuzz-address-x86_64": S eriesSampler(WindowBase289* | o w n e r , Rm* evmasre)t( Step #12 - "compile-honggfuzz-address-x86_64":  t| hi ^s Step #12 - "compile-honggfuzz-address-x86_64": , 0, /src/brpc/src/bvar/window.hs:i151z:e35o:f (*note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereth Step #12 - "compile-honggfuzz-address-x86_64": i s)); Step #12 - "compile-honggfuzz-address-x86_64": 151 | |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64":  _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :160:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 160 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :156:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 156 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": : 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples , note: 64in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 49 | c 426 | char name##l_asstsack_arr aLya[tsizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": en 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": cyRe 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": c/src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": o 53 | rderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/input_messenger.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": | [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64":  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13:   note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20:  note:  expanded from macro 'DEFINE_SMALL_ARRAY' _ Step #12 - "compile-honggfuzz-address-x86_64": var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 425/src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": | 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151 const unsign:35: ednote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64":  132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": name## 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": _ 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": stack_ar 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": r 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": ay_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32In file included from /src/brpc/src/brpc/cluster_recover_policy.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28_t, tmp, rhs._num: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 426 | 0, sizeof(*thi s  ) );ch Step #12 - "compile-honggfuzz-address-x86_64": a r|  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: nanote: me##_stack_array[sizeof(Tp) * namein instantiation of member function 'bvar::detail::Sample>::Sample' requested here##_stack_array_size]; Step #12 - "compile-honggfuzz-address-x86_64": 116 | \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :242:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 242 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64":  Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here/src/brpc/src/bvar/detail/sampler.h:98:9: note:  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY'in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": 425 | |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529 :28: const note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": unsigned name##_stack 529 | _sa_mplerar = nreawy_ ssaimzpel e=r (_tnyapmee(##t_hsiisze) ;<= Step #12 - "compile-honggfuzz-address-x86_64": (| ma ^x Step #12 - "compile-honggfuzz-address-x86_64": size) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :238:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 238 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_pb_service_adaptor.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/channel.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :194:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 194 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :190:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 190 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _ser[ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/parallel_channel.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": ies.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157In file included from /src/brpc/src/brpc/details/health_check.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/health_check.h:22: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from 1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp/src/brpc/src/bthread/mutex.h:_stac27k: Step #12 - "compile-honggfuzz-address-x86_64": _In file included from a/src/brpc/src/bvar/utils/lock_timer.h:28r: Step #12 - "compile-honggfuzz-address-x86_64": rIn file included from a/src/brpc/src/bvar/latency_recorder.hy:_26s: Step #12 - "compile-honggfuzz-address-x86_64": ize Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/partition_channel.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/jemalloc_profiler.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/couchbase.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/couchbase.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :33:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 33 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :29:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 29 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :153:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 153 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :149:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 149 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returnin2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": g_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :173:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 173 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :169:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 169 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_rpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consistent_hashing_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op);In file included from /src/brpc/src/brpc/details/naming_service_thread.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h Step #12 - "compile-honggfuzz-address-x86_64": |  ^: Step #12 - "compile-honggfuzz-address-x86_64": 23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h/src/brpc/src/bvar/window.h:65:25: :26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herewarning:  Step #12 - "compile-honggfuzz-address-x86_64": first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]  Step #12 - "compile-honggfuzz-address-x86_64": 65 | 289 | _ s e r i e sm.eamseptp(entdh(i_sow,n er0->,g ets_ivzaeluofe((*1t)h)i;s Step #12 - "compile-honggfuzz-address-x86_64": ) )| ; ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:/src/brpc/src/bvar/detail/sampler.h9::40 :16:note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herenote:  Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | 40 | S e rSiaesmSplamep()l er(:W idnadtoawBase*(), t iomwen_eurs,( R0* )v a{r}) Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": | |  ^ ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:/src/brpc/src/bvar/window.h116::15123::35 : note: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested herein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 151 | 116 | _ se rSiaemsp_lseal etrm p=;  Step #12 - "compile-honggfuzz-address-x86_64": n | ew ^ Step #12 - "compile-honggfuzz-address-x86_64": Serie/src/brpc/src/bvar/detail/sampler.hsS:a98:m9p:l er(note: tin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herehi Step #12 - "compile-honggfuzz-address-x86_64": s , _var)98; |  Step #12 - "compile-honggfuzz-address-x86_64": | [0;1;32m ^ Step #12 - "compile-honggfuzz-address-x86_64":  take_s/src/brpc/src/bvar/latency_recorder.ha:m49p:l7e:( );note: Step #12 - "compile-honggfuzz-address-x86_64":  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here|  Step #12 - "compile-honggfuzz-address-x86_64":  ^ Step #12 - "compile-honggfuzz-address-x86_64": 49 | cl/src/brpc/src/bvar/detail/percentile.ha:s529s:28 :L atenote: ncin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereyRe Step #12 - "compile-honggfuzz-address-x86_64": c orderB529a | s e {  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _sample/src/brpc/src/bvar/detail/percentile.hr: =132:13: note:  new sampler_type(tinitializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": his); Step #12 - "compile-honggfuzz-address-x86_64": | 132 ^ | Step #12 - "compile-honggfuzz-address-x86_64":  DEFINE_SMALL_ARRAY(uint32_t, /src/brpc/src/bvar/detail/percentile.htm:p289,: 16r:h s._note: nuexplicitly cast the pointer to silence this warningm_s Step #12 - "compile-honggfuzz-address-x86_64": a mples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 289 | /src/brpc/src/butil/macros.h : 426 : 42:  memsenote: t(expanded from macro 'DEFINE_SMALL_ARRAY't Step #12 - "compile-honggfuzz-address-x86_64": h is, 4260 |  ,  siczheaorf (n*ame##_stthacki_asrr)a)y;[ Step #12 - "compile-honggfuzz-address-x86_64": s i| zeof(Tp) ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :181:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 181 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.cpp:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :190:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 190 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :186:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 186 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dh.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :137:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 137 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :133:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 133 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _se/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": r 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": i 364 | get_interval_at(i).merge(*rhs._eisn_tsearmvpals[iler =]); new  Step #12 - "compile-honggfuzz-address-x86_64": Ser |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12ie:sS amnote: pin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": l 499e | r(thi b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | s  , _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/latency_recorder.h:49:7:  _var->op()(v1note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": , v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 49 | /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": class LatencyRe168 | call_op_returncinorderg_Bvaseoid(op, tm{ Step #12 - "compile-honggfuzz-address-x86_64": p, _data.second(| i) ^ Step #12 - "compile-honggfuzz-address-x86_64": ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | /src/brpc/src/bvar/detail/percentile.h return append_second:(value, _op);132: Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 13/src/brpc/src/bvar/window.h:65:25: : note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | note: _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: initializer of 'tmp_stack_array_size' is not a constant expressionnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowB 132 | ase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler D= new SeriEesSampler(this, _vFar); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:IN7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBasE_SMe { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ALL_A/src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | RRAY(uint32_t, t m p , r h s . _ nDuEmF_IsNaEm_pSlMeAsL,L _A6R4RA)Y;(u Step #12 - "compile-honggfuzz-address-x86_64": i n| t ^3 Step #12 - "compile-honggfuzz-address-x86_64": 2_t, tm/src/brpc/src/butil/macros.hp:,426 r:h42s:. _nnote: umexpanded from macro 'DEFINE_SMALL_ARRAY'_s Step #12 - "compile-honggfuzz-address-x86_64": a mples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 426 | /src/brpc/src/butil/macros.h : 426 : 42:c harnote:  expanded from macro 'DEFINE_SMALL_ARRAY'na Step #12 - "compile-honggfuzz-address-x86_64": m e##_stack_array426[ |  s i z eocfha(rTp )n a*m name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": e##_stack_array[si:z170e:o1f: (Tpnote: )expanded from here * Step #12 - "compile-honggfuzz-address-x86_64": name##_170st | atcmkp__asrtacray_ks_iazrraye_s]; ize  Step #12 - "compile-honggfuzz-address-x86_64": \ | Step #12 - "compile-honggfuzz-address-x86_64":  | ^ ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": :16:/src/brpc/src/bvar/detail/percentile.h:1132:: 13:note:  expanded from here Step #12 - "compile-honggfuzz-address-x86_64": note: 16declared here | tm Step #12 - "compile-honggfuzz-address-x86_64": p_/src/brpc/src/butil/macros.hst:a425c:k20_: arraynote: expanded from macro 'DEFINE_SMALL_ARRAY'_s Step #12 - "compile-honggfuzz-address-x86_64": i ze Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: 425declared here |  Step #12 - "compile-honggfuzz-address-x86_64": co/src/brpc/src/butil/macros.hn:s425t: 20:u nsnote: igexpanded from macro 'DEFINE_SMALL_ARRAY'ned Step #12 - "compile-honggfuzz-address-x86_64": name##_st425a | c k _ a rrcaoyn_ssize t= (nuanmseigned ##_size ? :166n:1:am e##note: _sexpanded from hereiz Step #12 - "compile-honggfuzz-address-x86_64": e : 0166); | t \m Step #12 - "compile-honggfuzz-address-x86_64": p | _ ^s Step #12 - "compile-honggfuzz-address-x86_64": tack_arr:a12y:_1s:ize  Step #12 - "compile-honggfuzz-address-x86_64":  note: | ^ Step #12 - "compile-honggfuzz-address-x86_64": expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 12 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/domain_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dynpart_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/periodic_task.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^:215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | t Step #12 - "compile-honggfuzz-address-x86_64": mp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/periodic_naming_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/global.cpp:38: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64);2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hulu_pbrpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(/src/brpc/src/brpc/parallel_channel.cpp:615:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": this, 615 | DEFINE_SMALL_ARRAY( Su_vbCaar)ll, aps, nchan, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29;: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 426 | |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  char/src/brpc/src/bvar/latency_recorder.h :na49me##_stack_array[sizeo:7f: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": ( 49Tp) * |  name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: note: initializer of 'aps_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": cl 426 | a char namess##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :55:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": Late 55 | ancps_stacky_aRrreayc_size Step #12 - "compile-honggfuzz-address-x86_64": | o^r Step #12 - "compile-honggfuzz-address-x86_64": d/src/brpc/src/brpc/parallel_channel.cpp:615:5er: Banote: sdeclared heree Step #12 - "compile-honggfuzz-address-x86_64": {/src/brpc/src/butil/macros.h: Step #12 - "compile-honggfuzz-address-x86_64": 425:20 |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :/src/brpc/src/bvar/detail/percentile.h: 132:13: note: expanded from macro 'DEFINE_SMALL_ARRAY'note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 132 | 425 | const unsig ned DEFINE_SMALL_ARRAY(uint32 name_t, tmp, r##_stackhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _array/src/brpc/src/butil/macros.h:426:42:_ size =note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": (name 426 | ch##ar_ sname##_istack_arrayz[e sizeof<(T=p) *(maxsize )name##_stack_array_size]; ? n\ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ame##_si:185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": z 185 | tmp_steac : 0k_ar)r;a y\_s Step #12 - "compile-honggfuzz-address-x86_64": i z| e ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": :51:1:/src/brpc/src/bvar/detail/percentile.h :note: 132:expanded from here13: Step #12 - "compile-honggfuzz-address-x86_64": note: declared here51 | ap Step #12 - "compile-honggfuzz-address-x86_64": s_st/src/brpc/src/butil/macros.ha:c425k:_20a:r raynote: _sexpanded from macro 'DEFINE_SMALL_ARRAY'iz Step #12 - "compile-honggfuzz-address-x86_64": e  Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :181:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 181 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/parallel_channel.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/locality_aware_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/partition_channel.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :141:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 141 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | cIn file included from onst /src/brpc/src/brpc/policy/domain_naming_service.cppu:n23s: Step #12 - "compile-honggfuzz-address-x86_64": iIn file included from g/src/brpc/src/bthread/bthread.hn:e32d name##_stack_array_si: Step #12 - "compile-honggfuzz-address-x86_64": zIn file included from e/src/brpc/src/bthread/mutex.h:27 : Step #12 - "compile-honggfuzz-address-x86_64": = (nIn file included from ame/src/brpc/src/bvar/utils/lock_timer.h#:#28_: Step #12 - "compile-honggfuzz-address-x86_64": siIn file included from z/src/brpc/src/bvar/latency_recorder.he: 26<: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:=289 :(16:m awarning: xsfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]ize Step #12 - "compile-honggfuzz-address-x86_64": ) ? n ame##_s289 | i z e m:e ms0e)t; \( Step #12 - "compile-honggfuzz-address-x86_64":  t| hi ^s, 0, Step #12 - "compile-honggfuzz-address-x86_64": sizeo:f137:(1: *note: expanded from hereth Step #12 - "compile-honggfuzz-address-x86_64": is )); Step #12 - "compile-honggfuzz-address-x86_64": 137| | t ^m Step #12 - "compile-honggfuzz-address-x86_64": p_stack_/src/brpc/src/bvar/detail/sampler.ha:r40r:a16y:_ siznote: ein instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), ti/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": me_ 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_saus(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": mples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": | [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64":  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :183:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 183 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const un2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": signed name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :179:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 179 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nacos_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nova_pbrpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | In file included from /src/brpc/src/brpc/policy/file_naming_service.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | mem_vars->op()(vet(thi1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": s, 0,/src/brpc/src/bvar/detail/call_op_returning_void.h sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:29:12: :note: 40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 |  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here take Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _sample(); Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/series.h: ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here168:13: note:  Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here 529 |  Step #12 - "compile-honggfuzz-address-x86_64": 168 | _sampler = new sample r_ type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": c 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": all_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :217:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 217 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :213:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 213 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here2 warnings Step #12 - "compile-honggfuzz-address-x86_64": 58 | generated. Step #12 - "compile-honggfuzz-address-x86_64": SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 132 | 426 | char n a me # #_stack_array [ s i zeoDf(ETFpI) N*E name##_stack_array_siz_eSM]; A LL_AR \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^RA Step #12 - "compile-honggfuzz-address-x86_64": Y(u:191:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": int32_t, tmp 191 | tmp_s, rhs._numtac_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:k_arr426ay_si:ze Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 29: 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :187:1: note: note: expanded from macro 'DEFINE_SMALL_ARRAY'expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 187 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64":  426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :203:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 203 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :199:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 199 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/consistent_hashing_load_balancer.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/public_pbrpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/consul_naming_service.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:35: note: initializer of 'meta_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:82:20: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 82 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/discovery_naming_service.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samplIn file included from /src/brpc/src/brpc/policy/dynpart_load_balancer.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.hes, :34: Step #12 - "compile-honggfuzz-address-x86_64": 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from 426 | /src/brpc/src/brpc/socket_id.h:25char nam: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.he:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: ##first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": _st 289 | ack_ memset(this, 0array[sizeof,( sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: Tp) * name##_stnote: ack_array_in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40s | Sample() : daize]; ta(), t\ime_us( Step #12 - "compile-honggfuzz-address-x86_64": | 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{} Step #12 - "compile-honggfuzz-address-x86_64": |  Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h: 98:9: note: 364in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here | Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new samgpler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": et_in/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": te 289 | rva l me_masett(th(i).merge(*isr,h 0, sizeofs(*thi._isnt));er Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": vals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1,2 v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29: warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(ui/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | n t DEFINE_SM3A2L_Lt_,A RRAY(uint32_t, tmp, rhs._nutmm_ps,a mrphlses, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": ._num_samples 426 | char name##_stack_array[sizeof(Tp) * name#, #_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42:64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64":  note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | In file included from return op(v1, v2);/src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp Step #12 - "compile-honggfuzz-address-x86_64": :30 |  ^ Step #12 - "compile-honggfuzz-address-x86_64": : Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]/src/brpc/src/bvar/detail/series.h: Step #12 - "compile-honggfuzz-address-x86_64": 168289 | :13:  note:  in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested heremem Step #12 - "compile-honggfuzz-address-x86_64": s et(this168, |  0  ,  s i z e o fc(a*llt_hoips_r)et)u;r Step #12 - "compile-honggfuzz-address-x86_64": ning_void(op, tmp |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: , _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": note: 40 | in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here  Step #12 - "compile-honggfuzz-address-x86_64": Sam116ple() : d | a t a return append_second((), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": val| ue ^, Step #12 - "compile-honggfuzz-address-x86_64": _op);/src/brpc/src/bvar/detail/sampler.h: Step #12 - "compile-honggfuzz-address-x86_64": 116 :| 23: ^ Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here/src/brpc/src/bvar/window.h Step #12 - "compile-honggfuzz-address-x86_64": : 65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here116 | Step #12 - "compile-honggfuzz-address-x86_64": 65 | S a m p l e t m p_;ser Step #12 - "compile-honggfuzz-address-x86_64": i | es ^. Step #12 - "compile-honggfuzz-address-x86_64": append(_/src/brpc/src/bvar/detail/sampler.ho:98w:n9e:r ->note: gein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested heret_v Step #12 - "compile-honggfuzz-address-x86_64": a lue(1)98); |  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  take/src/brpc/src/bvar/window.h_:s58a:m9p:l e()note: ;in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 58 | /src/brpc/src/bvar/detail/percentile.h : 529 : 28: Senote: riin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested herees Step #12 - "compile-honggfuzz-address-x86_64": S 529 | ampler(WindowBas _sampe* olwenerr ,= R*n evwar )sa Step #12 - "compile-honggfuzz-address-x86_64": | mpler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h| :151 ^: Step #12 - "compile-honggfuzz-address-x86_64": 35: /src/brpc/src/bvar/detail/percentile.h:289:16: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = newnote:  explicitly cast the pointer to silence this warningSe Step #12 - "compile-honggfuzz-address-x86_64": r iesS289a | m p l e r (  tmhisem,s e_tv(atrh)i;s Step #12 - "compile-honggfuzz-address-x86_64":  ,| 0 ^ Step #12 - "compile-honggfuzz-address-x86_64": , /src/brpc/src/bvar/latency_recorder.h:s49i:z7e:o f(note: *in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereth Step #12 - "compile-honggfuzz-address-x86_64": i s))49; |  Step #12 - "compile-honggfuzz-address-x86_64": c lass |  ^ Step #12 - "compile-honggfuzz-address-x86_64": L a| te (void*)n Step #12 - "compile-honggfuzz-address-x86_64": cyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :86:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 86 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :82:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 82 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/remote_file_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/gzip_compress.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": :13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); 132 | DEFIN Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": E_SMALL_A/src/brpc/src/bvar/detail/percentile.h:RRA289Y:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": ( u289 | memset(this, 0, sizeof(*this)i); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": nt32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/round_robin_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRA2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": Y(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :195:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 195 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 |  const unsigned name##_sta/src/brpc/src/bvar/detail/percentile.hc:132k_array_size = (name##_size <= (maxsize) ? name:##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :13191:1:: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 191 | tmp_ warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]stack_ Step #12 - "compile-honggfuzz-address-x86_64": array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :189:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 189 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/snappy_compress.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_pbrpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :225:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 225 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :221:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 221 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/timeout_concurrency_limiter.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_randomized_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memsetIn file included from /src/brpc/src/brpc/policy/locality_aware_load_balancer.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h(:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": t|  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herehi Step #12 - "compile-honggfuzz-address-x86_64": s, 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": | 0 ^ Step #12 - "compile-honggfuzz-address-x86_64": , /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": si 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": zeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h: 98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^/src/brpc/src/bvar/detail/sampler.h:40:16:  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 28 40 | S: note: ample() : din instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": ata(), ti 529 | _sampler = new sammepl_uers(0)_type( {} Step #12 - "compile-honggfuzz-address-x86_64": | this) ^ Step #12 - "compile-honggfuzz-address-x86_64": ; Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/sampler.h ^: Step #12 - "compile-honggfuzz-address-x86_64": 116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | Sample t mp; m Step #12 - "compile-honggfuzz-address-x86_64": |  ^emset(th Step #12 - "compile-honggfuzz-address-x86_64": is, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_round_robin_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/memcache_binary_protocol.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :40:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 40 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :36:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 36 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :181:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 181 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:294:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #12 - "compile-honggfuzz-address-x86_64": 294 | SerializeHuluHeaderAndMeta(&res_buf, meta, res_size + attached_size); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:582:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #12 - "compile-honggfuzz-address-x86_64": 582 | SerializeHuluHeaderAndMeta(&res_buf, request_meta, 0); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | In file included from /src/brpc/src/brpc/policy/mongo_protocol.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | S Sample() : data(), time_eus(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": r/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": ies 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": | Sam ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28:ple note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": r( 529W | i ndowBase _sampler =* owner, R* va r) Step #12 - "compile-honggfuzz-address-x86_64": new sampler_type( |  ^ Step #12 - "compile-honggfuzz-address-x86_64": this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 |  /src/brpc/src/bvar/detail/percentile.h :289_:16s:e riesnote: _sexplicitly cast the pointer to silence this warningam Step #12 - "compile-honggfuzz-address-x86_64": pler = new Seri289e | s Sa m p l er(  tmhemsiest(, _vtahri)s;,  Step #12 - "compile-honggfuzz-address-x86_64": 0 | , ^ Step #12 - "compile-honggfuzz-address-x86_64": siz/src/brpc/src/bvar/latency_recorder.h:49:7e:o f(note: *in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heret Step #12 - "compile-honggfuzz-address-x86_64": h is)49 | );cl Step #12 - "compile-honggfuzz-address-x86_64": a s| s ^ Step #12 - "compile-honggfuzz-address-x86_64": La t| en (void*)c Step #12 - "compile-honggfuzz-address-x86_64": yRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/randomized_load_balancer.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/nova_pbrpc_protocol.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/nshead_mcpack_protocol.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 2426 warning | s generated. Step #12 - "compile-honggfuzz-address-x86_64": char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :110:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 110 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :106:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 106 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/nshead_protocol.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset( 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._tnhuims_s,a mp0le,s , s6izeof(*4t)h;is Step #12 - "compile-honggfuzz-address-x86_64":  )| ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64":  |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16:/src/brpc/src/butil/macros.h:426:29 note: : note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' 40 | Sampl Step #12 - "compile-honggfuzz-address-x86_64": e() : 426 | da charta(), time nam_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": e#/src/brpc/src/bvar/detail/sampler.h#:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here_stack_ar Step #12 - "compile-honggfuzz-address-x86_64": ray[ 116 | sizeof( Tp) Sampl * name##_stack_array_size tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | 364 take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | | _sampler = new sample r_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  get_/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": interval_at(i 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": ).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | /src/brpc/src/bvar/detail/percentile.h:132:13:   DEFIwarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": N 132 | DEFINE_SMALL_ARRAY(uint32_t, tmpE,_ SrMhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeALL_ARRAof(TpY(u) * naminet32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426#:#_st42: note: ack_aexpanded from macro 'DEFINE_SMALL_ARRAY'rray_si Step #12 - "compile-honggfuzz-address-x86_64": ze]; \ 426 Step #12 - "compile-honggfuzz-address-x86_64": | |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": char/src/brpc/src/bvar/detail/percentile.h :name364##_stack_array[:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": sizeof(Tp) * name##_stack_ar 364 | getray_s_intize]; e rv \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": a:219:1: l_at(note: i)expanded from here.m Step #12 - "compile-honggfuzz-address-x86_64": e rge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": 219 | t| mp ^_stack Step #12 - "compile-honggfuzz-address-x86_64": _ar/src/brpc/src/bvar/detail/percentile.hr:a499y:_12s:i zenote: Step #12 - "compile-honggfuzz-address-x86_64":  in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here|  Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132499:13 | :   note: bdeclared here1. Step #12 - "compile-honggfuzz-address-x86_64": merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name# ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | # _ s i z e < =_ v(amra-x>soipz(e))( v?1 ,n vam2e)#;# Step #12 - "compile-honggfuzz-address-x86_64": _ s| i ^ze Step #12 - "compile-honggfuzz-address-x86_64":  : 0)/src/brpc/src/bvar/detail/call_op_returning_void.h;: 29\ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :12: :215note: :1in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": :  note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 29 | 215re | ttmupr_snta cokp_(arvr1a,y _vs2)i;ze Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": In file included from |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12:/src/brpc/src/brpc/policy/round_robin_load_balancer.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from | /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": reIn file included from turn/src/brpc/src/bvar/latency_recorder.h :o26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:p16(: v1, warning: v2first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/series.h289: | 168 : 13 : m emset(this, 0, sizeof(*this));note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_endpoint.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/snappy_compress.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/redis_protocol.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29: 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 12:  364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64":  499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :189:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 189 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | cons/src/brpc/src/bvar/detail/percentile.ht:132 :13u:n siwarning: gnevariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]d Step #12 - "compile-honggfuzz-address-x86_64": n 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": a| me ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# Step #12 - "compile-honggfuzz-address-x86_64": #_stac/src/brpc/src/butil/macros.hk:_426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": ar 426 | char name##_stack_array_sizeray[sizeof(T =p) * name## (_stack_array_size]; name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64":  \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/reloadable_flags.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/retry_policy.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:35: note: initializer of 'meta_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:142:20: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 142 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_pb_message_factory.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rtmp.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1447:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 1447 | char buf[header_len + 4/*extended ts*/]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1447:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 1489 | char buf[header_len + 4/*extended ts*/]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 1531 | char buf[header_len + 4/*extended ts*/]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 1570 | char buf[header_len]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 4 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/selective_channel.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1933:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 1933 | char buf[mh.message_length]; // safe to put on stack. Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1933:14: note: function parameter 'mh' with unknown value cannot be used in a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1927:30: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 1927 | const RtmpMessageHeader& mh, butil::IOBuf* msg_body, Socket* socket) { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9[ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_request.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": : note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :217:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 217 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :213:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 213 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :188:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 188 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :184:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 184 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_randomized_load_balancer.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/span.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/stream.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_round_robin_load_balancer.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | 168 | S a mple() : d a t a call_o(), time_up_res(turning_voi0d(op, tm) {}p Step #12 - "compile-honggfuzz-address-x86_64": , | _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65116 | | _s eries. ap pend(_owner->get_val u e(1)); Step #12 - "compile-honggfuzz-address-x86_64": Sam | ple t Step #12 - "compile-honggfuzz-address-x86_64": m/src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": p; 58 | SeriesSampler(Wi Step #12 - "compile-honggfuzz-address-x86_64": n| dowBase*  ^ Step #12 - "compile-honggfuzz-address-x86_64": owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/sampler.h ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :/src/brpc/src/bvar/latency_recorder.h:49:798:9: : note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | classnote:  Latencyin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereR Step #12 - "compile-honggfuzz-address-x86_64": ecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | 98 | DE FIN E_ S MALL_ARRAY(uinttak32_e_st, atmp, rhs._num_samples, mpl64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": e/src/brpc/src/butil/macros.h(:); Step #12 - "compile-honggfuzz-address-x86_64": 426 :42:|  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28:note: expanded from macro 'DEFINE_SMALL_ARRAY'note: Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | 426 | _sa mplchear = r nnaewm es#a#m_plestra_ctkype(th_iasrra)y;[ Step #12 - "compile-honggfuzz-address-x86_64": si| zeo ^f Step #12 - "compile-honggfuzz-address-x86_64": (Tp) * name##_stack_array_/src/brpc/src/bvar/detail/percentile.h:s289i:ze16]:; note:  \explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 289 |  :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": m 219 | tmepmse_ts(tatchik_sarr,ay _s0i,z es Step #12 - "compile-honggfuzz-address-x86_64": i | ze^o Step #12 - "compile-honggfuzz-address-x86_64": f(/src/brpc/src/bvar/detail/percentile.h*:132t:h13:i snote: ))declared here; Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64":  | /src/brpc/src/butil/macros.h ^ Step #12 - "compile-honggfuzz-address-x86_64": :425 :| 20: (void*) Step #12 - "compile-honggfuzz-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/progressive_attachment.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/ubrpc2pb_protocol.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.cpp:42: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :182:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 182 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :178:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 178 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :195:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 195 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :191:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 191 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/restful.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/restful.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server_id.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/rpc_dump.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :194:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 194 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :190:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 190 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 575 | DEFINE_SMALL_ARRAY(char, cont_buf, buf.size(), 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: note: initializer of 'cont_buf_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :71:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 71 | cont_buf_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :67:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 67 | cont_buf_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 677 | DEFINE_SMALL_ARRAY(char, rbsp, sps_length - 1, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: initializer of 'rbsp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :84:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 84 | rbsp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :80:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 80 | rbsp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116/src/brpc/src/bvar/detail/percentile.h | : 132 : 13 :   warning: revariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]tu Step #12 - "compile-honggfuzz-address-x86_64": rn append_second(value ,132 | _ o p ) ;  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": DEFINE_/src/brpc/src/bvar/window.hS:M65A:L25L:_ ARRnote: AYin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here(u Step #12 - "compile-honggfuzz-address-x86_64": int32_t, tmp ,65 | r h s . _ n u m _ s a m p l e s ,_ se6r4ie)s;.a Step #12 - "compile-honggfuzz-address-x86_64": p p| en ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~d Step #12 - "compile-honggfuzz-address-x86_64": (_ow/src/brpc/src/butil/macros.hn:e426r:-29>:g et_note: vaexpanded from macro 'DEFINE_SMALL_ARRAY'lu Step #12 - "compile-honggfuzz-address-x86_64": e (426 | 1  ) ) ;c Step #12 - "compile-honggfuzz-address-x86_64": h a| r ^ Step #12 - "compile-honggfuzz-address-x86_64": name##_stack_/src/brpc/src/bvar/window.ha:r58r:a9y:[ sinote: zein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereof Step #12 - "compile-honggfuzz-address-x86_64": (Tp) * name##_stack _58a | r r a y _ s i z eS]e;r i e s S a m\pl Step #12 - "compile-honggfuzz-address-x86_64": e r| (W ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~i Step #12 - "compile-honggfuzz-address-x86_64": ndowBase*/src/brpc/src/bvar/detail/percentile.h :o364w:n36e:r , Rnote: * in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereva Step #12 - "compile-honggfuzz-address-x86_64": r) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35 :364 |   note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here  Step #12 - "compile-honggfuzz-address-x86_64": get_inter v151a | l _ a t ( i ) . m e r g e_(s*errhise.s__isnatmeprlvearl s=[ i]n)e;w Step #12 - "compile-honggfuzz-address-x86_64": S| er ^i Step #12 - "compile-honggfuzz-address-x86_64": esSa/src/brpc/src/bvar/detail/percentile.hm:p499l:e12r:( thnote: isin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here, Step #12 - "compile-honggfuzz-address-x86_64": _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  499 | /src/brpc/src/bvar/latency_recorder.h : 49 : 7 :  bnote: 1.in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereme Step #12 - "compile-honggfuzz-address-x86_64": rge(b2); Step #12 - "compile-honggfuzz-address-x86_64": 49| |  ^c Step #12 - "compile-honggfuzz-address-x86_64": lass/src/brpc/src/bvar/window.h :L53a:t17e:n cyRnote: ecin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested hereor Step #12 - "compile-honggfuzz-address-x86_64": derBase { 53 Step #12 - "compile-honggfuzz-address-x86_64": | |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  _var/src/brpc/src/bvar/detail/percentile.h-:>132o:p13(:) (v1note: , initializer of 'tmp_stack_array_size' is not a constant expressionv2 Step #12 - "compile-honggfuzz-address-x86_64": ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: 132in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here |  Step #12 - "compile-honggfuzz-address-x86_64": 29 | DErFeItNuEr_nSM AoLpL(_vA1R,R AvY2()u;in Step #12 - "compile-honggfuzz-address-x86_64": t 3| 2_ ^t Step #12 - "compile-honggfuzz-address-x86_64": , tmp/src/brpc/src/bvar/detail/series.h,: 168r:h13s:. _nunote: m_in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested heresa Step #12 - "compile-honggfuzz-address-x86_64": mples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/butil/macros.h168: | 426 : 42 :   note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #12 - "compile-honggfuzz-address-x86_64": call_op_returning_void(op, tmp, _data.s e426c | o n d ( i)c)h;ar Step #12 - "compile-honggfuzz-address-x86_64":  | na ^m Step #12 - "compile-honggfuzz-address-x86_64": e##_stac/src/brpc/src/bvar/detail/series.hk:_116a:r16r:a y[note: siin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested hereze Step #12 - "compile-honggfuzz-address-x86_64": of(Tp) * na m116e | # # _ s t a c k _arrertauyr_nsi zaep]p;e n d _ s e c\on Step #12 - "compile-honggfuzz-address-x86_64": d (| va ^l Step #12 - "compile-honggfuzz-address-x86_64": ue, _op); Step #12 - "compile-honggfuzz-address-x86_64": : 200| :1 ^: Step #12 - "compile-honggfuzz-address-x86_64": note: expanded from here/src/brpc/src/bvar/window.h Step #12 - "compile-honggfuzz-address-x86_64": :65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here 200 Step #12 - "compile-honggfuzz-address-x86_64": | tmp_stac k65_ | a r r a y _ s i z e  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _ser/src/brpc/src/bvar/detail/percentile.hi:e132s:.13a:p pennote: d(declared here_o Step #12 - "compile-honggfuzz-address-x86_64": wn/src/brpc/src/butil/macros.he:r425-:>20g:e t_vnote: alexpanded from macro 'DEFINE_SMALL_ARRAY'ue Step #12 - "compile-honggfuzz-address-x86_64": (1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 42558 | |  c o n sSter ieusnSsaimgpnleedr( Wnianmdeo#w#B_asstea*c ko_wanrerra,y _Rs*i zvea r=) ( Step #12 - "compile-honggfuzz-address-x86_64": n a| me ^# Step #12 - "compile-honggfuzz-address-x86_64": #_siz/src/brpc/src/bvar/window.he: 151<:=35 :( maxnote: siin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereze Step #12 - "compile-honggfuzz-address-x86_64": ) ? n a151m | e # # _ s i z e :  0_s)e;r i\es Step #12 - "compile-honggfuzz-address-x86_64": _ s| am ^p Step #12 - "compile-honggfuzz-address-x86_64": ler = :196n:e1w: Senote: riexpanded from herees Step #12 - "compile-honggfuzz-address-x86_64": Sampler( t196h | itsmp,_ s_tvaacrk)_;ar Step #12 - "compile-honggfuzz-address-x86_64": r a| y_ ^s Step #12 - "compile-honggfuzz-address-x86_64": ize/src/brpc/src/bvar/latency_recorder.h Step #12 - "compile-honggfuzz-address-x86_64": : 49| :7^: Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :14:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 14 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :10:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 10 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 398 | CallId ids[_nalloc]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/selective_channel.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/span.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^In file included from Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/trackme.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.hIn file included from :/src/brpc/src/brpc/socket_id.h40::2516: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26note: : Step #12 - "compile-honggfuzz-address-x86_64": In file included from in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here/src/brpc/src/bthread/bthread.h: Step #12 - "compile-honggfuzz-address-x86_64": 32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27 : Step #12 - "compile-honggfuzz-address-x86_64": 40In file included from | /src/brpc/src/bvar/utils/lock_timer.h : 28 : Step #12 - "compile-honggfuzz-address-x86_64": In file included from S/src/brpc/src/bvar/latency_recorder.ha:m26p: Step #12 - "compile-honggfuzz-address-x86_64": le/src/brpc/src/bvar/detail/percentile.h(:)289 :16: : warning: dfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]at Step #12 - "compile-honggfuzz-address-x86_64": a(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample <289T | > t m p ;  Step #12 - "compile-honggfuzz-address-x86_64": m| em ^s Step #12 - "compile-honggfuzz-address-x86_64": et(/src/brpc/src/bvar/detail/sampler.h:t98h:i9s: , note: 0in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here, Step #12 - "compile-honggfuzz-address-x86_64": sizeof(*this 98) | ) ;  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/sampler.h ^: Step #12 - "compile-honggfuzz-address-x86_64": 40:16/src/brpc/src/bvar/detail/percentile.h:: 529:28note: : in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 52940 | | S a m p l e ( )_ s:a mdpaltear( )=, tniemwe_ ussa(mp0le)r _{t}yp Step #12 - "compile-honggfuzz-address-x86_64": e (| t ^h Step #12 - "compile-honggfuzz-address-x86_64": is);/src/brpc/src/bvar/detail/sampler.h Step #12 - "compile-honggfuzz-address-x86_64": : 116| :23 ^: Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h: ^289 Step #12 - "compile-honggfuzz-address-x86_64": :16: note: /src/brpc/src/bvar/detail/percentile.h:explicitly cast the pointer to silence this warning529: Step #12 - "compile-honggfuzz-address-x86_64": 28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new 289 | s a m p l e r _ tmyepmes(ett(hitshi)s;, Step #12 - "compile-honggfuzz-address-x86_64": | 0 ^, Step #12 - "compile-honggfuzz-address-x86_64": sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.cpp:42: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 2004 | char buf[fullname_len]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: note: initializer of 'fullname_len' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/server.cpp:2001:18: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 2001 | const size_t fullname_len = service_name.size() + 1 + method_name.size(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :181:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 181 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :182:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 182 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :178:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 178 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :183:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 183 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :179:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 179 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 600 | DEFINE_SMALL_ARRAY(butil::IOBuf*, buf_list, s->_options.messages_in_batch, 256); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: initializer of 'buf_list_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :53:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 53 | buf_list_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :49:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 49 | buf_list_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/ts.cpp:38: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.cpp:36: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/stream.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/stream.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :9:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 9 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :5:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 5 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :204:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 204 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :200:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 200 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :206:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 206 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :202:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 202 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :25:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 25 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :21:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 21 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 4 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 7 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_butil.dir/fuzzing/fuzz_butil.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_butil Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_butil Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_esp.dir/fuzzing/fuzz_esp.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_esp.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :189:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 189 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_esp Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_esp Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hpack.dir/fuzzing/fuzz_hpack.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_hpack Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_hpack Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_http.dir/fuzzing/fuzz_http.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_http.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :40:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 40 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :36:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 36 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_http Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_http Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 15%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/fuzz_hulu.dir/fuzzing/fuzz_hulu.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_hulu.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :242:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 242 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :238:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 238 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_hulu Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_hulu Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_json.dir/fuzzing/fuzz_json.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_json Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_json Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_redis.dir/fuzzing/fuzz_redis.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_redis Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_redis Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_shead.dir/fuzzing/fuzz_shead.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_shead.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :40:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 40 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :36:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 36 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_shead Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_shead Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_sofa.dir/fuzzing/fuzz_sofa.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_sofa.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :222:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 222 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :218:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 218 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_sofa Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_sofa Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 15%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/fuzz_uri.dir/fuzzing/fuzz_uri.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_uri.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :195:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 195 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :191:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 191 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_uri Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_uri Step #12 - "compile-honggfuzz-address-x86_64": + cp test/fuzz_butil test/fuzz_esp test/fuzz_hpack test/fuzz_http test/fuzz_hulu test/fuzz_json test/fuzz_redis test/fuzz_shead test/fuzz_sofa test/fuzz_uri /workspace/out/honggfuzz-address-x86_64/ Step #12 - "compile-honggfuzz-address-x86_64": + pushd /lib/x86_64-linux-gnu/ Step #12 - "compile-honggfuzz-address-x86_64": /lib/x86_64-linux-gnu /src/brpc/build Step #12 - "compile-honggfuzz-address-x86_64": + mkdir -p /workspace/out/honggfuzz-address-x86_64/lib/ Step #12 - "compile-honggfuzz-address-x86_64": + cp libgflags.a libgflags.so libgflags.so.2.2 libgflags.so.2.2.2 libgflags_nothreads.a libgflags_nothreads.so libgflags_nothreads.so.2.2 libgflags_nothreads.so.2.2.2 libprotobuf-lite.a libprotobuf-lite.so libprotobuf-lite.so.17 libprotobuf-lite.so.17.0.0 libprotobuf.a libprotobuf.so libprotobuf.so.17 libprotobuf.so.17.0.0 libleveldb.a libleveldb.so libleveldb.so.1.22.0 libleveldb.so.1d libprotoc.a libprotoc.so libprotoc.so.17 libprotoc.so.17.0.0 libsnappy-shared.a libsnappy.a libsnappy.so libsnappy.so.1 libsnappy.so.1.1.8 /workspace/out/honggfuzz-address-x86_64/lib/. Step #12 - "compile-honggfuzz-address-x86_64": + popd Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/build Step #12 - "compile-honggfuzz-address-x86_64": + pushd /src/brpc/test/fuzzing Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/test/fuzzing /src/brpc/build Step #12 - "compile-honggfuzz-address-x86_64": + zip /workspace/out/honggfuzz-address-x86_64/fuzz_json_seed_corpus.zip fuzz_json_seed_corpus/info1.json fuzz_json_seed_corpus/info2.json fuzz_json_seed_corpus/info3.json Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_json_seed_corpus/info1.json (deflated 10%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_json_seed_corpus/info2.json (deflated 17%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_json_seed_corpus/info3.json (deflated 44%) Step #12 - "compile-honggfuzz-address-x86_64": + zip /workspace/out/honggfuzz-address-x86_64/fuzz_uri_seed_corpus.zip fuzz_uri_seed_corpus/data_1.rtmp fuzz_uri_seed_corpus/data_1.uri fuzz_uri_seed_corpus/data_2.uri Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_uri_seed_corpus/data_1.rtmp (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_uri_seed_corpus/data_1.uri (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_uri_seed_corpus/data_2.uri (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": + zip /workspace/out/honggfuzz-address-x86_64/fuzz_redis_seed_corpus.zip fuzz_redis_seed_corpus/command_parser.redis fuzz_redis_seed_corpus/request.redis Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_redis_seed_corpus/command_parser.redis (deflated 26%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_redis_seed_corpus/request.redis (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": + zip /workspace/out/honggfuzz-address-x86_64/fuzz_http_seed_corpus.zip fuzz_http_seed_corpus/http_request.http fuzz_http_seed_corpus/http_request_v2.http Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_http_seed_corpus/http_request.http (deflated 19%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_http_seed_corpus/http_request_v2.http (deflated 35%) Step #12 - "compile-honggfuzz-address-x86_64": + zip /workspace/out/honggfuzz-address-x86_64/fuzz_butil_seed_corpus.zip fuzz_butil_seed_corpus/base64_decoded.txt fuzz_butil_seed_corpus/base64_encoded.txt fuzz_butil_seed_corpus/crc32c.data Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_butil_seed_corpus/base64_decoded.txt (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_butil_seed_corpus/base64_encoded.txt (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_butil_seed_corpus/crc32c.data (deflated 63%) Step #12 - "compile-honggfuzz-address-x86_64": + zip /workspace/out/honggfuzz-address-x86_64/fuzz_hpack_seed_corpus.zip fuzz_hpack_seed_corpus/header_never_indexed.hpack fuzz_hpack_seed_corpus/header_with_indexing.hpack fuzz_hpack_seed_corpus/header_without_indexing.hpack fuzz_hpack_seed_corpus/requests_without_huffman.hpack fuzz_hpack_seed_corpus/responses_without_huffman.hpack Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_hpack_seed_corpus/header_never_indexed.hpack (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_hpack_seed_corpus/header_with_indexing.hpack (deflated 15%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_hpack_seed_corpus/header_without_indexing.hpack (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_hpack_seed_corpus/requests_without_huffman.hpack (deflated 10%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_hpack_seed_corpus/responses_without_huffman.hpack (deflated 1%) Step #12 - "compile-honggfuzz-address-x86_64": + popd Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/build Finished Step #12 - "compile-honggfuzz-address-x86_64" Starting Step #13 - "build-check-honggfuzz-address-x86_64" Step #13 - "build-check-honggfuzz-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa9h53db_/fuzz_json Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa9h53db_/fuzz_shead Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa9h53db_/fuzz_butil Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa9h53db_/fuzz_esp Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa9h53db_/fuzz_redis Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa9h53db_/fuzz_hpack Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa9h53db_/fuzz_http Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa9h53db_/fuzz_hulu Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa9h53db_/fuzz_uri Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa9h53db_/fuzz_sofa Finished Step #13 - "build-check-honggfuzz-address-x86_64" Starting Step #14 Step #14: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #14 Starting Step #15 Step #15: Already have image: gcr.io/oss-fuzz/brpc Step #15: adding: fuzz_butil (deflated 66%) Step #15: adding: fuzz_butil_seed_corpus.zip (stored 0%) Step #15: adding: fuzz_esp (deflated 65%) Step #15: adding: fuzz_hpack (deflated 66%) Step #15: adding: fuzz_hpack_seed_corpus.zip (stored 0%) Step #15: adding: fuzz_http (deflated 65%) Step #15: adding: fuzz_http_seed_corpus.zip (stored 0%) Step #15: adding: fuzz_hulu (deflated 65%) Step #15: adding: fuzz_json (deflated 66%) Step #15: adding: fuzz_json_seed_corpus.zip (stored 0%) Step #15: adding: fuzz_redis (deflated 66%) Step #15: adding: fuzz_redis_seed_corpus.zip (stored 0%) Step #15: adding: fuzz_shead (deflated 65%) Step #15: adding: fuzz_sofa (deflated 65%) Step #15: adding: fuzz_uri (deflated 65%) Step #15: adding: fuzz_uri_seed_corpus.zip (stored 0%) Step #15: adding: honggfuzz (deflated 66%) Step #15: adding: lib/ (stored 0%) Step #15: adding: lib/libprotobuf.so.17 (deflated 66%) Step #15: adding: lib/libgflags_nothreads.so.2.2.2 (deflated 59%) Step #15: adding: lib/libsnappy.so.1.1.8 (deflated 62%) Step #15: adding: lib/libprotoc.so.17 (deflated 66%) Step #15: adding: lib/libgflags_nothreads.so (deflated 59%) Step #15: adding: lib/libgflags.so.2.2 (deflated 59%) Step #15: adding: lib/libprotoc.a (deflated 76%) Step #15: adding: lib/libsnappy.so.1 (deflated 62%) Step #15: adding: lib/libprotobuf-lite.a (deflated 79%) Step #15: adding: lib/libprotoc.so.17.0.0 (deflated 66%) Step #15: adding: lib/libgflags.a (deflated 70%) Step #15: adding: lib/libprotobuf.a (deflated 79%) Step #15: adding: lib/libgflags_nothreads.so.2.2 (deflated 59%) Step #15: adding: lib/libsnappy-shared.a (deflated 67%) Step #15: adding: lib/libprotobuf.so (deflated 66%) Step #15: adding: lib/libsnappy.a (deflated 67%) Step #15: adding: lib/libgflags.so.2.2.2 (deflated 59%) Step #15: adding: lib/libprotobuf-lite.so.17 (deflated 66%) Step #15: adding: lib/libsnappy.so (deflated 62%) Step #15: adding: lib/libprotobuf-lite.so.17.0.0 (deflated 66%) Step #15: adding: lib/libprotobuf.so.17.0.0 (deflated 66%) Step #15: adding: lib/libprotobuf-lite.so (deflated 66%) Step #15: adding: lib/libgflags_nothreads.a (deflated 70%) Step #15: adding: lib/libleveldb.so (deflated 57%) Step #15: adding: lib/libleveldb.so.1.22.0 (deflated 57%) Step #15: adding: lib/libprotoc.so (deflated 66%) Step #15: adding: lib/libleveldb.a (deflated 73%) Step #15: adding: lib/libleveldb.so.1d (deflated 57%) Step #15: adding: lib/libgflags.so (deflated 59%) Step #15: adding: llvm-symbolizer (deflated 65%) Finished Step #15 Starting Step #16 Step #16: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #16: % Total % Received % Xferd Average Speed Time Time Time Current Step #16: Dload Upload Total Spent Left Speed Step #16: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 147 0 0 100 147 0 863 --:--:-- --:--:-- --:--:-- 864 Finished Step #16 Starting Step #17 Step #17: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #17: % Total % Received % Xferd Average Speed Time Time Time Current Step #17: Dload Upload Total Spent Left Speed Step #17: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 84 201M 0 0 84 169M 0 177M 0:00:01 --:--:-- 0:00:01 177M 100 201M 0 0 100 201M 0 147M 0:00:01 0:00:01 --:--:-- 147M Finished Step #17 Starting Step #18 Step #18: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #18: % Total % Received % Xferd Average Speed Time Time Time Current Step #18: Dload Upload Total Spent Left Speed Step #18: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 102 0 0 100 102 0 443 --:--:-- --:--:-- --:--:-- 445 Finished Step #18 Starting Step #19 Step #19: Already have image (with digest): gcr.io/cloud-builders/curl Step #19: % Total % Received % Xferd Average Speed Time Time Time Current Step #19: Dload Upload Total Spent Left Speed Step #19: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 29 0 0 100 29 0 142 --:--:-- --:--:-- --:--:-- 142 100 29 0 0 100 29 0 139 --:--:-- --:--:-- --:--:-- 138 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/brpc Finished Step #20 Starting Step #21 - "compile-libfuzzer-address-x86_64" Step #21 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #21 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #21 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #21 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #21 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #21 - "compile-libfuzzer-address-x86_64": CC=clang Step #21 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #21 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link Step #21 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ Step #21 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #21 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #21 - "compile-libfuzzer-address-x86_64": + '[' address = undefined ']' Step #21 - "compile-libfuzzer-address-x86_64": + mkdir -p build Step #21 - "compile-libfuzzer-address-x86_64": + cd build Step #21 - "compile-libfuzzer-address-x86_64": + cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ '-DCMAKE_C_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link' '-DCMAKE_CXX_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link' '-DCMAKE_CPP_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link' '-DCMAKE_EXE_LINKER_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link' -DLIB_FUZZING_ENGINE=-fsanitize=fuzzer -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DWITH_SNAPPY=ON -DBUILD_UNIT_TESTS=ON -DBUILD_FUZZ_TESTS=ON ../. Step #21 - "compile-libfuzzer-address-x86_64": CMake Deprecation Warning at CMakeLists.txt:18 (cmake_minimum_required): Step #21 - "compile-libfuzzer-address-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #21 - "compile-libfuzzer-address-x86_64": CMake. Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #21 - "compile-libfuzzer-address-x86_64": CMake that the project does not need compatibility with older versions. Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": -- The C compiler identification is Clang 22.0.0 Step #21 - "compile-libfuzzer-address-x86_64": -- The CXX compiler identification is Clang 22.0.0 Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting C compiler ABI info Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting C compiler ABI info - done Step #21 - "compile-libfuzzer-address-x86_64": -- Check for working C compiler: /usr/local/bin/clang - skipped Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting C compile features Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting C compile features - done Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting CXX compiler ABI info Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting CXX compiler ABI info - done Step #21 - "compile-libfuzzer-address-x86_64": -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting CXX compile features Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting CXX compile features - done Step #21 - "compile-libfuzzer-address-x86_64": -- Found gflags: /usr/lib/x86_64-linux-gnu/libgflags.so Step #21 - "compile-libfuzzer-address-x86_64": -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so (found version "3.6.1") Step #21 - "compile-libfuzzer-address-x86_64": -- Found Threads: TRUE Step #21 - "compile-libfuzzer-address-x86_64": -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f") Step #21 - "compile-libfuzzer-address-x86_64": -- Found Gperftools: /usr/lib/x86_64-linux-gnu/libtcmalloc_and_profiler.so Step #21 - "compile-libfuzzer-address-x86_64": CMake Deprecation Warning at CMakeLists.txt:16 (cmake_minimum_required): Step #21 - "compile-libfuzzer-address-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #21 - "compile-libfuzzer-address-x86_64": CMake. Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #21 - "compile-libfuzzer-address-x86_64": CMake that the project does not need compatibility with older versions. Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": -- Configuring done (0.0s) Step #21 - "compile-libfuzzer-address-x86_64": -- Generating done (0.0s) Step #21 - "compile-libfuzzer-address-x86_64": -- Build files have been written to: /src/brpc/build/googletest-download Step #21 - "compile-libfuzzer-address-x86_64": [ 11%] Creating directories for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [ 22%] Performing download step (git clone) for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": Cloning into 'googletest-src'... Step #21 - "compile-libfuzzer-address-x86_64": HEAD is now at 15460959 Update versions of WORKSPACE dependencies Step #21 - "compile-libfuzzer-address-x86_64": [ 33%] Performing update step for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [ 44%] No patch step for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [ 55%] No configure step for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [ 66%] No build step for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [ 77%] No install step for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [ 88%] No test step for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [100%] Completed 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target googletest Step #21 - "compile-libfuzzer-address-x86_64": -- Found Python: /usr/local/bin/python3.11 (found version "3.11.13") found components: Interpreter Step #21 - "compile-libfuzzer-address-x86_64": -- Configuring done (3.2s) Step #21 - "compile-libfuzzer-address-x86_64": -- Generating done (0.4s) Step #21 - "compile-libfuzzer-address-x86_64": -- Build files have been written to: /src/brpc/build Step #21 - "compile-libfuzzer-address-x86_64": ++ nproc Step #21 - "compile-libfuzzer-address-x86_64": + make fuzz_butil fuzz_esp fuzz_hpack fuzz_http fuzz_hulu fuzz_json fuzz_redis fuzz_shead fuzz_sofa fuzz_uri --ignore-errors -j32 Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating idl_options.pb.h, idl_options.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/builtin_service.pb.h, brpc/builtin_service.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating addressbook.pb.h, addressbook.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating v3.pb.h, v3.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/get_favicon.pb.h, brpc/get_favicon.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/errno.pb.h, brpc/errno.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/get_js.pb.h, brpc/get_js.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating addressbook1.pb.h, addressbook1.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating addressbook_encode_decode.pb.h, addressbook_encode_decode.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating addressbook_map.pb.h, addressbook_map.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/options.pb.h, brpc/options.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating echo.pb.h, echo.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating grpc.pb.h, grpc.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/policy/hulu_pbrpc_meta.pb.h, brpc/policy/hulu_pbrpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/policy/mongo.pb.h, brpc/policy/mongo.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating health_check.pb.h, health_check.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating iobuf.pb.h, iobuf.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/policy/public_pbrpc_meta.pb.h, brpc/policy/public_pbrpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating message.pb.h, message.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating repeated.pb.h, repeated.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating v1.pb.h, v1.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating v2.pb.h, v2.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/proto_base.pb.h, brpc/proto_base.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Generating brpc/span.pb.h, brpc/span.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dynamic_annotations/dynamic_annotations.c.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/icu/icu_utf.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/modp_b64/modp_b64.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-sinksource.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-stubs-internal.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path_constants.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_file.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_temp_dir.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/hash.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/lazy_instance.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/location.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/aligned_memory.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted_memory.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/safe_strerror_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/sha1_portable.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_piece.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_offset_string_conversions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversion_utils.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/non_thread_safe_impl.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_id_name_manager.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/find_cstr.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/status.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/zero_copy_stream_as_streambuf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/containers/case_ignored_flat_map.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_linux.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_linux.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/sys_string_conversions_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_js.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/options.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/recordio.cc:318:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 318 | char metabuf[s.name.size() + 5]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/recordio.cc:318:22: note: initializer of 's' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/recordio.cc:312:15: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 312 | auto& s = rec.MetaAt(i); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/sofa_pbrpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 833 | struct iovec vec[nref]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: note: initializer of 'nref' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:832:18: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 832 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 864 | struct iovec vec[nref]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: note: initializer of 'nref' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:863:18: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 863 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/streaming_rpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/proto_base.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": 1 warning generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/collector.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread_once.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/condition_variable.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/butex.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/encode_decode.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/pb_to_json.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/json_to_pb.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_connection_type.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_max_concurrency.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/amf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:75:39: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<30UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 75 | g->get_interval_at(index).merge(interval); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :134:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 134 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :130:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 130 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<30>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/combiner.h:225:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 225 | const ElementTp element_identity = ElementTp(), Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:680:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 680 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:1344:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 1344 | : _M_ptr(), _M_refcount(_M_ptrIn file included from /src/brpc/src/bthread/countdown_event.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/countdown_event.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": , __tag, std289 | ::forwa memsrd<_Args>(__argset(thi)...)s, 0, Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": sizeof(/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:359:4: note: in instantiation of function template specialization 'std::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here*th Step #21 - "compile-libfuzzer-address-x86_64": is) 359 | : __); Step #21 - "compile-libfuzzer-address-x86_64": sha red_ptr|  ^ Step #21 - "compile-libfuzzer-address-x86_64": </src/brpc/src/bvar/detail/sampler.h:40:_T16p>(__tag:, note: stin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": d 40 | Sample::for() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:w116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": a 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: rd<_Args>(__args)...) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:701:14: note: in instantiation of function template specialization 'std::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": note: 701 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h: Step #21 - "compile-libfuzzer-address-x86_64": 717:19 : 98note: |  in instantiation of function template specialization 'std::allocate_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here  Step #21 - "compile-libfuzzer-address-x86_64": take_s717a | mp l e ( ) ;r Step #21 - "compile-libfuzzer-address-x86_64": e |  ^tu Step #21 - "compile-libfuzzer-address-x86_64": rn/src/brpc/src/bvar/detail/percentile.h :529s:td:28:a:l lnote: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereoc Step #21 - "compile-libfuzzer-address-x86_64": at e_shared<_Tp>(529s | td: :al loc ato r< _ T p_n c>( ), _ Step #21 - "compile-libfuzzer-address-x86_64": samp | l ^ Step #21 - "compile-libfuzzer-address-x86_64": er = n/src/brpc/src/bvar/detail/percentile.cppew :89:s22: ampnote: lin instantiation of function template specialization 'std::make_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>' requested hereer_ty Step #21 - "compile-libfuzzer-address-x86_64": p e(th89 | is ) ; : Step #21 - "compile-libfuzzer-address-x86_64": | _co ^m Step #21 - "compile-libfuzzer-address-x86_64": biner(std::make_shared' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :16: /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": r_type116 | note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(>( Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": )), _sampler(NULL) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, /src/brpc/src/bvar/detail/percentile.h:s289i:z16e:of(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeoIn file included from /src/brpc/src/bvar/latency_recorder.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: f(*warning: tthfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": his)) 289 | memset(i;s, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/id.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[In file included from /src/brpc/src/bvar/collector.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": s i289 | memset(zthis, 0, sizeofeof((Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": */src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": this)); Step #21 - "compile-libfuzzer-address-x86_64": 364 | |  ge ^t_interval_at(i).merge(*rh Step #21 - "compile-libfuzzer-address-x86_64": s._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: /src/brpc/src/bvar/detail/sampler.h:40in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here: Step #21 - "compile-libfuzzer-address-x86_64": 16: 499 | note:  b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here/src/brpc/src/bvar/window.h Step #21 - "compile-libfuzzer-address-x86_64": :53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | S a53m | p _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12:l note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_seconed(value, _op() :); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65 dat:a()25:, note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": tim 65e | _us(0) { } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h:116:23 _series.appen: d(_onote: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | wner->get _ value(1 S)amp);l Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": eIn file included from /src/brpc/src/bthread/rwlock.cpptmp:;/src/brpc/src/bvar/window.h:58:9: 19: Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": note: In file included from /src/brpc/src/bthread/rwlock.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here 289 | Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | 529 | _ memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": samp ler = new saSmpeler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": riesSa/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": m 289 | pl memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<1022>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.cpp:64:55: note: in instantiation of member function 'bvar::detail::PercentileSamples<1022>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 64 | std::unique_ptr cb(new CombinedPercentileSamples); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning529 Step #21 - "compile-libfuzzer-address-x86_64": | e r( _Wsampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": indowBase* ow/src/brpc/src/bvar/detail/percentile.hner, R* :v289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | a r289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  memset(this, 0, si)zeof(*this) Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_arrIn file included from /src/brpc/src/bthread/timer_thread.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:ay26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": _size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :176:1: 289 | memset(this note: ,expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64":  |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bvar/detail/sampler.h:40:16::132 :13: warning: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64":  variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 40 | 132 | DSample() EFINE_SMALL_ARRAY: data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ( ui176/src/brpc/src/bvar/detail/sampler.h:116:23: note: nt32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": | 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.htm:426p:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | ch_asrt name##_stack_array[/src/brpc/src/bvar/detail/sampler.h:ac98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": k_a 98 | r take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": r 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ay_size/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": |  289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :172:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 172 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, In file included from 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bthread/bthread.cpp/src/brpc/src/butil/macros.h:426:42:: 28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from note: expanded from macro 'DEFINE_SMALL_ARRAY'/src/brpc/src/bthread/task_control.h: Step #21 - "compile-libfuzzer-address-x86_64": 34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h 426 | :27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.hchar name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": :289:16| ^ Step #21 - "compile-libfuzzer-address-x86_64": :/src/brpc/src/bvar/detail/percentile.h:132:13 warning: : note: declared herefirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20:  note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 289 | 425 | const memset(unsignedthis,  name#0, si#_stzeack_array_sof(*tize = his));(nam Step #21 - "compile-libfuzzer-address-x86_64": e##_size |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  <= (maxsiz/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heree) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": : 40 | Sample() : 162:1:data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": | note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": 162 | tmp_stack_array_s/src/brpc/src/bvar/detail/sampler.h:116:23: inote: ze Step #21 - "compile-libfuzzer-address-x86_64": | in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": ^ 116 | Step #21 - "compile-libfuzzer-address-x86_64":  Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | In file included from /src/brpc/src/bthread/fd.cpp:36: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h _sampler = new sampler_type(t:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": his); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 0) {} 289 | Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/key.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/execution_queue.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/execution_queue.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 |  _var->op()(/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": v1, v2 )132; Step #21 - "compile-libfuzzer-address-x86_64": | |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  DEFINE/src/brpc/src/bvar/detail/call_op_returning_void.h_:S29M:A12L:L _ARnote: RAin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereY( Step #21 - "compile-libfuzzer-address-x86_64": uint32_t, tmp, 29r | h s ._num retur_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~n Step #21 - "compile-libfuzzer-address-x86_64":  op(v1,/src/brpc/src/butil/macros.h:426:29:  v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 426 | ch ar168 name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":  | /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_i nterval_at(i).merge(*rhs._interva ls[ i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499 :12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1 call_op_returning.merge(b_void(op, tmp2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ,/src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": _53dat | a .second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/series.h:116:16: note:  in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here  Step #21 - "compile-libfuzzer-address-x86_64": _var-> 116 | retopu()rn append(_v1second, v2(va);lu Step #21 - "compile-libfuzzer-address-x86_64": e, _op); Step #21 - "compile-libfuzzer-address-x86_64": | |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ^/src/brpc/src/bvar/window.h:65 Step #21 - "compile-libfuzzer-address-x86_64": :25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h: 2965 | : 12:   note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here  Step #21 - "compile-libfuzzer-address-x86_64": 29 | _ ser i esr.eatpuprennd (o_po(vwner->g1e,t _vv2alu)e;( Step #21 - "compile-libfuzzer-address-x86_64": | 1 ^) Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:/src/brpc/src/bvar/window.h:58:9: 168:13: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herenote:  Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | 168 | Se r calli_op_erestSuarmnpilnegr_(vWoiindd(oop,w Baste*m po,w n_erd, atRa* v.ars)eco Step #21 - "compile-libfuzzer-address-x86_64": nd| (i ^) Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": |  ^/src/brpc/src/bvar/window.h Step #21 - "compile-libfuzzer-address-x86_64": :151:35: note: /src/brpc/src/bvar/detail/series.hin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here:116:16 Step #21 - "compile-libfuzzer-address-x86_64": : note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here  Step #21 - "compile-libfuzzer-address-x86_64": 151 | 116 |  r_esteurrines _appseanmdp_lseerc o=n d(vnaelwue ,S e_roipe)s;Samp Step #21 - "compile-libfuzzer-address-x86_64": l e| r( ^ Step #21 - "compile-libfuzzer-address-x86_64": this, _/src/brpc/src/bvar/window.hv:a65r:)25;: Step #21 - "compile-libfuzzer-address-x86_64": note:  in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here|  Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h65: | 49 : 7 :   note:  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here  Step #21 - "compile-libfuzzer-address-x86_64": _49s | ercileas.assppend(_ Laotwennecry-Re>cgoerdte_rvBaalsuee (1){); Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": | | ^ Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:/src/brpc/src/bvar/window.h132:58::913:: note: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereinitializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 13258 | | S e rDEiFIeNsES_SaMmALLp_lARRAYe(ru(iWnitn3d2o_wtB,a stem* opw,ner, rRh*s .v_anru)m_ Step #21 - "compile-libfuzzer-address-x86_64": sa m| pl ^e Step #21 - "compile-libfuzzer-address-x86_64": s, 64/src/brpc/src/bvar/window.h:)151;:35 Step #21 - "compile-libfuzzer-address-x86_64": : |  ^note:  Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: 151 | expanded from macro 'DEFINE_SMALL_ARRAY'  Step #21 - "compile-libfuzzer-address-x86_64": 426 | _ s er i esc_hsaarmp lnera m=e# #_nestwac kS_earirersaSya[mpsilzeero(ft(hTips), *_ vnaamre)#;#_ Step #21 - "compile-libfuzzer-address-x86_64": s | ta ^ Step #21 - "compile-libfuzzer-address-x86_64": ck_ar/src/brpc/src/bvar/latency_recorder.hr:ay49_:7s:i ze]; note: \in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": |  ^49 Step #21 - "compile-libfuzzer-address-x86_64": | class: L176a:t1e: ncynote: Rexpanded from heree Step #21 - "compile-libfuzzer-address-x86_64": corderB176a | stemp_s t{aIn file included from /src/brpc/src/bthread/butex.cpp:35: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": c Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": k/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": _ a/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": |  ^r Step #21 - "compile-libfuzzer-address-x86_64": ray_si/src/brpc/src/bvar/detail/percentile.hze:132 Step #21 - "compile-libfuzzer-address-x86_64": : 13| : ^ Step #21 - "compile-libfuzzer-address-x86_64": note: initializer of 'tmp_stack_array_size' is not a constant expression/src/brpc/src/bvar/detail/percentile.h Step #21 - "compile-libfuzzer-address-x86_64": : 132:13: note: 132declared here |  Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/butil/macros.h: 425 : 20 : DEnote: FIexpanded from macro 'DEFINE_SMALL_ARRAY'NE Step #21 - "compile-libfuzzer-address-x86_64": _ SMALL_425A | R R A Y (ucionnts3t2_ t,u ntsmipg,n erdhs .n_anmuem#_#s_asmtpalceks_,a rr6a4y_)s;iz Step #21 - "compile-libfuzzer-address-x86_64": e | = ^ Step #21 - "compile-libfuzzer-address-x86_64": (na/src/brpc/src/butil/macros.hm:e426#:#42_: sizenote: ::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": |  499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  ^/src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64":  53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data char name##_stack_array[sizeof(Tp) * name##_stack_array:172_size]; : \ Step #21 - "compile-libfuzzer-address-x86_64": 1: |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size =. second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": note: /src/brpc/src/bvar/detail/series.h:116:16: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": (name##_size <= (maxsize) note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 172 | tmp_stack 116 | r_eta 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^rurn append_second(value,r a_op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | y Step #21 - "compile-libfuzzer-address-x86_64": _size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :153:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 153 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :149:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 149 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :173:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 173 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :169:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 169 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h: ^ Step #21 - "compile-libfuzzer-address-x86_64": 132:13:/src/brpc/src/bvar/window.h :53warning: :17:variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]  Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 132 | 53 | _ v ar->op()(v1, v2);DEFIN Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": E_SMALL_ARR/src/brpc/src/bvar/detail/call_op_returning_void.hA:Y29(:u12i:n t32note: _tin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here, Step #21 - "compile-libfuzzer-address-x86_64": tmp, rhs._n u29m | _ s a m pretlurens, 64 op); Step #21 - "compile-libfuzzer-address-x86_64": | (v1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/butil/macros.hv2:426:29: ); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": note: 168 | call_op_returning_void(op, tmp, expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": _data. 426second(i) | ); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": c/src/brpc/src/bvar/detail/series.h:116:16: hnote: arin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64":  116 | rname##eturn append_seco_snd(vatlackue, __array[sizeofop);(Tp Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ) /src/brpc/src/bvar/window.h:65:25: * name##_note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herestack Step #21 - "compile-libfuzzer-address-x86_64": _a rray_size]; 65 | \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h :364: 36:  note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | _series.appen d(_ow ner ->get_v aluge(et1)_in);terv Step #21 - "compile-libfuzzer-address-x86_64": al_at(i).merge(*r|  ^ Step #21 - "compile-libfuzzer-address-x86_64": hs._i/src/brpc/src/bvar/window.h:58:9: note: ntein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | r va ls[ iSe]r);ie Step #21 - "compile-libfuzzer-address-x86_64": sS | ampler(Wind ^ Step #21 - "compile-libfuzzer-address-x86_64": o/src/brpc/src/bvar/detail/percentile.h:499:12: note: win instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hereBase* owne Step #21 - "compile-libfuzzer-address-x86_64": r, R* v 499 | b1.mergear) Step #21 - "compile-libfuzzer-address-x86_64": (b2); Step #21 - "compile-libfuzzer-address-x86_64": |  | ^ Step #21 - "compile-libfuzzer-address-x86_64":  ^/src/brpc/src/bvar/window.h:53:17 Step #21 - "compile-libfuzzer-address-x86_64": :/src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64":  note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | 53 | _seri es_sampler = ne w Series Sampler(th _viasr->op, (_)var);(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note:  ^ Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | /src/brpc/src/bvar/latency_recorder.h :ret49u:rn op(v71:, v2); note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 49 Step #21 - "compile-libfuzzer-address-x86_64": | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :170:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 170 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :164:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 164 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :160:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 160 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_oIn file included from /src/brpc/src/bthread/mutex.cpp:27wner->get_value(1));: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h Step #21 - "compile-libfuzzer-address-x86_64": | :27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(T/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 65 | 132 | DEFINE_SMALL_ARRAY( uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.mergpe) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  (b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/window.h: 53 :17:  note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _series.append _va(r->op()(v_1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | retuowrn op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ne/src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :164:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 164 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :160:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 160 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": r->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._nu/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": m_sam 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": p 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:les, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :164:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 164 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :160:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 160 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 599 | DEFINE_SMALL_ARRAY(int, nums, ngroup, 128); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: initializer of 'nums_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :121:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 121 | nums_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :117:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 117 | nums_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  132 | 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :197:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 197 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :193:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 193 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:377:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 377 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.cpp:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h317 | :34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h: 289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40: 16:  note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | SFiamxple() :e data(), time_us(0dH) {} Step #21 - "compile-libfuzzer-address-x86_64": ea dAnd| Value ^/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | t Samplem p[ctmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": ur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  98 | take_sample() ^~~~~~~~~; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64":  529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 379 :289 | 3 mem:set(th is, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": | note:  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 379 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:381:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 381 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:383:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 383 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:385:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 385 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:387:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 387 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:389:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 389 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:391:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 391 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:393:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 393 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:395:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 395 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:397:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 397 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flags_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flot_min_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_favicon_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :160:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 160 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :156:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 156 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/grpc_health_check_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_group.cpp:36: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :170:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 170 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_st2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": ack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :189:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 189 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/adaptive_max_concurrency.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :222:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 222 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size :In file included from 0)/src/brpc/src/brpc/acceptor.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from ;/src/brpc/src/bvar/utils/lock_timer.h :\28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 289 | |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  mems:e218t:(1:t hisnote: ,expanded from here  Step #21 - "compile-libfuzzer-address-x86_64": 0 , sizeo218f | t(m*p_tshtisa))c;k_ Step #21 - "compile-libfuzzer-address-x86_64": a r| ra ^y Step #21 - "compile-libfuzzer-address-x86_64": _s/src/brpc/src/bvar/detail/sampler.h:40:16: ize Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/memory_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_perl.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/prometheus_metrics_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^/src/brpc/src/bvar/detail/percentile.h:132:13 Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: :warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]132:13 Step #21 - "compile-libfuzzer-address-x86_64": : note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFI 132 | N E _ S MAL LD_AEFRIRNAEY_(uiSnMtALL_ARRAY(uint32_t, 32_tt,m pt,m pr,h sr.h_num_sams._npulme_ss,a mp6l4es),;  Step #21 - "compile-libfuzzer-address-x86_64": 6 4| ) ^; Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42:  Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY'note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36::161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_ note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": stack_array_ 364 | size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  get/src/brpc/src/bvar/detail/percentile.h:132:13:_inter note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:val_at(i).merge(20: note: *rhs._iexpanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unntervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": signed name##_stack_array_ |  ^size = (n Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17ame##_size <= : note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | (maxsize) ? name##_size : 0 ); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1:  _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_s |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | rettack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^urn o Step #21 - "compile-libfuzzer-address-x86_64": p(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 2 c warninghar name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": s generated:176:1: note: . Step #21 - "compile-libfuzzer-address-x86_64": expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 176 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :172:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 172 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/bthreads_service.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/common.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sorttable_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/dir_service.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/threads_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_favicon_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMthisALL_ARRAY(uint32_t, tmp, rhs._num_s,2 warnings0 generated. Step #21 - "compile-libfuzzer-address-x86_64": amp, lesizeofs,(* 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:th29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": is ))426 | ; char name# Step #21 - "compile-libfuzzer-address-x86_64": #_s |  ^tack_array[sizeof(T Step #21 - "compile-libfuzzer-address-x86_64":  p) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h:364:36: (void*) Step #21 - "compile-libfuzzer-address-x86_64":  note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :199:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 199 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY'[ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :195:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 195 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/connections_service.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampl132e | r = n ew sa mp l DEFINE_SMALL_ARRAY(ueirn_typt3e2_(t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": t |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY'his Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  426 | char name##_stack_a/src/brpc/src/bvar/detail/percentile.hrr:289ay:16: note: explicitly cast the pointer to silence this warning[sizeof(T Step #21 - "compile-libfuzzer-address-x86_64": p) * name## 289_stack_array_size]; | \  Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memset(this,  Step #21 - "compile-libfuzzer-address-x86_64": 0,/src/brpc/src/bvar/detail/percentile.h:364:36 s: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereizeof(* Step #21 - "compile-libfuzzer-address-x86_64": thi s364 | )); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_js_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/bad_method_service.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/viz_min_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/flags_service.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": th 132 | is DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samp)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": les, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/grpc_health_check_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | /src/brpc/src/bvar/detail/percentile.h:132:13char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": op, tmp 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": ,/src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": _data.secon 426 | char name##_stack_array[sizeof(Tp) * name##_stack_ard(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ray_size] Step #21 - "compile-libfuzzer-address-x86_64": ; /src/brpc/src/bvar/detail/series.h\:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :229:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 229 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :225:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 225 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:[ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :240:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 240 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :236:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 236 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/cluster_recover_policy.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/ids_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/compress.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/health_service.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/couchbase.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/index_service.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 12 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/hotspots_service.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/list_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :16:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 16 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :12:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 12 | tmp_sta[ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": ck_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/memory_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof/src/brpc/src/bvar/detail/percentile.h:132:13: warning: (variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": *th 132 | DEFINE_SMALL_AisRR)A)Y;(u Step #21 - "compile-libfuzzer-address-x86_64": int32_t, |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :50:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 50 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :46:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 46 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/load_balancer_with_naming.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/naming_service_thread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/pprof_service.cpp:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/ssl_helper.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/tcmalloc_extension.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/usercode_backup_pool.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :250:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 250 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :246:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 246 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/protobufs_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/prometheus_metrics_service.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/global.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/threads_service.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/sockets_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/rpcz_service.cpp:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/status_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | In file included from /src/brpc/src/brpc/details/http_message.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | m e m sDeEtF(INtEh_iSsMA,L L_0AR,R AYs(iuzinte32_otf, (t*mpt,h irsh)s).;_nu Step #21 - "compile-libfuzzer-address-x86_64": m| _s ^a Step #21 - "compile-libfuzzer-address-x86_64": mples, 64/src/brpc/src/bvar/detail/sampler.h):;40: Step #21 - "compile-libfuzzer-address-x86_64": 16 | : ^ Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here/src/brpc/src/butil/macros.h:426 Step #21 - "compile-libfuzzer-address-x86_64": : 42: 40note: |  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #21 - "compile-libfuzzer-address-x86_64": Sample() : data(),426 | ti m e_us(0) char name##_stack_array[sizeof {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": (Tp/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | ) * name##_stack_ar r ay _ s i zSea]; m p l e tmp;\ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": | :219:1: ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | 219 | t m p _ st atcakke__saarmprlaey(_)s;iz Step #21 - "compile-libfuzzer-address-x86_64": e | Step #21 - "compile-libfuzzer-address-x86_64":  ^| Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bvar/detail/percentile.h:132:13: :529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #21 - "compile-libfuzzer-address-x86_64": _sampler = new sampler425_ | t y p e( tchoinsst); Step #21 - "compile-libfuzzer-address-x86_64":  u| ns ^i Step #21 - "compile-libfuzzer-address-x86_64": gned name##_stack_array_size = (name##_size <= (ma/src/brpc/src/bvar/detail/percentile.h:289:16: xsize) ? nnote: aexplicitly cast the pointer to silence this warningme Step #21 - "compile-libfuzzer-address-x86_64": # #_si289z | e :  0  ) ;m e\mse Step #21 - "compile-libfuzzer-address-x86_64": t(thi |  ^ Step #21 - "compile-libfuzzer-address-x86_64": s, 0:215,: 1:s izenote: ofexpanded from here( Step #21 - "compile-libfuzzer-address-x86_64": * this)); Step #21 - "compile-libfuzzer-address-x86_64": 215 | | t ^ Step #21 - "compile-libfuzzer-address-x86_64":  | mp_stack_ar (void*) Step #21 - "compile-libfuzzer-address-x86_64": ra/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": y_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vars_service.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: In file included from /src/brpc/src/brpc/builtin/version_service.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :229:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 229 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :225:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 225 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint322_t, warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :162:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 162 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http2.cpp.o Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :229:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 229 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :225:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 225 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_header.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vlog_service.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364 :36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interv al_at (i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | _ s e r i e sb_1s.ammeprglee(rb 2=) ;n Step #21 - "compile-libfuzzer-address-x86_64": e w|  ^S Step #21 - "compile-libfuzzer-address-x86_64": eries/src/brpc/src/bvar/window.hS:a53mp:l17e:r (tnote: hiin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested heres Step #21 - "compile-libfuzzer-address-x86_64": , _var53); | Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   /src/brpc/src/bvar/latency_recorder.h : _49var:-7>o:p ()(vnote: 1,in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here v Step #21 - "compile-libfuzzer-address-x86_64": 2); Step #21 - "compile-libfuzzer-address-x86_64": 49 | |  ^ Step #21 - "compile-libfuzzer-address-x86_64": class/src/brpc/src/bvar/detail/call_op_returning_void.h :L29a:t12e:n cyRnote: ecordin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereerBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": 29 | /src/brpc/src/bvar/detail/percentile.h:r132:e13t:u rnnote: oinitializer of 'tmp_stack_array_size' is not a constant expressionp( Step #21 - "compile-libfuzzer-address-x86_64": v 1, v2); Step #21 - "compile-libfuzzer-address-x86_64": 132| |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   /src/brpc/src/bvar/detail/series.h:168 : 13D:E FINnote: E_in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereSM Step #21 - "compile-libfuzzer-address-x86_64": A LL_AR168R | A Y ( u i n t 3 2 _ t, t mcpa,l lr_hosp.__rneutmu_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | rning_void(op, ctmp, on_datast .second(i));un Step #21 - "compile-libfuzzer-address-x86_64": si |  ^ Step #21 - "compile-libfuzzer-address-x86_64": gned/src/brpc/src/bvar/detail/series.h name##_s:116:16:tack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/checksum.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": : note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :160:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 160 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :156:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 156 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/cluster_recover_policy.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": :289: 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_st16a:c k_array[sizeof(Tp) * name##_stack_array_size];   \warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | me Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": ms 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": e/src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": t(th i499 | b1.merge(b2s); Step #21 - "compile-libfuzzer-address-x86_64": , 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here |  Step #21 - "compile-libfuzzer-address-x86_64": memset(116t | h is  ,  0 ,r etsuirzneo fap(p*entdh_isseco)n)d;(v Step #21 - "compile-libfuzzer-address-x86_64": a l| u ^e Step #21 - "compile-libfuzzer-address-x86_64": , _op); |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/compress.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.cpp:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/input_messenger.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :242:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 242 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :238:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 238 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/channel.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sa2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": mple(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": this); Step #21 - "compile-libfuzzer-address-x86_64": 132 | |  DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": ^ 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:/src/brpc/src/bvar/window.h:53:17:289 :16: note: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, var->op()(v1, v20);, Step #21 - "compile-libfuzzer-address-x86_64":  s| iz ^e Step #21 - "compile-libfuzzer-address-x86_64": of(*thi/src/brpc/src/bvar/detail/call_op_returning_void.hs:29):)12;: Step #21 - "compile-libfuzzer-address-x86_64":  | note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_pb_service_adaptor.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :194:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 194 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :190:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 190 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/parallel_channel.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/partition_channel.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_In file included from /src/brpc/src/brpc/details/health_check.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/health_check.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": s 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.ha:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": mple(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 28 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": : note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/couchbase.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/couchbase.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/jemalloc_profiler.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: 40 | note:  in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here  Step #21 - "compile-libfuzzer-address-x86_64": Sample 364 | () : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": g 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": et_interval/src/brpc/src/bvar/detail/sampler.h:98:9: _note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereat(i).merge(*rhs._intervals[i] Step #21 - "compile-libfuzzer-address-x86_64": ); 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :33:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 33 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :29:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 29 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: 2 warningsexpanded from macro 'DEFINE_SMALL_ARRAY' generated Step #21 - "compile-libfuzzer-address-x86_64": . Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :181:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 181 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us([ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :153:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 153 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :149:1: 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 149 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consistent_hashing_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :173:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 173 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :169:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 169 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/naming_service_thread.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 |  ch DEFINEar name_SM##AL_Ls_tAaRcRkA_Ya(rurianyt[3s2i_zte,o ftm(pT,p )r h*s .n_anmuem#_#s_asmtpalceks_, a6r4ra)y;_s Step #21 - "compile-libfuzzer-address-x86_64": i z| e] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~; Step #21 - "compile-libfuzzer-address-x86_64":   /src/brpc/src/butil/macros.h :\426: Step #21 - "compile-libfuzzer-address-x86_64": 29 :|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: 426 | note:  in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here  Step #21 - "compile-libfuzzer-address-x86_64":  char name##_stack364_ | a r r a y [  s i z e o f  ( T pg)e t*_ innatmeer#v#a_ls_taatc(ki_)a.rmrearyg_es(i*zreh]s;. _ i n t e r\va Step #21 - "compile-libfuzzer-address-x86_64": ls [| i ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~] Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h: ^364 Step #21 - "compile-libfuzzer-address-x86_64": :36: note: /src/brpc/src/bvar/detail/percentile.hin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here:499 Step #21 - "compile-libfuzzer-address-x86_64": : 12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  _var->op ^( Step #21 - "compile-libfuzzer-address-x86_64": )(v1, /src/brpc/src/bvar/window.hv:253):;17: Step #21 - "compile-libfuzzer-address-x86_64": | note: ^ Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:2953: | 12 :   note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here  Step #21 - "compile-libfuzzer-address-x86_64": 29 | _vraert-u>ronp()(v1, v op(2v)1;, Step #21 - "compile-libfuzzer-address-x86_64": v 2| ); ^ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12/src/brpc/src/bvar/detail/series.h:: 168:13note: : in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | 29 | return op(v1, v 2 ) ;  Step #21 - "compile-libfuzzer-address-x86_64": c a| ll ^_ Step #21 - "compile-libfuzzer-address-x86_64": op_retu/src/brpc/src/bvar/detail/series.hr:n168i:n13g:_ voinote: d(in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereop, Step #21 - "compile-libfuzzer-address-x86_64": 168 | tmp, _data.second( i ) ) ;  c Step #21 - "compile-libfuzzer-address-x86_64": a l| l_ ^ Step #21 - "compile-libfuzzer-address-x86_64": op_retur/src/brpc/src/bvar/detail/series.hn:i116n:g16_:v oidnote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here( Step #21 - "compile-libfuzzer-address-x86_64": o 116 | returp, tmp, _data.secnon da(pip)e)n;d_ Step #21 - "compile-libfuzzer-address-x86_64": s e| con ^d Step #21 - "compile-libfuzzer-address-x86_64": (value,/src/brpc/src/bvar/detail/series.h :_116o:p16):;  Step #21 - "compile-libfuzzer-address-x86_64":  note: | in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here ^ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64":  116 | /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": re65t | u r n  a p p e n d _ s e c o n_ds(evraileuse.,a p_poepn)d;(_ Step #21 - "compile-libfuzzer-address-x86_64": o w| ne ^r->get_ Step #21 - "compile-libfuzzer-address-x86_64": value(/src/brpc/src/bvar/window.h1:65):)25;: Step #21 - "compile-libfuzzer-address-x86_64":  | note:  ^in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:659 | :   note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here  Step #21 - "compile-libfuzzer-address-x86_64": 58_ | s e r i e s . a pSpeernide(s_Soawmnpelrer-(>Wgientd_ovwaBlausee(* 1ow)n);er Step #21 - "compile-libfuzzer-address-x86_64": , | R* ^v Step #21 - "compile-libfuzzer-address-x86_64": ar) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _/src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampsleerri(eWs_isnadmopwlBears e=* onwenwer ,S eRr[ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": * var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :190:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 190 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :186:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 186 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": iesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINIn file included from /src/brpc/src/brpc/details/ssl_helper.cpp:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": E_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": In file included from 426 | char name/src/brpc/src/brpc/details/ssl_helper.h##_stack_array[sizeof(Tp) * name#:#_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :16:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 16 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 33/src/brpc/src/butil/macros.h:: Step #21 - "compile-libfuzzer-address-x86_64": 425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": In file included from 425 | const unsigned name##/src/brpc/src/brpc/socket_id.h:_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :12:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 25 12: Step #21 - "compile-libfuzzer-address-x86_64": | In file included from tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dh.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :170:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 170 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :137:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 137 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :133:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 133 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/periodic_task.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/domain_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderIn file included from B/src/brpc/src/brpc/periodic_naming_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": ase { Step #21 - "compile-libfuzzer-address-x86_64": |  289 | ^ Step #21 - "compile-libfuzzer-address-x86_64":   /src/brpc/src/bvar/detail/percentile.h:132:13:  mnote: initializer of 'tmp_stack_array_size' is not a constant expressionemset Step #21 - "compile-libfuzzer-address-x86_64": (this, 0, s ize132o | f  ( *  t h i DEFINs)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: E_SMALL_ARRAY(uint32_note: t,in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here t Step #21 - "compile-libfuzzer-address-x86_64": m p, rhs40. | _ n u m _Ssaammppllee(s), : 6d4a)t; Step #21 - "compile-libfuzzer-address-x86_64": a (| ), ^ Step #21 - "compile-libfuzzer-address-x86_64": ti/src/brpc/src/butil/macros.h:426:42me_us(: 0)note: {expanded from macro 'DEFINE_SMALL_ARRAY'} Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: 426 | in instantiation of member function 'bvar::detail::Sample>::Sample' requested here  Step #21 - "compile-libfuzzer-address-x86_64": char n116 | a m e ## _ s t a c k _ a rSray[sizeof(Tp) * amplea mtem#p#_stack_; Step #21 - "compile-libfuzzer-address-x86_64": | ar ^r Step #21 - "compile-libfuzzer-address-x86_64": ay_siz/src/brpc/src/bvar/detail/sampler.he]:;98 \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | Step #21 - "compile-libfuzzer-address-x86_64": :161:1:   note: taexpanded from hereke Step #21 - "compile-libfuzzer-address-x86_64": _ sample();161 | tmp_s Step #21 - "compile-libfuzzer-address-x86_64": t a| ck ^_ Step #21 - "compile-libfuzzer-address-x86_64": array_/src/brpc/src/bvar/detail/percentile.hs:i529z:e28: Step #21 - "compile-libfuzzer-address-x86_64": | note: ^ Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 529/src/brpc/src/butil/macros.h | : 425: 20 :   note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #21 - "compile-libfuzzer-address-x86_64": _sampler = new sam425p | l e r _typ coen(stth isunsigned name##_); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: stack_array_size = (name##_size <= (maxsize) ? name##_sizenote: :explicitly cast the pointer to silence this warning  Step #21 - "compile-libfuzzer-address-x86_64": 0 ); \ Step #21 - "compile-libfuzzer-address-x86_64": | 289 ^ | Step #21 - "compile-libfuzzer-address-x86_64":   : 157 : 1m:e msenote: t(expanded from heret Step #21 - "compile-libfuzzer-address-x86_64": h is, 0157 | ,t mps_iszteaocfk_(a*rrtahyi_ssi)z);e Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": | | ^ Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dynpart_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, t[ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": mp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/global.cpp:38: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/partition_channel.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :181:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 181 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 615 | DEFINE_SMALL_ARRAY(SubCall, aps, nchan, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: note: initializer of 'aps_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :55:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 55 | aps_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :51:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 51 | aps_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hulu_pbrpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/locality_aware_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/parallel_channel.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :203:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 203 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :199:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 199 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/domain_naming_service.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :141:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 141 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :137:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 137 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :162:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 162 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :183:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 183 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :179:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 179 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nacos_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nova_pbrpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/consul_naming_service.cpp:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).mIn file included from /src/brpc/src/brpc/policy/consistent_hashing_load_balancer.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": erge(*rhs._inter 289v | amls[i])e;ms Step #21 - "compile-libfuzzer-address-x86_64": et(t |  ^ Step #21 - "compile-libfuzzer-address-x86_64": his, 0/src/brpc/src/bvar/detail/percentile.h, size:o499f(:12*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :/src/brpc/src/bvar/detail/sampler.h:40:16:  note: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h: 49998:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); | Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28:  note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": b 529 | _sampler = new sa1mpler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": .merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53: 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :217:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 217 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :213:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 213 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/public_pbrpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/file_naming_service.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:35: note: initializer of 'meta_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:82:20: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 82 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :191:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 191 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :187:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 187 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/discovery_naming_service.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:30: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64":  132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._n^ Step #21 - "compile-libfuzzer-address-x86_64": um_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :86:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 86 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :82:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 82 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/dynpart_load_balancer.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/remote_file_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/round_robin_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/gzip_compress.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :195:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 195 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :191:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 191 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interv[ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_pbrpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": al_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/snappy_compress.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returni/src/brpc/src/bvar/detail/percentile.hng_:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": voi 132 | DEFINE_SdM(ALL_ARRAY(uint32_t, tmp, orhs._num_psamples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29:, t note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": mp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/window.h:151:35/src/brpc/src/brpc/policy/esp_protocol.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": : note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h: 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 151/src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :/src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 35: 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here 426 | cha Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h: 27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)r)151 name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  | ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | : 225 S:a1m:ple() : data(), ti me_us( note:  _serieexpanded from heres_samp0ler) { }= Step #21 - "compile-libfuzzer-address-x86_64":  n| ew ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116 Step #21 - "compile-libfuzzer-address-x86_64": :23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64":  116 | Sample tsmp_stackSam_p;arpr Step #21 - "compile-libfuzzer-address-x86_64": ler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": ay_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= ( |  ^ Step #21 - "compile-libfuzzer-address-x86_64": maxsi/src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": ze) ? 98 | take _sanammpe#le(#_siz)e : 0); ; Step #21 - "compile-libfuzzer-address-x86_64": \ |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28 | : ^ Step #21 - "compile-libfuzzer-address-x86_64":  :221:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 221 | tmp_stack_anote: rray_size Step #21 - "compile-libfuzzer-address-x86_64": | ^in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :189:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 189 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/timeout_concurrency_limiter.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/locality_aware_load_balancer.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_randomized_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this)[ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_round_robin_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/memcache_binary_protocol.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :40:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 40 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :36:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 36 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/mongo_protocol.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :181:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 181 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/nova_pbrpc_protocol.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:294:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #21 - "compile-libfuzzer-address-x86_64": 294 | SerializeHuluHeaderAndMeta(&res_buf, meta, res_size + attached_size); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/randomized_load_balancer.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*th2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": is)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/nshead_mcpack_protocol.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp/src/brpc/src/bvar/detail/sampler.h::157116::3023:: warning: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested herevariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 116 | 157 | S a m p l e <Tc>h atrmp ;he Step #21 - "compile-libfuzzer-address-x86_64": a d| er ^_ Step #21 - "compile-libfuzzer-address-x86_64": and_met/src/brpc/src/bvar/detail/sampler.ha:[98:192: + note: mein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereta Step #21 - "compile-libfuzzer-address-x86_64": _size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":  98 |  /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp : 582 :t5ake_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": : /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": note:  529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #21 - "compile-libfuzzer-address-x86_64": 582 | SerializeHul/src/brpc/src/bvar/detail/percentile.h:289:16: uHeaderAndMeta(&res_buf, request_meta, 0); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :110:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 110 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :106:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 106 | t/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRmAY(uint32_t, tmp, rhs._num_sap_mpless,ta ck_array_s6ize Step #21 - "compile-libfuzzer-address-x86_64": | ^4 Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/nshead_protocol.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_endpoint.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/snappy_compress.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/round_robin_load_balancer.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :189:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 189 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :162:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 162 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/reloadable_flags.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/retry_policy.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :217:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 217 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :213:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 213 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/redis_protocol.cpp:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples,  _samp64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": le/src/brpc/src/butil/macros.hr: 426=: 29: note: new sampler_type(thexpanded from macro 'DEFINE_SMALL_ARRAY'is); Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  426 | char name##_stack_array2[ warningss generatedi. Step #21 - "compile-libfuzzer-address-x86_64": zeof(Tp) * name##_stack_arr/src/brpc/src/bvar/detail/percentile.hay_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": :289:16:  364 | note:  explicitly cast the pointer to silence this warning  Step #21 - "compile-libfuzzer-address-x86_64": get_interval_at(i289).m | e r g e ( *r hmse.ms_eitn(tetrvalhsis[i, ]0);, Step #21 - "compile-libfuzzer-address-x86_64":  s| iz ^eof Step #21 - "compile-libfuzzer-address-x86_64": (*thi/src/brpc/src/bvar/detail/percentile.hs:499):)12: ;note:  Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :188:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 188 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :184:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 184 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1447:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 1447 | char buf[header_len + 4/*extended ts*/]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1447:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 1489 | char buf[header_len + 4/*extended ts*/]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 1531 | char buf[header_len + 4/*extended ts*/]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 1570 | char buf[header_len]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_pb_message_factory.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rtmp.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1933:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 1933 | char buf[mh.message_length]; // safe to put on stack. Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1933:14: note: function parameter 'mh' with unknown value cannot be used in a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1927:30: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 1927 | const RtmpMessageHeader& mh, butil::IOBuf* msg_body, Socket* socket) { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:35: note: initializer of 'meta_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:142:20: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 142 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/selective_channel.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_request.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_ar2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": ray[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/ubrpc2pb_protocol.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 4 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/span.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/progressive_attachment.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/stream.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_randomized_load_balancer.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_round_robin_load_balancer.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * n a m e # #_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :182:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 182 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :178:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 178 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.cpp:42: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :195:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 195 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :191:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 191 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server_id.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/restful.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/restful.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/rpc_dump.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :194:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 194 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :190:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 190 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: /src/brpc/src/bvar/detail/percentile.hexpanded from macro 'DEFINE_SMALL_ARRAY':132 Step #21 - "compile-libfuzzer-address-x86_64": :13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | D425E | F I N E _ScMoAnLsLt_A RRuAnYs(iuginnetd32 _nta,m et#m#p_,s trahcsk.__anrurma_ys_asmipzlee s=, (n6a4me)#;#_ Step #21 - "compile-libfuzzer-address-x86_64": s i| ze ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": <= (m/src/brpc/src/butil/macros.ha:x426s:i29z:e ) ?note: nexpanded from macro 'DEFINE_SMALL_ARRAY'am Step #21 - "compile-libfuzzer-address-x86_64": e##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  :426215 | : 1 : cnote: haexpanded from herer Step #21 - "compile-libfuzzer-address-x86_64": name##_stack_array [215 | stimzpe_osfta(cTkp_)a r*r anya_msei#z#e_s Step #21 - "compile-libfuzzer-address-x86_64": t a| ck^_ Step #21 - "compile-libfuzzer-address-x86_64": array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :200:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 200 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :196:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 196 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 575 | DEFINE_SMALL_ARRAY(char, cont_buf, buf.size(), 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: note: initializer of 'cont_buf_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :71:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 71 | cont_buf_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :67:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 67 | cont_buf_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 677 | DEFINE_SMALL_ARRAY(char, rbsp, sps_length - 1, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: initializer of 'rbsp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :84:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 84 | rbsp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :80:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 80 | rbsp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :14:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 14 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :10:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 10 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 398 | CallId ids[_nalloc]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/selective_channel.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 2004 | char buf[fullname_len]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: note: initializer of 'fullname_len' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/server.cpp:2001:18: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 2001 | const size_t fullname_len = service_name.size() + 1 + method_name.size(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 600 | DEFINE_SMALL_ARRAY(butil::IOBuf*, buf_list, s->_options.messages_in_batch, 256); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: initializer of 'buf_list_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :53:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 53 | buf_list_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :49:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 49 | buf_list_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/span.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/trackme.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/stream.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/stream.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :181:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 181 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/ts.cpp:38: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.cpp:42: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :162:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 162 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server.cpp:36: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :182:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 182 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :178:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 178 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :183:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 183 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :179:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 179 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :162:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 162 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :204:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 204 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :200:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 200 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :206:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 206 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :202:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 202 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :9:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 9 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :5:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 5 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :25:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 25 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :21:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 21 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 4 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 7 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_butil.dir/fuzzing/fuzz_butil.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_butil Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_butil Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_esp.dir/fuzzing/fuzz_esp.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_esp.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :189:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 189 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_esp Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_esp Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hpack.dir/fuzzing/fuzz_hpack.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_hpack Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_hpack Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_http.dir/fuzzing/fuzz_http.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_http.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :40:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 40 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :36:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 36 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_http Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_http Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 15%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/fuzz_hulu.dir/fuzzing/fuzz_hulu.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_hulu.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :242:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 242 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :238:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 238 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_hulu Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_hulu Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_json.dir/fuzzing/fuzz_json.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_json Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_json Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_redis.dir/fuzzing/fuzz_redis.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_redis Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_redis Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_shead.dir/fuzzing/fuzz_shead.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_shead.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :40:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 40 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :36:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 36 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_shead Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_shead Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_sofa.dir/fuzzing/fuzz_sofa.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_sofa.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :222:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 222 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :218:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 218 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_sofa Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_sofa Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 15%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/fuzz_uri.dir/fuzzing/fuzz_uri.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_uri.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :195:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 195 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :191:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 191 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_uri Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_uri Step #21 - "compile-libfuzzer-address-x86_64": + cp test/fuzz_butil test/fuzz_esp test/fuzz_hpack test/fuzz_http test/fuzz_hulu test/fuzz_json test/fuzz_redis test/fuzz_shead test/fuzz_sofa test/fuzz_uri /workspace/out/libfuzzer-address-x86_64/ Step #21 - "compile-libfuzzer-address-x86_64": + pushd /lib/x86_64-linux-gnu/ Step #21 - "compile-libfuzzer-address-x86_64": /lib/x86_64-linux-gnu /src/brpc/build Step #21 - "compile-libfuzzer-address-x86_64": + mkdir -p /workspace/out/libfuzzer-address-x86_64/lib/ Step #21 - "compile-libfuzzer-address-x86_64": + cp libgflags.a libgflags.so libgflags.so.2.2 libgflags.so.2.2.2 libgflags_nothreads.a libgflags_nothreads.so libgflags_nothreads.so.2.2 libgflags_nothreads.so.2.2.2 libprotobuf-lite.a libprotobuf-lite.so libprotobuf-lite.so.17 libprotobuf-lite.so.17.0.0 libprotobuf.a libprotobuf.so libprotobuf.so.17 libprotobuf.so.17.0.0 libleveldb.a libleveldb.so libleveldb.so.1.22.0 libleveldb.so.1d libprotoc.a libprotoc.so libprotoc.so.17 libprotoc.so.17.0.0 libsnappy-shared.a libsnappy.a libsnappy.so libsnappy.so.1 libsnappy.so.1.1.8 /workspace/out/libfuzzer-address-x86_64/lib/. Step #21 - "compile-libfuzzer-address-x86_64": + popd Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/build Step #21 - "compile-libfuzzer-address-x86_64": + pushd /src/brpc/test/fuzzing Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/test/fuzzing /src/brpc/build Step #21 - "compile-libfuzzer-address-x86_64": + zip /workspace/out/libfuzzer-address-x86_64/fuzz_json_seed_corpus.zip fuzz_json_seed_corpus/info1.json fuzz_json_seed_corpus/info2.json fuzz_json_seed_corpus/info3.json Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_json_seed_corpus/info1.json (deflated 10%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_json_seed_corpus/info2.json (deflated 17%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_json_seed_corpus/info3.json (deflated 44%) Step #21 - "compile-libfuzzer-address-x86_64": + zip /workspace/out/libfuzzer-address-x86_64/fuzz_uri_seed_corpus.zip fuzz_uri_seed_corpus/data_1.rtmp fuzz_uri_seed_corpus/data_1.uri fuzz_uri_seed_corpus/data_2.uri Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_uri_seed_corpus/data_1.rtmp (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_uri_seed_corpus/data_1.uri (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_uri_seed_corpus/data_2.uri (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": + zip /workspace/out/libfuzzer-address-x86_64/fuzz_redis_seed_corpus.zip fuzz_redis_seed_corpus/command_parser.redis fuzz_redis_seed_corpus/request.redis Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_redis_seed_corpus/command_parser.redis (deflated 26%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_redis_seed_corpus/request.redis (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": + zip /workspace/out/libfuzzer-address-x86_64/fuzz_http_seed_corpus.zip fuzz_http_seed_corpus/http_request.http fuzz_http_seed_corpus/http_request_v2.http Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_http_seed_corpus/http_request.http (deflated 19%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_http_seed_corpus/http_request_v2.http (deflated 35%) Step #21 - "compile-libfuzzer-address-x86_64": + zip /workspace/out/libfuzzer-address-x86_64/fuzz_butil_seed_corpus.zip fuzz_butil_seed_corpus/base64_decoded.txt fuzz_butil_seed_corpus/base64_encoded.txt fuzz_butil_seed_corpus/crc32c.data Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_butil_seed_corpus/base64_decoded.txt (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_butil_seed_corpus/base64_encoded.txt (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_butil_seed_corpus/crc32c.data (deflated 63%) Step #21 - "compile-libfuzzer-address-x86_64": + zip /workspace/out/libfuzzer-address-x86_64/fuzz_hpack_seed_corpus.zip fuzz_hpack_seed_corpus/header_never_indexed.hpack fuzz_hpack_seed_corpus/header_with_indexing.hpack fuzz_hpack_seed_corpus/header_without_indexing.hpack fuzz_hpack_seed_corpus/requests_without_huffman.hpack fuzz_hpack_seed_corpus/responses_without_huffman.hpack Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_hpack_seed_corpus/header_never_indexed.hpack (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_hpack_seed_corpus/header_with_indexing.hpack (deflated 15%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_hpack_seed_corpus/header_without_indexing.hpack (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_hpack_seed_corpus/requests_without_huffman.hpack (deflated 10%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_hpack_seed_corpus/responses_without_huffman.hpack (deflated 1%) Step #21 - "compile-libfuzzer-address-x86_64": + popd Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/build Finished Step #21 - "compile-libfuzzer-address-x86_64" Starting Step #22 - "build-check-libfuzzer-address-x86_64" Step #22 - "build-check-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp0eg_6g5y/fuzz_json Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp0eg_6g5y/fuzz_shead Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp0eg_6g5y/fuzz_butil Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp0eg_6g5y/fuzz_esp Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp0eg_6g5y/fuzz_redis Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp0eg_6g5y/fuzz_hpack Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp0eg_6g5y/fuzz_http Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp0eg_6g5y/fuzz_hulu Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp0eg_6g5y/fuzz_uri Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp0eg_6g5y/fuzz_sofa Finished Step #22 - "build-check-libfuzzer-address-x86_64" Starting Step #23 Step #23: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #23 Starting Step #24 Step #24: Already have image: gcr.io/oss-fuzz/brpc Step #24: adding: fuzz_butil (deflated 67%) Step #24: adding: fuzz_butil_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_esp (deflated 67%) Step #24: adding: fuzz_hpack (deflated 67%) Step #24: adding: fuzz_hpack_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_http (deflated 67%) Step #24: adding: fuzz_http_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_hulu (deflated 67%) Step #24: adding: fuzz_json (deflated 67%) Step #24: adding: fuzz_json_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_redis (deflated 67%) Step #24: adding: fuzz_redis_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_shead (deflated 67%) Step #24: adding: fuzz_sofa (deflated 67%) Step #24: adding: fuzz_uri (deflated 67%) Step #24: adding: fuzz_uri_seed_corpus.zip (stored 0%) Step #24: adding: lib/ (stored 0%) Step #24: adding: lib/libprotobuf.so.17 (deflated 66%) Step #24: adding: lib/libgflags_nothreads.so.2.2.2 (deflated 59%) Step #24: adding: lib/libsnappy.so.1.1.8 (deflated 62%) Step #24: adding: lib/libprotoc.so.17 (deflated 66%) Step #24: adding: lib/libgflags_nothreads.so (deflated 59%) Step #24: adding: lib/libgflags.so.2.2 (deflated 59%) Step #24: adding: lib/libprotoc.a (deflated 76%) Step #24: adding: lib/libsnappy.so.1 (deflated 62%) Step #24: adding: lib/libprotobuf-lite.a (deflated 79%) Step #24: adding: lib/libprotoc.so.17.0.0 (deflated 66%) Step #24: adding: lib/libgflags.a (deflated 70%) Step #24: adding: lib/libprotobuf.a (deflated 79%) Step #24: adding: lib/libgflags_nothreads.so.2.2 (deflated 59%) Step #24: adding: lib/libsnappy-shared.a (deflated 67%) Step #24: adding: lib/libprotobuf.so (deflated 66%) Step #24: adding: lib/libsnappy.a (deflated 67%) Step #24: adding: lib/libgflags.so.2.2.2 (deflated 59%) Step #24: adding: lib/libprotobuf-lite.so.17 (deflated 66%) Step #24: adding: lib/libsnappy.so (deflated 62%) Step #24: adding: lib/libprotobuf-lite.so.17.0.0 (deflated 66%) Step #24: adding: lib/libprotobuf.so.17.0.0 (deflated 66%) Step #24: adding: lib/libprotobuf-lite.so (deflated 66%) Step #24: adding: lib/libgflags_nothreads.a (deflated 70%) Step #24: adding: lib/libleveldb.so (deflated 57%) Step #24: adding: lib/libleveldb.so.1.22.0 (deflated 57%) Step #24: adding: lib/libprotoc.so (deflated 66%) Step #24: adding: lib/libleveldb.a (deflated 73%) Step #24: adding: lib/libleveldb.so.1d (deflated 57%) Step #24: adding: lib/libgflags.so (deflated 59%) Step #24: adding: llvm-symbolizer (deflated 65%) Finished Step #24 Starting Step #25 Step #25: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #25: % Total % Received % Xferd Average Speed Time Time Time Current Step #25: Dload Upload Total Spent Left Speed Step #25: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 147 0 0 100 147 0 809 --:--:-- --:--:-- --:--:-- 812 Finished Step #25 Starting Step #26 Step #26: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #26: % Total % Received % Xferd Average Speed Time Time Time Current Step #26: Dload Upload Total Spent Left Speed Step #26: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 54 210M 0 0 54 115M 0 126M 0:00:01 --:--:-- 0:00:01 126M 100 210M 0 0 100 210M 0 113M 0:00:01 0:00:01 --:--:-- 113M Finished Step #26 Starting Step #27 Step #27: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #27: % Total % Received % Xferd Average Speed Time Time Time Current Step #27: Dload Upload Total Spent Left Speed Step #27: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 102 0 0 100 102 0 420 --:--:-- --:--:-- --:--:-- 421 Finished Step #27 Starting Step #28 Step #28: Already have image (with digest): gcr.io/cloud-builders/curl Step #28: % Total % Received % Xferd Average Speed Time Time Time Current Step #28: Dload Upload Total Spent Left Speed Step #28: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 29 0 0 100 29 0 164 --:--:-- --:--:-- --:--:-- 164 Finished Step #28 Starting Step #29 Step #29: Already have image: gcr.io/oss-fuzz/brpc Finished Step #29 Starting Step #30 - "compile-libfuzzer-undefined-x86_64" Step #30 - "compile-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #30 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-undefined-x86_64": vm.mmap_rnd_bits = 28 Step #30 - "compile-libfuzzer-undefined-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #30 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-undefined-x86_64": CC=clang Step #30 - "compile-libfuzzer-undefined-x86_64": CXX=clang++ Step #30 - "compile-libfuzzer-undefined-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function Step #30 - "compile-libfuzzer-undefined-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ Step #30 - "compile-libfuzzer-undefined-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #30 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-undefined-x86_64": + '[' undefined = undefined ']' Step #30 - "compile-libfuzzer-undefined-x86_64": + sed -i '/static void DoProfiling/i __attribute__((no_sanitize("undefined")))' src/brpc/builtin/hotspots_service.cpp Step #30 - "compile-libfuzzer-undefined-x86_64": + sed -i '/void PProfService::heap/i __attribute__((no_sanitize("undefined")))' src/brpc/builtin/pprof_service.cpp Step #30 - "compile-libfuzzer-undefined-x86_64": + sed -i '/void PProfService::growth/i __attribute__((no_sanitize("undefined")))' src/brpc/builtin/pprof_service.cpp Step #30 - "compile-libfuzzer-undefined-x86_64": + mkdir -p build Step #30 - "compile-libfuzzer-undefined-x86_64": + cd build Step #30 - "compile-libfuzzer-undefined-x86_64": + cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ '-DCMAKE_C_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function' '-DCMAKE_CXX_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function' '-DCMAKE_CPP_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function' '-DCMAKE_EXE_LINKER_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function' -DLIB_FUZZING_ENGINE=-fsanitize=fuzzer -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DWITH_SNAPPY=ON -DBUILD_UNIT_TESTS=ON -DBUILD_FUZZ_TESTS=ON ../. Step #30 - "compile-libfuzzer-undefined-x86_64": CMake Deprecation Warning at CMakeLists.txt:18 (cmake_minimum_required): Step #30 - "compile-libfuzzer-undefined-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #30 - "compile-libfuzzer-undefined-x86_64": CMake. Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #30 - "compile-libfuzzer-undefined-x86_64": CMake that the project does not need compatibility with older versions. Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": -- The C compiler identification is Clang 22.0.0 Step #30 - "compile-libfuzzer-undefined-x86_64": -- The CXX compiler identification is Clang 22.0.0 Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting C compiler ABI info Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting C compiler ABI info - done Step #30 - "compile-libfuzzer-undefined-x86_64": -- Check for working C compiler: /usr/local/bin/clang - skipped Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting C compile features Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting C compile features - done Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compiler ABI info Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compiler ABI info - done Step #30 - "compile-libfuzzer-undefined-x86_64": -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compile features Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compile features - done Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found gflags: /usr/lib/x86_64-linux-gnu/libgflags.so Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so (found version "3.6.1") Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found Threads: TRUE Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f") Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found Gperftools: /usr/lib/x86_64-linux-gnu/libtcmalloc_and_profiler.so Step #30 - "compile-libfuzzer-undefined-x86_64": CMake Deprecation Warning at CMakeLists.txt:16 (cmake_minimum_required): Step #30 - "compile-libfuzzer-undefined-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #30 - "compile-libfuzzer-undefined-x86_64": CMake. Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #30 - "compile-libfuzzer-undefined-x86_64": CMake that the project does not need compatibility with older versions. Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": -- Configuring done (0.0s) Step #30 - "compile-libfuzzer-undefined-x86_64": -- Generating done (0.0s) Step #30 - "compile-libfuzzer-undefined-x86_64": -- Build files have been written to: /src/brpc/build/googletest-download Step #30 - "compile-libfuzzer-undefined-x86_64": [ 11%] Creating directories for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 22%] Performing download step (git clone) for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": Cloning into 'googletest-src'... Step #30 - "compile-libfuzzer-undefined-x86_64": HEAD is now at 15460959 Update versions of WORKSPACE dependencies Step #30 - "compile-libfuzzer-undefined-x86_64": [ 33%] Performing update step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 44%] No patch step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 55%] No configure step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 66%] No build step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 77%] No install step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 88%] No test step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Completed 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target googletest Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found Python: /usr/local/bin/python3.11 (found version "3.11.13") found components: Interpreter Step #30 - "compile-libfuzzer-undefined-x86_64": -- Configuring done (2.7s) Step #30 - "compile-libfuzzer-undefined-x86_64": -- Generating done (0.4s) Step #30 - "compile-libfuzzer-undefined-x86_64": -- Build files have been written to: /src/brpc/build Step #30 - "compile-libfuzzer-undefined-x86_64": ++ nproc Step #30 - "compile-libfuzzer-undefined-x86_64": + make fuzz_butil fuzz_esp fuzz_hpack fuzz_http fuzz_hulu fuzz_json fuzz_redis fuzz_shead fuzz_sofa fuzz_uri --ignore-errors -j32 Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating idl_options.pb.h, idl_options.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating brpc/errno.pb.h, brpc/errno.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating brpc/builtin_service.pb.h, brpc/builtin_service.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating brpc/get_favicon.pb.h, brpc/get_favicon.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating brpc/get_js.pb.h, brpc/get_js.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating v3.pb.h, v3.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating addressbook.pb.h, addressbook.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating brpc/options.pb.h, brpc/options.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating addressbook1.pb.h, addressbook1.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating addressbook_encode_decode.pb.h, addressbook_encode_decode.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating addressbook_map.pb.h, addressbook_map.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/policy/hulu_pbrpc_meta.pb.h, brpc/policy/hulu_pbrpc_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating echo.pb.h, echo.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating grpc.pb.h, grpc.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating health_check.pb.h, health_check.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating iobuf.pb.h, iobuf.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating message.pb.h, message.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/policy/mongo.pb.h, brpc/policy/mongo.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating repeated.pb.h, repeated.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/policy/public_pbrpc_meta.pb.h, brpc/policy/public_pbrpc_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/proto_base.pb.h, brpc/proto_base.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating v1.pb.h, v1.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating v2.pb.h, v2.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dynamic_annotations/dynamic_annotations.c.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Generating brpc/span.pb.h, brpc/span.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/icu/icu_utf.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/modp_b64/modp_b64.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-sinksource.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-stubs-internal.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path_constants.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_file.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_temp_dir.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/hash.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/lazy_instance.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/location.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/aligned_memory.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted_memory.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/safe_strerror_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/sha1_portable.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_piece.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_offset_string_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversion_utils.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/non_thread_safe_impl.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_id_name_manager.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/find_cstr.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/status.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/zero_copy_stream_as_streambuf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/containers/case_ignored_flat_map.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_linux.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_linux.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/sys_string_conversions_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_js.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/options.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/sofa_pbrpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/recordio.cc:318:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 318 | char metabuf[s.name.size() + 5]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/recordio.cc:318:22: note: initializer of 's' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/recordio.cc:312:15: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 312 | auto& s =[ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": rec.MetaAt(i); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/streaming_rpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/proto_base.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 833 | struct iovec vec[nref]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: note: initializer of 'nref' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:832:18: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 832 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 864 | struct iovec vec[nref]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: note: initializer of 'nref' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:863:18: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 863 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": 1 warning generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/collector.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread_once.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/butex.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/condition_variable.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/encode_decode.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/json_to_pb.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/pb_to_json.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_connection_type.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_max_concurrency.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/amf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:75:39: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<30UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 75 | g->get_interval_at(index).merge(interval); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :134:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 134 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :130:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 130 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/countdown_event.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/countdown_event.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 20 : Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h98 | :289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<30>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | t memset(this, 0,a sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": k |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/combiner.h:e225:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": _s 225 | a const ElementTp elmplement_identie(); Step #30 - "compile-libfuzzer-undefined-x86_64": | ty = ElementTp(), Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:680:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ^ 680 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:1344:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 1344 | : _M_ptr(), Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/percentile.h:529:28: note: _M_refcount(_M_ptr, __tag, std::forward<_Argsin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here>(__args)...) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:359:4:  Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of function template specialization 'std::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 359 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:701:14: note: in instantiation of function template specialization 'std::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 701 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:717:19: note: in instantiation of function template specialization 'std::allocate_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 717 | return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(), Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:89:22: note: in instantiation of function template specialization 'std::make_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 89 | : _combiner(std::make_shared()), _sampler(NULL) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  | _sampler =/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning  Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/timer_thread.cpp:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from In file included from /src/brpc/src/bthread/semaphore.cpp:/src/brpc/src/bthread/rwlock.cpp20:: Step #30 - "compile-libfuzzer-undefined-x86_64": 19In file included from : Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bthread/bthread.hIn file included from :/src/brpc/src/bthread/rwlock.h32:: Step #30 - "compile-libfuzzer-undefined-x86_64": 22In file included from : Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bthread/mutex.hIn file included from :/src/brpc/src/bthread/bthread.h27:: Step #30 - "compile-libfuzzer-undefined-x86_64": 32In file included from : Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/utils/lock_timer.hIn file included from :/src/brpc/src/bthread/mutex.h28:: Step #30 - "compile-libfuzzer-undefined-x86_64": 27In file included from : Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.hIn file included from :/src/brpc/src/bvar/utils/lock_timer.h26:: Step #30 - "compile-libfuzzer-undefined-x86_64": 28: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.hIn file included from :/src/brpc/src/bvar/latency_recorder.h289::2616: Step #30 - "compile-libfuzzer-undefined-x86_64": : /src/brpc/src/bvar/detail/percentile.h:289warning: :first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]16: Step #30 - "compile-libfuzzer-undefined-x86_64": warning:  289 | memset(this, first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h :529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this m); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^e Step #30 - "compile-libfuzzer-undefined-x86_64": mset(t/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": his 289, 0, sizeof(*t | h is  ) ) ; m Step #30 - "compile-libfuzzer-undefined-x86_64": e m| se ^t( Step #30 - "compile-libfuzzer-undefined-x86_64": this, /src/brpc/src/bvar/detail/sampler.h:040:,16 : siznote: eoin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heref Step #30 - "compile-libfuzzer-undefined-x86_64": (*thi s)); Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.cpp:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/id.cpp:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<1022>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.cpp:64:55: note: in instantiation of member function 'bvar::detail::PercentileSamples<1022>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 64 | std::unique_ptr cb(new CombinedPercentileSamples); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^In file included from /src/brpc/src/bvar/collector.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27 Step #30 - "compile-libfuzzer-undefined-x86_64": : Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/window.h/src/brpc/src/bvar/latency_recorder.h::5326: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": :17: 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample< Step #30 - "compile-libfuzzer-undefined-x86_64": T> tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/sampler.h53: | 98 : 9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new _va sampler_type(thir->ops()); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": (v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: /src/brpc/src/bvar/detail/call_op_returning_void.hnote: :29explicitly cast the pointer to silence this warning:12 Step #30 - "compile-libfuzzer-undefined-x86_64": : note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | r e289t | u r n  o p ( vm1e,m sve2t)(;t Step #30 - "compile-libfuzzer-undefined-x86_64": h i| s ^, Step #30 - "compile-libfuzzer-undefined-x86_64": 0, si/src/brpc/src/bvar/detail/series.hz:e168o:f13:( *tnote: hiin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested heres Step #30 - "compile-libfuzzer-undefined-x86_64": )); Step #30 - "compile-libfuzzer-undefined-x86_64": | 168 ^ | Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64":  call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :162:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 162 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/execution_queue.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/execution_queue.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARIn file included from /src/brpc/src/bthread/bthread.cpp:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_control.hRAY(u:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": int32_t, tm 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | p, Sample() : data(), t rime_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": h| s ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tm.p; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": _n/src/brpc/src/bvar/detail/sampler.hu:m98_:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": samples 98 | ta,k e_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/fd.cpp:36: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :176:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 176 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :172:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 172 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": note: 132 | DEFINE_SMALL_ARRAY(uiin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herent Step #30 - "compile-libfuzzer-undefined-x86_64": 32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h: 426168:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": | 426 | char name#c#a_lslt_aocpk__raerray[sizeof(Ttpu) * nrniame##_stack_array_size];n g \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": _v/src/brpc/src/bvar/detail/percentile.ho:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": i 364 | getd_(interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": o p| , ^t Step #30 - "compile-libfuzzer-undefined-x86_64": mp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/key.cpp/src/brpc/src/bvar/detail/series.h::26116: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:/src/brpc/src/bvar/detail/percentile.h499::28912::16 : note: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64":  in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here289 | Step #30 - "compile-libfuzzer-undefined-x86_64": me m499s | e t(this, 0:16: , note: siin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested hereze Step #30 - "compile-libfuzzer-undefined-x86_64": of( *116 | t h is)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | return ap Sample b1.merge(b2);() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 Step #30 - "compile-libfuzzer-undefined-x86_64": pend_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :176:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 176 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :172:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 172 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :173:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 173 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :169:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 169 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": ( 132 | DEFINE_SMALLma_ARRAY(uint32_t, tmp, rhxsis._num_samples, 64z)e;) Step #30 - "compile-libfuzzer-undefined-x86_64": ? |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64":  n/src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": ame##_size :  426 | 0char name##_stack_array[size)of(Tp) * name##_stack_array_siz;e] \ Step #30 - "compile-libfuzzer-undefined-x86_64": ; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64":  | /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 364 |  get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :153:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 153 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :149:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 149 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/butex.cpp:35: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :164:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 164 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :160:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 160 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size[ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": ]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": DEFINE 132 | _SM ALL DEFINE_SMALL_A_ARRAY(2u warningisn generatedt. Step #30 - "compile-libfuzzer-undefined-x86_64": 32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :170:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 170 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": RR| ^ Step #30 - "compile-libfuzzer-undefined-x86_64": AY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :164:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 164 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :160:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 160 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 599 | DEFINE_SMALL_ARRAY(int, nums, ngroup, 128); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: initializer of 'nums_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :111:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 111 | nums_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :107:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 107 | nums_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | classIn file included from /src/brpc/src/bthread/mutex.cpp:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:  Latenwarning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": cyRecorderBas 289 | memsete(this, { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 0, sizeof/src/brpc/src/bvar/detail/percentile.h(*th:132i:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": s 132 | DEFINE_SMALL_ARRAY(uint32_t,));  Step #30 - "compile-libfuzzer-undefined-x86_64": tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42:  |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h 426 | :40:16: char name##_stack_array[sizeof(Tp) * name##note: _stackin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | _Saarmpleray() : dat_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": | a ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ():, 164:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": t 164 | tmime_up_stack_array_ss(iz0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23:e  Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: /src/brpc/src/bvar/detail/percentile.h:132:13: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": note: declared here 116 Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425: | 20: note:  expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": Sa 425 | mple tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereconst unsig Step #30 - "compile-libfuzzer-undefined-x86_64": ned 98 |  name##_stack _array_size = (name##_size <= (max take_sasizemple()) ? ;n Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": a/src/brpc/src/bvar/detail/percentile.h:529:m28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested heree##_s Step #30 - "compile-libfuzzer-undefined-x86_64": ize 529 | : 0 ) _sam; pler\ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :160:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": = ne160 | tmpw_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64":  | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return appIn file included from /src/brpc/src/bthread/task_control.cpp:34: Step #30 - "compile-libfuzzer-undefined-x86_64": enIn file included from /src/brpc/src/bthread/task_group.h:26d_: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": sec ond(value,289 | _ o memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": p); Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": | 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :195:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 195 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :191:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 191 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:377:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 377 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:379:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 379 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:381:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 381 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:383:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 383 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:385:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 385 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:387:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 387 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:389:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 389 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:391:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 391 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:393:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 393 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:395:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 395 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:397:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 397 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings/src/brpc/src/bvar/window.h generated:. Step #30 - "compile-libfuzzer-undefined-x86_64": 65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :160:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 160 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :156:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 156 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flags_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flot_min_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_favicon_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_group.cpp:36: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/grpc_health_check_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :170:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 170 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase {2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :189:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 189 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :185:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 185 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/acceptor.cpp:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/acceptor.h:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/adaptive_max_concurrency.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :222:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 222 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :218:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 218 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.h:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/method_status.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/memory_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/bthreads_service.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 12 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_perl.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :176:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 176 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :172:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 172 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/prometheus_metrics_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _d2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": ata.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/common.cpp:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sorttable_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/dir_service.cpp:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/threads_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :199:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 199 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :195:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 195 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/get_favicon_service.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/flags_service.cpp:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/bad_method_service.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (In file included from /src/brpc/src/brpc/builtin/get_js_service.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": maxs 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": ize) ? n| ame##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64":  ^ 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | In file included from /src/brpc/src/brpc/builtin/connections_service.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26 : Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:  warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : da ta(), time_us(0) {} D Step #30 - "compile-libfuzzer-undefined-x86_64": E F| I ^N Step #30 - "compile-libfuzzer-undefined-x86_64": E/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": _S 116 | MALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Sample tm Step #30 - "compile-libfuzzer-undefined-x86_64": p ;|  Step #30 - "compile-libfuzzer-undefined-x86_64": ^ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | /src/brpc/src/bvar/detail/sampler.h:98:9 char name##_stack_array:[sizeof note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": (Tp) * 98 | name##_stack_array_size] take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219/src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | | t m p _s t a _cskamp_laerr =r naey_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: w sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const uns/src/brpc/src/bvar/detail/percentile.h:289:16:igned name##_st note: acexplicitly cast the pointer to silence this warningk_ Step #30 - "compile-libfuzzer-undefined-x86_64": a rray_289s | i z e = (n a mmee#m#s_esti(zet h:215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/viz_min_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :229:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 229 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :225:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 225 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/ids_service.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/cluster_recover_policy.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/compress.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/health_service.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/grpc_health_check_service.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/couchbase.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/index_service.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :240:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 240 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :236:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 236 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/hotspots_service.cpp:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/list_service.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :16:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 16 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :12:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 12 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :50:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 50 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :46:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 46 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/load_balancer_with_naming.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/memory_service.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/pprof_service.cpp:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/protobufs_service.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :250:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 250 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :246:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 246 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/naming_service_thread.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/sockets_service.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/threads_service.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/prometheus_metrics_service.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(),