starting build "c625fd01-12b9-44b5-9037-3e2124a39c0d" 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-b96d6fef-271c-443a-994c-5a862a46e5c1" Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Already have image (with digest): gcr.io/cloud-builders/docker Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Sending build context to Docker daemon 3.584kB Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": latest: Pulling from oss-fuzz-base/base-builder Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b549f31133a9: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": cad0867f0297: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 5d07bc49990e: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 21aae50984bf: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 2b5f5f715028: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": fb6a199bc10f: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 1c207e5b0063: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": caf57254f43a: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 1462b1d00e14: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 540ea4dfdceb: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 8fdd4b5faaa9: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 40d7bc1ff8c7: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": d2eb4100ded1: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 156a283b0470: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": e9658ec5255e: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c4e6646538bb: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 6939a674b517: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 003b03fbacbd: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 58292fae4de9: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b06c7963df6e: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 2b5f5f715028: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b6ae7f0c1d24: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 1462b1d00e14: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 21aae50984bf: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 551029df1c46: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 2f5903485cae: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 60671fdd34b1: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c1a14989bf3a: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 10a7a3f93f2d: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 22ef1e73dafd: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c9621467b9f7: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 6e67e1dc3fc0: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 8fdd4b5faaa9: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b9c4ff0b77c8: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 155c2dfe5c67: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 40d7bc1ff8c7: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b5f1ebb46627: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 2f5903485cae: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": e959da9f743c: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": d2eb4100ded1: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 6939a674b517: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b6ae7f0c1d24: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 60671fdd34b1: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c1a14989bf3a: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c66a5b9ffa39: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 1c207e5b0063: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 10a7a3f93f2d: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 0f4fc2b4c404: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b9c4ff0b77c8: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 780b129705e7: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b06c7963df6e: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c4e6646538bb: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": a9144c235512: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": e16fcfe620a9: Pulling fs layer Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 155c2dfe5c67: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": fb6a199bc10f: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b5f1ebb46627: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": e959da9f743c: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": caf57254f43a: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 551029df1c46: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c66a5b9ffa39: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 0f4fc2b4c404: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 780b129705e7: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": e16fcfe620a9: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c9621467b9f7: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": a9144c235512: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 156a283b0470: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 6e67e1dc3fc0: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 58292fae4de9: Waiting Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 5d07bc49990e: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 5d07bc49990e: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b549f31133a9: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b549f31133a9: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 2b5f5f715028: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 2b5f5f715028: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 21aae50984bf: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 21aae50984bf: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 1c207e5b0063: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 1c207e5b0063: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": cad0867f0297: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": cad0867f0297: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": caf57254f43a: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": caf57254f43a: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b549f31133a9: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 540ea4dfdceb: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 540ea4dfdceb: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 8fdd4b5faaa9: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 8fdd4b5faaa9: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 40d7bc1ff8c7: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 40d7bc1ff8c7: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": d2eb4100ded1: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": d2eb4100ded1: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 156a283b0470: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 156a283b0470: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 1462b1d00e14: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 1462b1d00e14: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": e9658ec5255e: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": e9658ec5255e: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c4e6646538bb: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 6939a674b517: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 6939a674b517: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 003b03fbacbd: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 003b03fbacbd: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 58292fae4de9: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 58292fae4de9: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b06c7963df6e: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b06c7963df6e: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b6ae7f0c1d24: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b6ae7f0c1d24: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 551029df1c46: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 551029df1c46: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 2f5903485cae: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 2f5903485cae: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 60671fdd34b1: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 10a7a3f93f2d: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c1a14989bf3a: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c1a14989bf3a: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c9621467b9f7: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c9621467b9f7: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 22ef1e73dafd: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 6e67e1dc3fc0: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 6e67e1dc3fc0: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b9c4ff0b77c8: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b9c4ff0b77c8: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 155c2dfe5c67: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 155c2dfe5c67: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": cad0867f0297: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 5d07bc49990e: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": fb6a199bc10f: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": fb6a199bc10f: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b5f1ebb46627: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": e959da9f743c: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c66a5b9ffa39: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c66a5b9ffa39: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 780b129705e7: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 780b129705e7: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 0f4fc2b4c404: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 0f4fc2b4c404: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": a9144c235512: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": a9144c235512: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": e16fcfe620a9: Verifying Checksum Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": e16fcfe620a9: Download complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 21aae50984bf: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 2b5f5f715028: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": fb6a199bc10f: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 1c207e5b0063: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": caf57254f43a: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 1462b1d00e14: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 540ea4dfdceb: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 8fdd4b5faaa9: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 40d7bc1ff8c7: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": d2eb4100ded1: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 156a283b0470: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": e9658ec5255e: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c4e6646538bb: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 6939a674b517: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 003b03fbacbd: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 58292fae4de9: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b06c7963df6e: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b6ae7f0c1d24: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 551029df1c46: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 2f5903485cae: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 60671fdd34b1: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c1a14989bf3a: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 10a7a3f93f2d: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 22ef1e73dafd: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c9621467b9f7: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 6e67e1dc3fc0: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b9c4ff0b77c8: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 155c2dfe5c67: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": b5f1ebb46627: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": e959da9f743c: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": c66a5b9ffa39: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 0f4fc2b4c404: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 780b129705e7: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": a9144c235512: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": e16fcfe620a9: Pull complete Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Digest: sha256:8fc5606cec35d1cab8811d4eb15e44698bbd03e93eaafd3012d6e6231b2ff825 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": ---> 0439b55c80f1 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 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-b96d6fef-271c-443a-994c-5a862a46e5c1": ---> Running in 47b50507668e Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Reading package lists... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Reading package lists... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Building dependency tree... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Reading state information... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": The following packages were automatically installed and are no longer required: Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": autotools-dev libsigsegv2 m4 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Use 'apt autoremove' to remove them. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": The following additional packages will be installed: Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": cmake-data googletest libarchive13 libgflags2.2 libgoogle-perftools4 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": libicu66 libjsoncpp1 libleveldb1d liblzma-dev libprotobuf-lite17 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": libprotobuf17 libprotoc17 librhash0 libsnappy1v5 libtcmalloc-minimal4 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": libunwind-dev libunwind8 libuv1 libxml2 zlib1g-dev Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Suggested packages: Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": cmake-doc ninja-build lrzip leveldb-doc liblzma-doc Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": The following NEW packages will be installed: Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": cmake cmake-data googletest libarchive13 libgflags-dev libgflags2.2 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": libgoogle-perftools-dev libgoogle-perftools4 libgtest-dev libicu66 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": libjsoncpp1 libleveldb-dev libleveldb1d liblzma-dev libprotobuf-dev Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": libprotobuf-lite17 libprotobuf17 libprotoc-dev libprotoc17 librhash0 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": libsnappy-dev libsnappy1v5 libtcmalloc-minimal4 libunwind-dev libunwind8 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": libuv1 libxml2 protobuf-compiler zlib1g-dev Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Need to get 22.9 MB of archives. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": After this operation, 123 MB of additional disk space will be used. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu66 amd64 66.1-2ubuntu2.1 [8515 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 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-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libuv1 amd64 1.34.2-1ubuntu1.5 [80.9 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 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-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libarchive13 amd64 3.4.0-2ubuntu1.5 [327 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 libjsoncpp1 amd64 1.7.4-3.1ubuntu2 [75.6 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 librhash0 amd64 1.3.9-1 [113 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 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-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:9 http://archive.ubuntu.com/ubuntu focal/universe amd64 googletest all 1.10.0-2 [623 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:10 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgflags2.2 amd64 2.2.2-1build1 [78.0 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:11 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgflags-dev amd64 2.2.2-1build1 [96.6 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 libtcmalloc-minimal4 amd64 2.7-1ubuntu2 [93.0 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libunwind8 amd64 1.2.1-9ubuntu0.1 [47.7 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:14 http://archive.ubuntu.com/ubuntu focal/main amd64 libgoogle-perftools4 amd64 2.7-1ubuntu2 [195 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 liblzma-dev amd64 5.2.4-1ubuntu1.1 [147 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libunwind-dev amd64 1.2.1-9ubuntu0.1 [472 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:17 http://archive.ubuntu.com/ubuntu focal/main amd64 libgoogle-perftools-dev amd64 2.7-1ubuntu2 [445 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:18 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgtest-dev amd64 1.10.0-2 [1583 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:19 http://archive.ubuntu.com/ubuntu focal/main amd64 libsnappy1v5 amd64 1.1.8-1build1 [16.7 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:20 http://archive.ubuntu.com/ubuntu focal/main amd64 libleveldb1d amd64 1.22-3ubuntu2 [139 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:21 http://archive.ubuntu.com/ubuntu focal/main amd64 libleveldb-dev amd64 1.22-3ubuntu2 [191 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 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-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotobuf17 amd64 3.6.1.3-2ubuntu5.2 [798 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:24 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotoc17 amd64 3.6.1.3-2ubuntu5.2 [646 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 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-b96d6fef-271c-443a-994c-5a862a46e5c1": 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-b96d6fef-271c-443a-994c-5a862a46e5c1": 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-b96d6fef-271c-443a-994c-5a862a46e5c1": Get:28 http://archive.ubuntu.com/ubuntu focal/main amd64 libsnappy-dev amd64 1.1.8-1build1 [29.0 kB] Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": 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-b96d6fef-271c-443a-994c-5a862a46e5c1": debconf: delaying package configuration, since apt-utils is not installed Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Fetched 22.9 MB in 5s (4644 kB/s) Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libicu66:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": (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-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../00-libicu66_66.1-2ubuntu2.1_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libxml2:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../01-libxml2_2.9.10+dfsg-5ubuntu0.20.04.10_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.10) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libuv1:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../02-libuv1_1.34.2-1ubuntu1.5_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package cmake-data. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../03-cmake-data_3.16.3-1ubuntu1.20.04.1_all.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libarchive13:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../04-libarchive13_3.4.0-2ubuntu1.5_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libarchive13:amd64 (3.4.0-2ubuntu1.5) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libjsoncpp1:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../05-libjsoncpp1_1.7.4-3.1ubuntu2_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package librhash0:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../06-librhash0_1.3.9-1_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking librhash0:amd64 (1.3.9-1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package cmake. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../07-cmake_3.16.3-1ubuntu1.20.04.1_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package googletest. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../08-googletest_1.10.0-2_all.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking googletest (1.10.0-2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libgflags2.2. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../09-libgflags2.2_2.2.2-1build1_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libgflags2.2 (2.2.2-1build1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libgflags-dev. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../10-libgflags-dev_2.2.2-1build1_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libgflags-dev (2.2.2-1build1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libtcmalloc-minimal4:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../11-libtcmalloc-minimal4_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libtcmalloc-minimal4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libunwind8:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../12-libunwind8_1.2.1-9ubuntu0.1_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libunwind8:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libgoogle-perftools4:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../13-libgoogle-perftools4_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libgoogle-perftools4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package liblzma-dev:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../14-liblzma-dev_5.2.4-1ubuntu1.1_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libunwind-dev:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../15-libunwind-dev_1.2.1-9ubuntu0.1_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libunwind-dev:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libgoogle-perftools-dev:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../16-libgoogle-perftools-dev_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libgoogle-perftools-dev:amd64 (2.7-1ubuntu2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libgtest-dev:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../17-libgtest-dev_1.10.0-2_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libgtest-dev:amd64 (1.10.0-2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libsnappy1v5:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../18-libsnappy1v5_1.1.8-1build1_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libsnappy1v5:amd64 (1.1.8-1build1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libleveldb1d:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../19-libleveldb1d_1.22-3ubuntu2_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libleveldb1d:amd64 (1.22-3ubuntu2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libleveldb-dev:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../20-libleveldb-dev_1.22-3ubuntu2_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libleveldb-dev:amd64 (1.22-3ubuntu2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libprotobuf-lite17:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../21-libprotobuf-lite17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libprotobuf-lite17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libprotobuf17:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../22-libprotobuf17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libprotobuf17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libprotoc17:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../23-libprotoc17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libprotoc17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package zlib1g-dev:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../24-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu1.5_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libprotobuf-dev:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../25-libprotobuf-dev_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libprotobuf-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libprotoc-dev:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../26-libprotoc-dev_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libprotoc-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package libsnappy-dev:amd64. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../27-libsnappy-dev_1.1.8-1build1_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking libsnappy-dev:amd64 (1.1.8-1build1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Selecting previously unselected package protobuf-compiler. Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Preparing to unpack .../28-protobuf-compiler_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Unpacking protobuf-compiler (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libprotobuf-lite17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libtcmalloc-minimal4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libunwind8:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up googletest (1.10.0-2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libsnappy1v5:amd64 (1.1.8-1build1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up librhash0:amd64 (1.3.9-1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libprotobuf17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.10) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libgoogle-perftools4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libgflags2.2 (2.2.2-1build1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libleveldb1d:amd64 (1.22-3ubuntu2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libprotoc17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libgtest-dev:amd64 (1.10.0-2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libunwind-dev:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up protobuf-compiler (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libleveldb-dev:amd64 (1.22-3ubuntu2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libarchive13:amd64 (3.4.0-2ubuntu1.5) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libgoogle-perftools-dev:amd64 (2.7-1ubuntu2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libsnappy-dev:amd64 (1.1.8-1build1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libprotobuf-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libgflags-dev (2.2.2-1build1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up libprotoc-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Setting up cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Processing triggers for libc-bin (2.31-0ubuntu9.18) ... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Removing intermediate container 47b50507668e Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": ---> d0b75292f4dd Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Step 3/5 : RUN git clone --depth 1 https://github.com/apache/brpc.git Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": ---> Running in e2deedbf01a1 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Cloning into 'brpc'... Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Removing intermediate container e2deedbf01a1 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": ---> 14adaa83b801 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Step 4/5 : RUN cp $SRC/brpc/test/fuzzing/oss-fuzz.sh $SRC/build.sh Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": ---> Running in d1f83f81af89 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Removing intermediate container d1f83f81af89 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": ---> f066f698ffcf Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Step 5/5 : WORKDIR $SRC/brpc/ Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": ---> Running in a65699ba39c6 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Removing intermediate container a65699ba39c6 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": ---> 92f943f87940 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Successfully built 92f943f87940 Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Successfully tagged gcr.io/oss-fuzz/brpc:latest Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1": Successfully tagged us-central1-docker.pkg.dev/oss-fuzz/unsafe/brpc:latest Finished Step #1 - "build-b96d6fef-271c-443a-994c-5a862a46e5c1" Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/brpc Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileCaooXO 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=2b757e97d979802cc2f4419bc43b3a9e1072ed3d Step #2 - "srcmap": + jq_inplace /tmp/fileCaooXO '."/src/brpc" = { type: "git", url: "https://github.com/apache/brpc.git", rev: "2b757e97d979802cc2f4419bc43b3a9e1072ed3d" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileIchadb Step #2 - "srcmap": + cat /tmp/fileCaooXO Step #2 - "srcmap": + jq '."/src/brpc" = { type: "git", url: "https://github.com/apache/brpc.git", rev: "2b757e97d979802cc2f4419bc43b3a9e1072ed3d" }' Step #2 - "srcmap": + mv /tmp/fileIchadb /tmp/fileCaooXO 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/fileCaooXO Step #2 - "srcmap": + rm /tmp/fileCaooXO 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": "2b757e97d979802cc2f4419bc43b3a9e1072ed3d" 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 (4.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 brpc/builtin_service.pb.h, brpc/builtin_service.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/errno.pb.h, brpc/errno.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 addressbook1.pb.h, addressbook1.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 brpc/grpc_health_check.pb.h, brpc/grpc_health_check.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": [ 2%] Generating addressbook_map.pb.h, addressbook_map.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/options.pb.h, brpc/options.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 brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.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 grpc.pb.h, grpc.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/mongo.pb.h, brpc/policy/mongo.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/public_pbrpc_meta.pb.h, brpc/policy/public_pbrpc_meta.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 v1.pb.h, v1.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/proto_base.pb.h, brpc/proto_base.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 v2.pb.h, v2.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/rtmp.pb.h, brpc/rtmp.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": [ 5%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] 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": [ 5%] 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": [ 5%] 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": [ 5%] 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": [ 5%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #3 - "compile-afl-address-x86_64": [ 5%] 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": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #3 - "compile-afl-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #3 - "compile-afl-address-x86_64": [ 5%] 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": [ 8%] 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": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] 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 CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] 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.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_encode_decode.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/TEST_PROTO_LIB.dir/addressbook_map.pb.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/guid_posix.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/lazy_instance.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.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/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] 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": [ 24%] 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": [ 24%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.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": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] 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": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] 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": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] 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": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #3 - "compile-afl-address-x86_64": [ 32%] 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": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] 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": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #3 - "compile-afl-address-x86_64": [ 37%] 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": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] 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/threading/platform_thread_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 40%] 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": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_js.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.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": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/sofa_pbrpc_meta.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": /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": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.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::min(_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": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/streaming_rpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] 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": [ 45%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 45%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 45%] 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": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] 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": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] 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/mutex.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/rwlock.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] 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/json_to_pb.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": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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: In file included from /src/brpc/src/bthread/semaphore.cpp:note: 20: Step #3 - "compile-afl-address-x86_64": expanded from here Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h :13032 | tmp_st: Step #3 - "compile-afl-address-x86_64": aIn file included from c/src/brpc/src/bthread/mutex.hk_arra:y27_size: 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 Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | memset(this, 0, sizeof(*thIn file included from is)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*)/src/brpc/src/bvar/detail/percentile.cpp:20: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16 Step #3 - "compile-afl-address-x86_64": : 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": 247 | 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:227:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 227 | 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::Percentile::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::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::Percentile::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::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::Percentile::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::AddPercentileSamples>>>' requested here Step #3 - "compile-afl-address-x86_64": 359 | : __shared_ptr<_Tp>(__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:701:14: note: in instantiation of function template specialization 'std::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::AddPercentileSamples>>>' requested here Step #3 - "compile-afl-address-x86_64": 701 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, 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::Percentile::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::AddPercentileSamples>>>' requested here Step #3 - "compile-afl-address-x86_64": 717 | return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(), Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-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::Percentile::AddPercentileSamples>>' requested here Step #3 - "compile-afl-address-x86_64": 89 | : _combiner(std::make_shared()), _sampler(NULL) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:247: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": 247 | 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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: /src/brpc/src/bthread/task_control.cppin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here:516 Step #3 - "compile-afl-address-x86_64": :5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 322 | 516 | 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 | g e t _icnhtaerrv anla_mate(##i_)s.tmaecrkg_ea(r*rrahys[._siinzteeorfva(lTsp[)i ]*) ;na Step #3 - "compile-afl-address-x86_64": m e| ## ^_ Step #3 - "compile-afl-address-x86_64": stack_/src/brpc/src/bvar/detail/percentile.ha:r454r:a16y:_ siznote: e]in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here; Step #3 - "compile-afl-address-x86_64": \ Step #3 - "compile-afl-address-x86_64": 454 | |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/bthread/task_control.cpp : 516 : 5b:1 .menote: rginitializer of 'nums_stack_array_size' is not a constant expressione( Step #3 - "compile-afl-address-x86_64": b2)/src/brpc/src/butil/macros.h;:426 Step #3 - "compile-afl-address-x86_64": : 42| : ^ Step #3 - "compile-afl-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY'/src/brpc/src/bvar/window.h Step #3 - "compile-afl-address-x86_64": :53:17:  note: 426 | in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here  Step #3 - "compile-afl-address-x86_64": ch a53 | r  n a m e # # _ s t a c k _ a r_rvaayr[->soipz(e)o(fv1(,T pv)2 )*; n Step #3 - "compile-afl-address-x86_64": a m| e# ^# Step #3 - "compile-afl-address-x86_64": _stac/src/brpc/src/bvar/detail/call_op_returning_void.hk:_29a:r12r:a y_snote: izin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested heree] Step #3 - "compile-afl-address-x86_64": ; 29 | \  Step #3 - "compile-afl-address-x86_64": | re ^t Step #3 - "compile-afl-address-x86_64": urn :o96p:(1v:1 , vnote: 2)expanded from 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/detail/series.h:168:13:  note: 96 | in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herenu Step #3 - "compile-afl-address-x86_64": ms_stack_arra y168_ | s i z e  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  ca/src/brpc/src/bthread/task_control.cppl:l516:5_:o p_rnote: etdeclared hereur Step #3 - "compile-afl-address-x86_64": nin/src/brpc/src/butil/macros.hg:_425v:o20i:d (opnote: , expanded from macro 'DEFINE_SMALL_ARRAY'tm Step #3 - "compile-afl-address-x86_64": p, _dat a425. | s e c o ndc(oin)s)t; Step #3 - "compile-afl-address-x86_64":  u| ns ^i Step #3 - "compile-afl-address-x86_64": gned /src/brpc/src/bvar/detail/series.hn:a116m:e16#:# _stnote: acin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herek_ Step #3 - "compile-afl-address-x86_64": array_s i116z | e = ( n a m e#r#e_tsuirzne :92:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 92 | nums_stack_arrnote: ayin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64":  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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/bvar/collector.cpp:24: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | /src/brpc/src/bvar/detail/percentile.h: 247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": DEFIN 247 | E _ S memseMAt(thLLi_AsRR,A Y(0ui,n t3s2i_zte,o ft(*mp, trhis)hs).; Step #3 - "compile-afl-address-x86_64": _n| um ^_ Step #3 - "compile-afl-address-x86_64": sa m| pl (void*)e 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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_In file included from u/src/brpc/src/bthread/fd.cpps:(36: Step #3 - "compile-afl-address-x86_64": 0In file included from /src/brpc/src/bthread/task_group.h) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h/src/brpc/src/bvar/detail/sampler.h::34116: Step #3 - "compile-afl-address-x86_64": :In file included from 23/src/brpc/src/bvar/bvar.h:: 27: Step #3 - "compile-afl-address-x86_64": In file included from note: /src/brpc/src/bvar/latency_recorder.h:in instantiation of member function 'bvar::detail::Sample>::Sample' requested here26: Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h :116247 | : 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": Sample tmp; 247 Step #3 - "compile-afl-address-x86_64": | | In file included from ^/src/brpc/src/bthread/bthread.cpp Step #3 - "compile-afl-address-x86_64": :  28 : Step #3 - "compile-afl-address-x86_64": In file included from m/src/brpc/src/bvar/detail/sampler.h/src/brpc/src/bthread/task_group.he::m2698s: Step #3 - "compile-afl-address-x86_64": :In file included from e9/src/brpc/src/bthread/task_control.ht::(34 : Step #3 - "compile-afl-address-x86_64": tIn file included from hnote: /src/brpc/src/bvar/bvar.hi:sin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here27: Step #3 - "compile-afl-address-x86_64": , Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:026 : Step #3 - "compile-afl-address-x86_64": 98, | /src/brpc/src/bvar/detail/percentile.h : s247 i: z16 e: o f t(warning: a*ketfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]_hsia Step #3 - "compile-afl-address-x86_64": smp)l)e;() Step #3 - "compile-afl-address-x86_64": ;247  | | Step #3 - "compile-afl-address-x86_64":  ^| Step #3 - "compile-afl-address-x86_64":   ^ Step #3 - "compile-afl-address-x86_64":  m/src/brpc/src/bvar/detail/percentile.he:m/src/brpc/src/bvar/detail/sampler.h476s::e4028t::(16 : thnote: inote: sin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested herein instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here, Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 0, 40s | i z e o fSa(m*p lt476eh | ( i) s : ) )d; a t Step #3 - "compile-afl-address-x86_64": a (| ) , ^ Step #3 - "compile-afl-address-x86_64": _time_us(0) s{}am Step #3 - "compile-afl-address-x86_64": p /src/brpc/src/bvar/detail/sampler.hl| :e40r ^: Step #3 - "compile-afl-address-x86_64": 16= : ne/src/brpc/src/bvar/detail/sampler.hnote: w:116 :s23a:m plenote: r_in instantiation of member function 'bvar::detail::Sample>::Sample' requested heretype Step #3 - "compile-afl-address-x86_64": (this); Step #3 - "compile-afl-address-x86_64": | 116 | ^ Step #3 - "compile-afl-address-x86_64":  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::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247 98:16 :40 |   note:  explicitly cast the pointer to silence this warningSa Step #3 - "compile-afl-address-x86_64": mple() : d 247 | memset(this, 0, sizeof(*tahtias()),) ;ti Step #3 - "compile-afl-address-x86_64": m e| _u ^s Step #3 - "compile-afl-address-x86_64": ( 0| ) (void*) 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: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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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":  | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/task_control.cpp:32: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": [ 59%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 | retur/src/brpc/src/bvar/detail/percentile.h:129:13:n  awarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": ppend_second 129 | (v alu e ,D E_FoIpN)E; Step #3 - "compile-afl-address-x86_64": | _ ^S Step #3 - "compile-afl-address-x86_64": M/src/brpc/src/bvar/window.h:A65L:L25_: ARRnote: Ain instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": Y(u 65i | _series.appennd(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": | t32_t, tmp ^ Step #3 - "compile-afl-address-x86_64": , rhs._num_samp/src/brpc/src/bvar/window.h:58:les, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:299: note: expanded from macro 'DEFINE_SMALL_ARRAY' 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": 426 | 58 |  c SeriesSamplerh(WindowBaarse* own er, R* var) Step #3 - "compile-afl-address-x86_64": n |  ^ Step #3 - "compile-afl-address-x86_64": a/src/brpc/src/bvar/window.h:151:35: me##_stack_array[note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": sizeof(Tp) * 151 | n a m e #_#series_s_stack_arrampay_size];l er = 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: \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 32249 | | class Lat enc y R eget_interval_at(i).mcorderBase { Step #3 - "compile-afl-address-x86_64": erge(*rhs._intervals |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:[129i: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":  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: 129 | note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": DEFINE_SM454 | ALL_A RRAY(u i n t 3 2b_1t.,m etrmgpe,( br2h)s;._ Step #3 - "compile-afl-address-x86_64": n u| m ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17:_ samnote: plin instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested herees Step #3 - "compile-afl-address-x86_64": , 64); Step #3 - "compile-afl-address-x86_64": 53 | |  ^ Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/butil/macros.h : 426 : 42 : _vanote: rexpanded from macro 'DEFINE_SMALL_ARRAY'-> Step #3 - "compile-afl-address-x86_64": op ()(v1426, | v 2 ) ;  Step #3 - "compile-afl-address-x86_64": c h| ar ^ Step #3 - "compile-afl-address-x86_64": name##_st/src/brpc/src/bvar/detail/call_op_returning_void.hac:k29_:a12r:r ay[note: sin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereiz Step #3 - "compile-afl-address-x86_64": e of(Tp)29 | * n a mere#t#u_rsnta cko_pa(rvr1, v2a)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": | /src/brpc/src/bvar/detail/series.h ^: Step #3 - "compile-afl-address-x86_64": 168:13: :note: 161:in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_ Step #3 - "compile-afl-address-x86_64": 168 | call_op_returnistack_arng_void(op, tmp, _data.sray_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.hecond(i)); Step #3 - "compile-afl-address-x86_64": :129: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 u|  ^ 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, _onsigned name##_stack_array_sp); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65ize = (name##_size <= (maxsize) ? n: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 | ame##_size : _series.app0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: end(_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:9note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_s: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | ize Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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": Se:173:ri1e:sS ampler(WindowBase* owner, note: R*expanded from here Step #3 - "compile-afl-address-x86_64": var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 173 | tmp_/src/brpc/src/bvar/window.hs:t151a:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | c k _ a r r a _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": y_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129: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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.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/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:247: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": 247 | 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 | [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #3 - "compile-afl-address-x86_64": 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": [ 59%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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: /src/brpc/src/bvar/detail/percentile.h:129note: :13in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here: 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": 29 | 129 | re tu 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 | rn 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 char name##_stac_void(op, tmp, _k_array[sizeof(Tp)data.secon/src/brpc/src/mcpack2pb/serializer.cppd(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(WindowB *: 317na:m38e:# #_swarning: tacvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]k_ Step #3 - "compile-afl-address-x86_64": a 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:317:38: note: initializer of 'cur_batch' is not a constant expression 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": rasraye* _owner, R*siz eva];r)  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":   \/src/brpc/src/bvar/window.h Step #3 - "compile-afl-address-x86_64": :151:35: note: 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 | /src/brpc/src/bvar/detail/percentile.h:322 _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": :36/src/brpc/src/bvar/detail/percentile.h:129::13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64":  129 | note:  in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereDE Step #3 - "compile-afl-address-x86_64": FINE_SM ALL_ARRAY(uint32_t, tmp, rhs._n322um_sam | ples, 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_arra y[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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmpg, rhs._net_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:454:16: um_note: sain instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": mpl 454e | s , b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^6 Step #3 - "compile-afl-address-x86_64": 4);/src/brpc/src/bvar/window.h Step #3 - "compile-afl-address-x86_64": : 53| :17 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: Step #3 - "compile-afl-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64":  53 | /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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": t/src/brpc/src/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(mp, v1, v2r);h Step #3 - "compile-afl-address-x86_64": s .| _n ^um Step #3 - "compile-afl-address-x86_64": _samp/src/brpc/src/bvar/detail/series.h:168l:e13s:, 6note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here4 Step #3 - "compile-afl-address-x86_64": );  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 168 |  ca/src/brpc/src/butil/macros.hll:_op_returning_426vo:i42d:( op, tmp,note: _data.secexpanded from macro 'DEFINE_SMALL_ARRAY'ond(i)); 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: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": 426 | 116 |  return ap pend_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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 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:129: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": [ 59%] 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/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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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(Windo/src/brpc/src/bvar/detail/percentile.hw:B129a:s13e:* owarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": wner, 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(thi 129s, _var); Step #3 - "compile-afl-address-x86_64": | |  ^ Step #3 - "compile-afl-address-x86_64":  DE/src/brpc/src/bvar/latency_recorder.hFI:N49E:_7S:M ALL_ARnote: RAin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereY(u Step #3 - "compile-afl-address-x86_64": i nt32_t, t49m | p,c lrahsss._ nLuamt_esnacmypRleecso,r de6r4Ba)s;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/butil/macros.h:426:29/src/brpc/src/bvar/detail/percentile.h:: 129:13note: : expanded from macro 'DEFINE_SMALL_ARRAY' 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": 129 | 426 | D E FIcNhEa_rSM AnLaLm_eA#R#R_AsYt(aucikn_ta3r2r_ayt[, stimzpe, orfhs(.T_pn)u m*_ snaammpel#e#s_,s t64a)c;k_ Step #3 - "compile-afl-address-x86_64": a r| ra ^y Step #3 - "compile-afl-address-x86_64": _size]/src/brpc/src/butil/macros.h;: 426 : \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": 42: note: /src/brpc/src/bvar/detail/percentile.hexpanded from macro 'DEFINE_SMALL_ARRAY':322 Step #3 - "compile-afl-address-x86_64": : 36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_322ar | r a y [  s i z e o f  ge(tT_pi)n t*e rnvaamle#_at(#i_)s.tmaecrkg_ea(r*rrahys_.s_iizen]t;e r v als[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 \ 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:129: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":  | _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 59%] 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": [ 62%] 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": [ 62%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": | [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_service.cpp.o 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_service.cpp.o 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/ids_service.cpp.o 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/index_service.cpp.o 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/jquery_min_js.cpp.o Step #3 - "compile-afl-address-x86_64": [ 62%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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.hme:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:mset37(this, 0, sizeof(*this));: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h Step #3 - "compile-afl-address-x86_64": | :25: Step #3 - "compile-afl-address-x86_64": In file included from ^ Step #3 - "compile-afl-address-x86_64":  | /src/brpc/src/brpc/versioned_ref_with_id.h: (void*)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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/memory_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | 2 warnings _var->op generated(. Step #3 - "compile-afl-address-x86_64": )(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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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": In file included from 161 | tmp_stack_/src/brpc/src/brpc/builtin/bthreads_service.cpp:19: Step #3 - "compile-afl-address-x86_64": aIn 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:247: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": rray_size Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: note: declared here247 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 | cons t  meunsigned name##_stack_array_simseze = (nt(this,ame##_ 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 | t0mp_st,ack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64":  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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_perl.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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]; 2 warnings generated. Step #3 - "compile-afl-address-x86_64": \ 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:129: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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/common.cpp:28: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op(2)(v1, warningsv generated. Step #3 - "compile-afl-address-x86_64": 2); 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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[ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/prometheus_metrics_service.cpp.o Step #3 - "compile-afl-address-x86_64": _stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129: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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_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/sorttable_js.cpp.o Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": | In file included from  ^ Step #3 - "compile-afl-address-x86_64": /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/src/brpc/src/bvar/detail/sampler.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:247: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": 247 | : 40 m:emset(thi16s: , 0, sizeof(*this)); 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": ^ Step #3 - "compile-afl-address-x86_64":  40/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_usS(a0) m{p}le Step #3 - "compile-afl-address-x86_64": ( )| : ^ Step #3 - "compile-afl-address-x86_64": dat/src/brpc/src/bvar/detail/sampler.ha:(116):,23 :t imenote: _uin instantiation of member function 'bvar::detail::Sample>::Sample' requested heres( Step #3 - "compile-afl-address-x86_64": 0) 116 | { }  Step #3 - "compile-afl-address-x86_64": Sample< T> tmp; 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: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116: 2398 | :  note: tin instantiation of member function 'bvar::detail::Sample>::Sample' requested herea Step #3 - "compile-afl-address-x86_64": ke_ 116 | sampl e (); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | S _ample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ampler = /src/brpc/src/bvar/detail/sampler.h:98:n9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": ew 98 |  sampler_t ype(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  take_/src/brpc/src/bvar/detail/percentile.h:247s:a16m: note: pexplicitly cast the pointer to silence this warningl Step #3 - "compile-afl-address-x86_64": e 247 | 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": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/threads_service.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/vars_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.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/viz_min_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/vlog_service.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/channel.cpp.o Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 67%] 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/cluster_recover_policy.cpp.o Step #3 - "compile-afl-address-x86_64": [ 67%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/index_service.cpp:22: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 | _seriIn file included from /src/brpc/src/brpc/builtin/memory_service.cppe:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.hs:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:_sa25mpler: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h = :ne26: Step #3 - "compile-afl-address-x86_64": In file included from w SeriesSampler(this, _var/src/brpc/src/bthread/bthread.h); 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 here32: 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:247:16:  Step #3 - "compile-afl-address-x86_64": warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] 49 |  Step #3 - "compile-afl-address-x86_64": cla ss247 | m emset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^L Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: anote: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | t enc yR e cSoample() : rddatear(Ba)s,e t{im Step #3 - "compile-afl-address-x86_64": e_ u| s( ^ Step #3 - "compile-afl-address-x86_64": 0) {} Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h| :129 ^: Step #3 - "compile-afl-address-x86_64": 13: note: initializer of 'tmp_stack_array_size' is not a constant expression 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": 129 | 116 | D E F I N E _ S M A L LS_aAmRpRlAe( utimnpt;32 Step #3 - "compile-afl-address-x86_64": _ t| , ^t Step #3 - "compile-afl-address-x86_64": mp, rhs._nu/src/brpc/src/bvar/detail/sampler.hm:_98s:a9m:p lesnote: , in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here64 Step #3 - "compile-afl-address-x86_64":  ); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 98 | /src/brpc/src/butil/macros.h : 426 : 42 : tanote: keexpanded from macro 'DEFINE_SMALL_ARRAY'_s Step #3 - "compile-afl-address-x86_64": a mple(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28: note: 426 | in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #3 - "compile-afl-address-x86_64": char name##_stack_a476 | r r a y [  s i z e o_fsa(mTppl)e r* =n amnee#w#_ sstaamcpkl_earr_rtayyp_es(izteh]i;s  ); 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": :16:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 16 | tmp_sta/src/brpc/src/bvar/detail/percentile.hc:k247_ar:r16a:y _sinote: zeexplicitly 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/bvar/detail/percentile.h:129247: | 13 :   note:  declared here m Step #3 - "compile-afl-address-x86_64": ems/src/brpc/src/butil/macros.he:425t:(20:t hisnote: ,expanded from macro 'DEFINE_SMALL_ARRAY'  Step #3 - "compile-afl-address-x86_64": 0 , sizeof(*this))425; | Step #3 - "compile-afl-address-x86_64": |  ^c Step #3 - "compile-afl-address-x86_64": on s| t (void*) Step #3 - "compile-afl-address-x86_64": 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/details/jemalloc_profiler.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/load_balancer_with_naming.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 12 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o 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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.cpp.o Step #3 - "compile-afl-address-x86_64": [ 70%] 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/rtmp_utils.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/protobufs_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:247: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": 247 | 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::Percentile::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": | 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 Step #3 - "compile-afl-address-x86_64": /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/src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": :28: Step #3 - "compile-afl-address-x86_64": 476In 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:247: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": _ sam247 | p l ememsert(thi = s, 0n, sizeof(e*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:w40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sampl se() : 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 tmpample;r_ Step #3 - "compile-afl-address-x86_64": t y| pe( ^ Step #3 - "compile-afl-address-x86_64": this/src/brpc/src/bvar/detail/sampler.h:98:9: ); Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here|  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | memset(this, 0, sizeof(*this Step #3 - "compile-afl-address-x86_64": ));  Step #3 - "compile-afl-address-x86_64": 98|  ^ | Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/ssl_helper.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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": /src/brpc/src/bvar/detail/percentile.h:129|  ^ 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:129:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: 13: expanded from macro 'DEFINE_SMALL_ARRAY'warning:  Step #3 - "compile-afl-address-x86_64":  425 | variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | DEFINE_ S const unsigMALL_ARRAY(uint32_tned ,n atmmep#,# _rshtack_s._numa_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:rray_size = (name##_size <=29 :( maxsnote: ize) ? expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 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": 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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: [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/tcmalloc_extension.cpp.o Step #3 - "compile-afl-address-x86_64": 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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##2_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  warnings:219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": generated. 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/usercode_backup_pool.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 | [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o 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[ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.cpp.o Step #3 - "compile-afl-address-x86_64": * 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:/src/brpc/src/bvar/detail/percentile.h7:129:: 13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]note:  Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 129 | 49 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.hclas:426:29: s LatencyRecorderBasnote: expanded 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":  426/src/brpc/src/bvar/detail/percentile.h:129:13: | char note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint 3n2a_mt,e #t#m_ps,t archsk.__anrurma_ys[amspilzeeso,f (6T4p)) ;* Step #3 - "compile-afl-address-x86_64": n a| me ^# Step #3 - "compile-afl-address-x86_64": #_sta/src/brpc/src/butil/macros.hc:k426_:a42r:r ay_note: siexpanded from macro 'DEFINE_SMALL_ARRAY'ze Step #3 - "compile-afl-address-x86_64": ]; \ Step #3 - "compile-afl-address-x86_64": 426 | |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": char na/src/brpc/src/bvar/detail/percentile.hm:e322#:#36_:s tacnote: k_in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herear Step #3 - "compile-afl-address-x86_64": ray[sizeof(Tp )322 | * n a m e # # _ s t a c k _ a rgreaty__isntieze]; r \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": v:219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmap_l_at(i).mergstack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129e(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h::13454:: 16: 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'note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 Step #3 - "compile-afl-address-x86_64": | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": 425 | con| st ^ Step #3 - "compile-afl-address-x86_64":  unsigned/src/brpc/src/bvar/detail/series.h n:a168:13: note: me#in 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": _st 168 | call_opac_retk_array_surning_vioze =i (nadm(e#op, t#_size <= (maxsimzp, _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 appende) ? 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_sec_osntda(cvalk_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": ue, _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/global.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 | In file included from _/src/brpc/src/brpc/compress.cpp:s22e: Step #3 - "compile-afl-address-x86_64": rIn file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": iIn file included from e/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": sIn file included from /src/brpc/src/bthread/bthread.h_:s32a: Step #3 - "compile-afl-address-x86_64": mIn file included from p/src/brpc/src/bthread/mutex.hl:e27r: Step #3 - "compile-afl-address-x86_64": =In file included from /src/brpc/src/bvar/utils/lock_timer.h:n28e: Step #3 - "compile-afl-address-x86_64": wIn file included from /src/brpc/src/bvar/latency_recorder.h :Ser26ie: Step #3 - "compile-afl-address-x86_64": sSa/src/brpc/src/bvar/detail/percentile.hm:p247le:r16(: thiwarning: s,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": var) 247 | ; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: memsnote: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heree Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRect(this, 0, siordzeeroBfas(e* {th Step #3 - "compile-afl-address-x86_64": i s| ) ^) Step #3 - "compile-afl-address-x86_64": ;/src/brpc/src/bvar/detail/percentile.h: Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 129:13/src/brpc/src/bvar/detail/sampler.h:: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 40 :16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40129 | | 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:129: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 S_asmple()t : 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": ack_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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/checksum.cpp:18: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": [ 72%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); 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/http_header.cpp.o 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 |  /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": char name## 129 | _ s ta c k _ a r r a y [ DEsFiINE_SMzeofAL(TLp_)A R*R AnYa(muei#n#t_3s2t_atc,k _tmapr,r aryh_ss.i_zneu]m;_ s a m p l e\s, Step #3 - "compile-afl-address-x86_64": | 64 ^ Step #3 - "compile-afl-address-x86_64": ); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: Step #3 - "compile-afl-address-x86_64": 166:1: /src/brpc/src/butil/macros.h:note: 426:expanded from here29: Step #3 - "compile-afl-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 166 | tmp_stac426k_ | a r r a y_cshiazre Step #3 - "compile-afl-address-x86_64": n a| ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.hme##_stack_array[sizeof(Tp) * :129:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20:name##_stack_array note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": _size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 425 |  /src/brpc/src/bvar/detail/percentile.hco:n129s:t13 unsigned name##_stac:k_a rrwarning: ay_s variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": ize = (name##_s i129z | e < = ge t_int ( maxsi DEeFIzNeE)_ S?M ALLrv_al_aAtR(RAYnami).(muien#t32_#_ts, termgpe,( *rrhhss..__niunmt_esravmapllse[si,] );64 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/butil/macros.h::454426::1629:: note: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hereexpanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": 426454 | |  c h a r  n abm1e.#m#e_rsgtea(cbk2_)a;r Step #3 - "compile-afl-address-x86_64": r| ay ^[ Step #3 - "compile-afl-address-x86_64": sizeof(/src/brpc/src/bvar/window.hT:p53): 17*: namnote: e#in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here#_ Step #3 - "compile-afl-address-x86_64": stack_array _53s | i z e ] ; _var->o p ( ) ( v\1, Step #3 - "compile-afl-address-x86_64": v| 2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~; 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:322:36/src/brpc/src/bvar/detail/call_op_returning_void.h:: 29:12note: : in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here 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 | return o p322( | v 1 , v 2 ) ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  get_/src/brpc/src/bvar/detail/series.hi:n168t:e13r:v al_note: atin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here(i Step #3 - "compile-afl-address-x86_64": ).merge(*r h168s | . _ i n t e r va l s [ i ]c)a;ll Step #3 - "compile-afl-address-x86_64": _ o| p_ ^r Step #3 - "compile-afl-address-x86_64": eturn/src/brpc/src/bvar/detail/percentile.hi:n454g:_16v:o id(note: opin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here, Step #3 - "compile-afl-address-x86_64": tmp, _data.sec o454n | d ( i ) ) ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": b1.merg/src/brpc/src/bvar/detail/series.he:(116b:216):;  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": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here 116 Step #3 - "compile-afl-address-x86_64": | 53 |  r e t u r n  a p p e n d _ s_evcaorn-d>(ovpa(l)u(ev,1 ,_ ovp2));; 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:65/src/brpc/src/bvar/detail/call_op_returning_void.h::2529:: 12: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herenote:  Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 65 | 29 | i z e :  0r)e;t u\rn Step #3 - "compile-afl-address-x86_64":  | op(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/series.h:168:13::162 :1: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": expanded from here Step #3 - "compile-afl-address-x86_64": 168 | 162 | t m p _ s tcaaclkl__aorpr_arye_tsuirznein Step #3 - "compile-afl-address-x86_64": g _| vo^i Step #3 - "compile-afl-address-x86_64": d(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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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": _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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## |  ^ 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:129: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:129:13: warning:  425 | variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": const unsign e129d |  name # # _ s t ack_ar ra y_s i zDe E=F (naImNe##_Es_iSzMeA <= (mLaLxs_iAzeR)R ? nAaYm(eu#i#_sinzte3 :2 _t0,); t\mp Step #3 - "compile-afl-address-x86_64": , | r ^h Step #3 - "compile-afl-address-x86_64": s._:n215u:m1_:s anote: mexpanded from herepl Step #3 - "compile-afl-address-x86_64": es, 64) ;215 | tmp Step #3 - "compile-afl-address-x86_64": _ stac| k_a ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~r Step #3 - "compile-afl-address-x86_64": ray_si/src/brpc/src/butil/macros.hze:426 Step #3 - "compile-afl-address-x86_64": | :29^: Step #3 - "compile-afl-address-x86_64":  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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 | _ s tcaaclkl__aorpr_arye_tsuirznei]n;g _ v o i d (\op Step #3 - "compile-afl-address-x86_64": , | tm ^p Step #3 - "compile-afl-address-x86_64": , _data.secon:d219(:i1):) ; Step #3 - "compile-afl-address-x86_64": note: | expanded from here ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116 :219 | t16: 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": mp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129: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": 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 75%] 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | 2 warnings _s generated. Step #3 - "compile-afl-address-x86_64": ampler = 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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": [ 75%] 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.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/parallel_channel.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/partition_channel.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 warning nes generated. Step #3 - "compile-afl-address-x86_64": w 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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 unsigne[ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": d 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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##_stIn file included from ack_array_si/src/brpc/src/brpc/controller.cppze: 23=: Step #3 - "compile-afl-address-x86_64": In file included from (/src/brpc/src/bthread/bthread.hn:a32m: Step #3 - "compile-afl-address-x86_64": eIn file included from #/src/brpc/src/bthread/mutex.h#:_27s: Step #3 - "compile-afl-address-x86_64": iIn file included from z/src/brpc/src/bvar/utils/lock_timer.he: 28<: Step #3 - "compile-afl-address-x86_64": =In file included from /src/brpc/src/bvar/latency_recorder.h(:m26a: Step #3 - "compile-afl-address-x86_64": xs/src/brpc/src/bvar/detail/percentile.hi:z247e:)16 :? nawarning: me#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": size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  247 | : 157 : 1 :  mnote: emexpanded from herese Step #3 - "compile-afl-address-x86_64": t(this, 0,  s157i | ztemopf_s(t*actkh_iasrr)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/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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247:In file included from 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": /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:247: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": 247 | m 247 | memset(themiss, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": | e ^ Step #3 - "compile-afl-address-x86_64": t(/src/brpc/src/bvar/detail/sampler.h:40:t16h: note: iin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heres, Step #3 - "compile-afl-address-x86_64": 0,40 |  s i z Sameof(*this)); Step #3 - "compile-afl-address-x86_64": ple() : | data(), time_us(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/detail/sampler.h:40:16: /src/brpc/src/bvar/detail/sampler.hnote: :116:23:in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here40 | Step #3 - "compile-afl-address-x86_64": Sam p116l | e ( ) : data(), time _u s (  0 S)a m{p}le Step #3 - "compile-afl-address-x86_64": < T| > ^t Step #3 - "compile-afl-address-x86_64": mp; Step #3 - "compile-afl-address-x86_64": | /src/brpc/src/bvar/detail/sampler.h ^ 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": /src/brpc/src/bvar/detail/sampler.h 116 | :98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | S a m p l e t atkmep_;sa Step #3 - "compile-afl-address-x86_64": m p| le( ^) 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:/src/brpc/src/bvar/detail/percentile.h :476note: :28:in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here  Step #3 - "compile-afl-address-x86_64":  note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_samp476l | e( ) ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  _sampler/src/brpc/src/bvar/detail/percentile.h :=476 :28n:e w snote: ampler_type(in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": this); Step #3 - "compile-afl-address-x86_64": |  ^476 | 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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | memset(/src/brpc/src/bvar/detail/percentile.ht:h247i:s,16 : 0note: , explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": siz eof(*this)247) | ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  me| ms (void*)e Step #3 - "compile-afl-address-x86_64": t(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:247: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": 247 | 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 | Samplethis t,mp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  0, /src/brpc/src/bvar/detail/sampler.h:98:9s:iz note: ein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereof(* Step #3 - "compile-afl-address-x86_64": this)); Step #3 - "compile-afl-address-x86_64": |  ^ 98 | take_sample 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": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/policy/auto_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": [ 78%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": [ 78%] 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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": [ 78%] 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 81%] 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/dh.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/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:247: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": 247 | 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::Percentile::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:476:28: [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/domain_naming_service.cpp.o 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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/dynpart_load_balancer.cpp.o 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/esp_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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": | /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64":  ^ Step #3 - "compile-afl-address-x86_64":  129 | /src/brpc/src/bvar/detail/series.h: 116 :16D: 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": EFI 116 | NE_SMALL_ARRA Y(u int32 _return tappe, tnmp, rhsd_second(value, _op); Step #3 - "compile-afl-address-x86_64": . | _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":  ^ Step #3 - "compile-afl-address-x86_64": 426 | /src/brpc/src/bvar/window.h:65:25 char name##_stack_array[: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here 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": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 6553 | _var->op()(v1, v2[ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": | ) _;ser 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: iin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": es 29 | . a ppretuendrn (_oowner->get_value(p1(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/window.h ^:58:9 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": note: 168 | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here  Step #3 - "compile-afl-address-x86_64": 58call_op_r | e t ur ni n g _ v oSiedriesSampl(op,er tmp, (_dataW.isecnodnowBad(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": se* o/src/brpc/src/bvar/detail/series.h:116:w16: ner,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": R* var 116 | r)etur Step #3 - "compile-afl-address-x86_64": |  ^n append_seco Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/periodic_naming_service.cpp/src/brpc/src/bvar/window.h::21151: Step #3 - "compile-afl-address-x86_64": :In file included from 35/src/brpc/src/bthread/bthread.h:: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here32 Step #3 - "compile-afl-address-x86_64": : 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": 151In file included from /src/brpc/src/bvar/utils/lock_timer.h:n28d: Step #3 - "compile-afl-address-x86_64": (In file included from v/src/brpc/src/bvar/latency_recorder.ha:26: Step #3 - "compile-afl-address-x86_64": l/src/brpc/src/bvar/detail/percentile.h:ue, _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 | | 247 : 16 :   warning:  _sfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]eri Step #3 - "compile-afl-address-x86_64": es_sampler = new Ser 247 | iesSamp_ se r imeesm.saeppetn(d(t_hoiwsne,r ->get0_v,a lusei(ze1of))(;* Step #3 - "compile-afl-address-x86_64": t h| i ^ Step #3 - "compile-afl-address-x86_64": s));/src/brpc/src/bvar/window.h Step #3 - "compile-afl-address-x86_64": : 58:| ler ^( Step #3 - "compile-afl-address-x86_64": this, _var);/src/brpc/src/bvar/detail/sampler.h Step #3 - "compile-afl-address-x86_64": : 40| :16 ^ Step #3 - "compile-afl-address-x86_64": : /src/brpc/src/bvar/latency_recorder.h:49note: :7in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here:  Step #3 - "compile-afl-address-x86_64": 40 | Sample() : d9: note: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": ata() ,49 | ticmlea_sin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested heres Step #3 - "compile-afl-address-x86_64": LatencyReucso(rd0er)B a{s}e 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/percentile.h : 129S |  ^ 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::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | :13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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":  take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:erie28sSam:ple r(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": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here 151 |  Step #3 - "compile-afl-address-x86_64": _series_sampler = new SeriesSampler(th is, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7476 | _sampler = n:e note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": w49 | cla sssam pleLatr_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | memset(this, 0, sizeencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": o/src/brpc/src/bvar/detail/percentile.h:129:13f: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": (*th 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": i/src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": s)); Step #3 - "compile-afl-address-x86_64": |  ^ 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_si| ze Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129: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": (void*) 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/giano_authenticator.cpp.o 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/gzip_compress.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/hasher.cpp.o Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_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/http_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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 | Samp2le t generatedm. Step #3 - "compile-afl-address-x86_64": p; 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/hulu_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/list_naming_service.cpp.o 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) * name##_stack_array_size]; \ 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: 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": :55:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 55 | aps_stack_array_size 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": 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": :51:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 51 | aps_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/locality_aware_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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_arrayIn 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:s24: Step #3 - "compile-afl-address-x86_64": ize 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:247: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": ( 247 | nam e# memset#_size <= (maxsize)( ?this, 0, s nizeoafm(*tehis))#; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:#16:_ note: sin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40iz | Sample() : data(), time_use : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :(0) {215}: Step #3 - "compile-afl-address-x86_64": 1: | note: expanded from here Step #3 - "compile-afl-address-x86_64":  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h: 116:23:215 note: | in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": tmp 116 | Sample_ tmp;a Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: cin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": k_ 98 | array_si ze Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/memcache_binary_protocol.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/mongo_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/nacos_naming_service.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": [ 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | DEFINE_SMALL_ARR/src/brpc/src/bvar/detail/percentile.h:A129:Y(13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": uint32_ 129t | , DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_sa mples, t6m4p);, Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r Step #3 - "compile-afl-address-x86_64": hs./src/brpc/src/butil/macros.h:_426:n29u:m _note: sexpanded from macro 'DEFINE_SMALL_ARRAY'am Step #3 - "compile-afl-address-x86_64": ples, 426  | 6 4  )ch;ar Step #3 - "compile-afl-address-x86_64":  n| am ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~e Step #3 - "compile-afl-address-x86_64": ##_sta/src/brpc/src/butil/macros.hck_:a426r:r29ay[: sinote: zeofexpanded from macro 'DEFINE_SMALL_ARRAY'( Step #3 - "compile-afl-address-x86_64": Tp) * name##_st 426 | ack_archraary_ sniazmee]#;# _ s t a c k\_ Step #3 - "compile-afl-address-x86_64": a| rr ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~a Step #3 - "compile-afl-address-x86_64": y[sizeof/src/brpc/src/bvar/detail/percentile.h:(322T:p36): * nnote: amin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested heree## Step #3 - "compile-afl-address-x86_64": 322 | _stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  get_inte ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | get_rval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": i| n ^t Step #3 - "compile-afl-address-x86_64": erval_at/src/brpc/src/bvar/detail/percentile.h(:i454):.m16e:r ge(note: *rin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested herehs Step #3 - "compile-afl-address-x86_64": . _intervals[i]); Step #3 - "compile-afl-address-x86_64": | 454 ^ | Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/bvar/detail/percentile.h : 454 : 16 :b 1.mnote: erin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested herege Step #3 - "compile-afl-address-x86_64": ( b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 454 | /src/brpc/src/bvar/window.h: 53 : 17 : note: in instantiation of function template specialization 'bvar::detail::Percentile::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 | _seri 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::Percentile::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)es_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:129: 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": 13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 151 | _ser ie s_s a m p l e r = DEFINE_nSewMA LSL_eArRiReAsYS(aumipnlte32_t,r(t htmp,is, _rvhas.r_)n;um Step #3 - "compile-afl-address-x86_64": _ s| am ^p Step #3 - "compile-afl-address-x86_64": l/src/brpc/src/bvar/latency_recorder.hes, 64:);49: Step #3 - "compile-afl-address-x86_64": 7 :|  ^ Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here/src/brpc/src/butil/macros.h Step #3 - "compile-afl-address-x86_64": :426 :42: 49note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": | class Laten426c | y R e c orcdhearrBa snea m{e# Step #3 - "compile-afl-address-x86_64": # _| st ^a Step #3 - "compile-afl-address-x86_64": ck_array[/src/brpc/src/bvar/detail/percentile.h:s129ize:13o: note: f(Tp) initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": * name 129 | DEFINE_SMALL_ARRAY(##_stack_array_size]; u\i Step #3 - "compile-afl-address-x86_64": n t32_t,|  ^ Step #3 - "compile-afl-address-x86_64": :203:1 tmp, :r hs._note: nexpanded from hereum_s Step #3 - "compile-afl-address-x86_64": amIn file included from ples/src/brpc/src/brpc/policy/domain_naming_service.cpp: 203 | t23: Step #3 - "compile-afl-address-x86_64": ,In file included from 6/src/brpc/src/bthread/bthread.h4:32): Step #3 - "compile-afl-address-x86_64": ;In file included from /src/brpc/src/bthread/mutex.h Step #3 - "compile-afl-address-x86_64": : 27| : Step #3 - "compile-afl-address-x86_64": In file included from ^/src/brpc/src/bvar/utils/lock_timer.h 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": | mp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: 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:247: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": 247 | 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": | 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":  ^ 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:129: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 | ^ 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | co _sampler = new samplenr_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": st un/src/brpc/src/bvar/detail/percentile.h:247:16s: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | i g mnemset(tehdis, 0n, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": ame##_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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": In file included from /src/brpc/src/brpc/policy/file_naming_service.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:247: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": 247 | 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() : d/src/brpc/src/bvar/detail/percentile.h:129:13: warning: ata(), time_us(variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]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/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 129 | 116 | Sa m p l e< DEFINE_SMALL_ARRAY(uinT> tmp; Step #3 - "compile-afl-address-x86_64": | t ^3 Step #3 - "compile-afl-address-x86_64": 2_t, tmp/src/brpc/src/bvar/detail/sampler.h,: 98r:h9s:. _nunote: m_in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested heresa Step #3 - "compile-afl-address-x86_64": m ples, 64);98 Step #3 - "compile-afl-address-x86_64": | |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":   ta/src/brpc/src/butil/macros.hk:e426_:s29a:m plenote: ()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": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 426 | 476 |  c h a r  n a m e_#s#a_msptlaecrk _=a rrnaey[ws iszaemopfle(r_tTypp)e (* tnhaimse##)_;st Step #3 - "compile-afl-address-x86_64": a c| k_ ^a Step #3 - "compile-afl-address-x86_64": rray_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 322 | 247 | memset(thi s ,  0  , gseitz_eionfte(r*vatlh_iast()i));.m Step #3 - "compile-afl-address-x86_64": er g| e( ^* Step #3 - "compile-afl-address-x86_64": rh s| ._ (void*)i Step #3 - "compile-afl-address-x86_64": ntervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 2Lat warningesncy generatedReco. Step #3 - "compile-afl-address-x86_64": rderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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:247: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": 247 | memset(this, 0, sizeof(*this/src/brpc/src/bvar/detail/percentile.h)):; Step #3 - "compile-afl-address-x86_64": |  ^129: 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": /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": 129 | DEFI40 | Sample() : data(), timNE_SMALL_ARRAY(uint32_t, te_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": mp, rhs._num_s am116p | les , 6 4  ) ; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": Sampl/src/brpc/src/butil/macros.he:<426T:>29 :t mp;note:  Step #3 - "compile-afl-address-x86_64": 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/sampler.h:98:9:426  |  note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here c Step #3 - "compile-afl-address-x86_64": h ar 98n | a takeme##_sta_sacmkp_laer(r)a;y[ Step #3 - "compile-afl-address-x86_64":  s| iz ^e Step #3 - "compile-afl-address-x86_64": of(Tp) /src/brpc/src/bvar/detail/percentile.h*: 476n:a28m:e ##_note: stin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereac Step #3 - "compile-afl-address-x86_64": k _array476_ | si z e ] ; _sampl\ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": er = new/src/brpc/src/bvar/detail/percentile.h: s322:36a:m plenote: r_in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herety Step #3 - "compile-afl-address-x86_64": p e(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 322 | get_interval_at(i).merge(*rhs._intervals[i]/src/brpc/src/bvar/detail/percentile.h:247):16;: Step #3 - "compile-afl-address-x86_64":  | note:  ^explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64":  247 | /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | memse t(  t h i s  , b01.,m ersgiez(ebo2f);(* 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/window.h| :53 ^: Step #3 - "compile-afl-address-x86_64": 17: |  (void*)note: Step #3 - "compile-afl-address-x86_64": in instantiation of function template specialization 'bvar::detail::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_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/public_pbrpc_protocol.cpp.o 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": 84 | 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:84:35: note: initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 84 | 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | get_interval_at(i).merge(*rhs._intervals[i])2 warning; Step #3 - "compile-afl-address-x86_64": |  ^s generated Step #3 - "compile-afl-address-x86_64": . Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.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/redis_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 86%] 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | memseIn file included from /src/brpc/src/brpc/policy/crc32c_checksum.cppt(: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:21t: 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": his, 0In 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:247: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":  247, | sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) 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": /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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": [ 86%] 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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o 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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 LatencyReco2rderBase { warnings generated. 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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": :86:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 86 | 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:129: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": :82:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 82 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/timeout_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | 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 v/src/brpc/src/brpc/socket_id.har:-25>: Step #3 - "compile-afl-address-x86_64": oIn file included from p()(v/src/brpc/src/brpc/versioned_ref_with_id.h1:,26 v: Step #3 - "compile-afl-address-x86_64": 2In file included from )/src/brpc/src/bthread/bthread.h;: Step #3 - "compile-afl-address-x86_64": 32 : Step #3 - "compile-afl-address-x86_64": | In file included from /src/brpc/src/bthread/mutex.h ^: Step #3 - "compile-afl-address-x86_64": 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:/src/brpc/src/bvar/detail/call_op_returning_void.h247::2916:: 12: warning: note: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]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 | re t247u | r n  o p ( v 1m,e mvs2e)t;( Step #3 - "compile-afl-address-x86_64": t h| is ^ Step #3 - "compile-afl-address-x86_64": , 0, si/src/brpc/src/bvar/detail/series.hz:e168o:f13(:* thnote: isin 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": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:168 | 40 :c16a:l l_onote: p_in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herere Step #3 - "compile-afl-address-x86_64": t urning_40 | Samplvoid(op,e (t)m p:, d_adtaat(), tiam.seecond(i)); Step #3 - "compile-afl-address-x86_64": _us(0) { }|  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, _o |  ^ 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::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herep) 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.h98 | take:_65s:a25m:p lnote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here 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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 65 | 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 _ser:476 | ies.append(_owner->ge26 _sampler = new: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/channel.h sampler_:33: Step #3 - "compile-afl-address-x86_64": t_value(1tIn file included from ype(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | memset(this/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 )); 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 | /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:247: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": 247 | memset(t SeriesSampler(WindowBase* ownehisr,, 0, sizeof(R* var) Step #3 - "compile-afl-address-x86_64": *|  ^ Step #3 - "compile-afl-address-x86_64": 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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":  |  (void*) 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 89%] 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": [ 89%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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/src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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_s | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | get_intervalamp_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:ler454 :16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here=  Step #3 - "compile-afl-address-x86_64": new 454 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  Se/src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": riesSam 53 | ple r( th _var->op()is(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": , _va/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: r)note: ; Step #3 - "compile-afl-address-x86_64":  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here|  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7:  Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here 29 | re Step #3 - "compile-afl-address-x86_64": 49tu | rclasns LateoncyRecp(orvder1Bas,e { Step #3 - "compile-afl-address-x86_64": 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/percentile.h:129:13: /src/brpc/src/bvar/detail/series.h:168:13: note: in 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": note: 168 |  call_initializer of 'tmp_stack_array_size' is not a constant expressionop_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": | 129 ^ 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 | re turn 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 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples,  _serie6s_4sampler = new SeriesSample); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": r/src/brpc/src/butil/macros.h(:426:42: note: thisIn file included from expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": /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: 37426: Step #3 - "compile-afl-address-x86_64": | char name##_stack_arr,In file included from /src/brpc/src/brpc/socket_id.h_:v25a: Step #3 - "compile-afl-address-x86_64": rIn file included from )/src/brpc/src/brpc/versioned_ref_with_id.h;:26 Step #3 - "compile-afl-address-x86_64": : 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": : 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/src/brpc/src/bvar/latency_recorder.h:49:7: : Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: warning: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | ay[sfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]izeof( Step #3 - "compile-afl-address-x86_64": claTss Lap) 247* | n a m e # # t en memset(thi_stack_s, cyRec0ord, erBaseas irray_size]; {ze Step #3 - "compile-afl-address-x86_64": of |  (*this)); Step #3 - "compile-afl-address-x86_64": ^ |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h:40:16: 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":  Step #3 - "compile-afl-address-x86_64":  |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:40129 | : 13 :  :S40note: a:m1initializer of 'tmp_stack_array_size' is not a constant expressionp:l e Step #3 - "compile-afl-address-x86_64": ( 129 | 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:129: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": 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:129: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": ) : 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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": 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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_2 warningreturning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": s |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16:  generated. 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/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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.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/protocol.cpp.o Step #3 - "compile-afl-address-x86_64": In 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_s/src/brpc/src/bvar/detail/percentile.hamples, 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": 129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 426 | D cEFhIaNr E_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'name##_stac Step #3 - "compile-afl-address-x86_64": k_array[ 426 | char sizname##_stack_array[sizeof(Tp) * name##_stack_array_sizeeof(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:129: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": ]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 | In file included from _series_sampler = new SeriesSample/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.hr(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 | :clas32s: Step #3 - "compile-afl-address-x86_64": LaIn file included from t/src/brpc/src/bthread/mutex.he:27: Step #3 - "compile-afl-address-x86_64": ncIn file included from y/src/brpc/src/bvar/utils/lock_timer.hR:e28c: Step #3 - "compile-afl-address-x86_64": orIn file included from d/src/brpc/src/bvar/latency_recorder.he:r26B: Step #3 - "compile-afl-address-x86_64": ase/src/brpc/src/bvar/detail/percentile.h :{247: Step #3 - "compile-afl-address-x86_64": 16 :|  ^warning:  Step #3 - "compile-afl-address-x86_64": 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": /src/brpc/src/bvar/detail/percentile.h:129:13: note: 247initializer of 'tmp_stack_array_size' is not a constant expression |  Step #3 - "compile-afl-address-x86_64": memset(this129, |  0  ,  s i z e o f D(E*FItNhEi_sSM)A)L;L_ Step #3 - "compile-afl-address-x86_64": A R| RA ^Y Step #3 - "compile-afl-address-x86_64": (uint32_t,/src/brpc/src/bvar/detail/sampler.h t:m40p:,16 :r hs.note: _nin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested hereum Step #3 - "compile-afl-address-x86_64": _ samples, 6404 |  ) ;  Step #3 - "compile-afl-address-x86_64": S a| mp ^l Step #3 - "compile-afl-address-x86_64": e() : /src/brpc/src/butil/macros.hd:a426t:a42(:) , note: tiexpanded from macro 'DEFINE_SMALL_ARRAY'me Step #3 - "compile-afl-address-x86_64": _ 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 here426 Step #3 - "compile-afl-address-x86_64": | char name116# | # _ s t a c k _ a rSraamyp[lese otfmp(;Tp Step #3 - "compile-afl-address-x86_64": ) | * ^na Step #3 - "compile-afl-address-x86_64": me##_sta/src/brpc/src/bvar/detail/sampler.hc:k98_:a9r:r ay_note: siin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereze] Step #3 - "compile-afl-address-x86_64": ; \ Step #3 - "compile-afl-address-x86_64": | 98 ^ | Step #3 - "compile-afl-address-x86_64":   : 219t:a1k:e _sanote: mpexpanded from herele Step #3 - "compile-afl-address-x86_64": ( ); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 219 | t/src/brpc/src/bvar/detail/percentile.hm:p_476s:t28a: ck_note: arrin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereay Step #3 - "compile-afl-address-x86_64": _ size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 476 | /src/brpc/src/bvar/detail/percentile.h : 129 : 13 :   note:  declared here_s Step #3 - "compile-afl-address-x86_64": ampl/src/brpc/src/butil/macros.he:r425 :=20 : nnote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_ew sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 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":  247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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 /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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:247: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": 247 | 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 | /src/brpc/src/bvar/detail/percentile.h: 129:13:  warning: Sample<variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": T> t 129 | mp; Step #3 - "compile-afl-address-x86_64": DEFINE_SMALL_AR| R ^ Step #3 - "compile-afl-address-x86_64": AY(uint32_t, tmp, rhs._num/src/brpc/src/bvar/detail/sampler.h_samples, 64:98); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": :9: /src/brpc/src/butil/macros.h:426:29:note: note: expanded from macro 'DEFINE_SMALL_ARRAY'in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 426 | char n ame##98_stack_array[sizeof(Tp) * name##_stack | _arr a y_ size]; \ Step #3 - "compile-afl-address-x86_64": | t ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": ake_sample/src/brpc/src/bvar/detail/percentile.h:322: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": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 322 | 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | memset 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | (  t h i s  ,  0 _,v ars-i>opz()e(ovf1,( *vt2h)i;s 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*)/src/brpc/src/bvar/detail/call_op_returning_void.h Step #3 - "compile-afl-address-x86_64": :29In 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:247: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": :12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | re 247t | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ur/src/brpc/src/bvar/detail/sampler.h:40:n16 o: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herep(v1,  Step #3 - "compile-afl-address-x86_64": v2); 40 Step #3 - "compile-afl-address-x86_64": | Sample() : data( |  ^) Step #3 - "compile-afl-address-x86_64": , time_u/src/brpc/src/bvar/detail/series.h:168:13: snote: (in 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": 0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  168 | call/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::Percentile::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": op/src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _sampler = new sampler_type(this);_r Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": eturning_voi/src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": d(o p247 | memset(this,, tmp, _data. seco0n,d (siiz))e;of(*this 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 | );  Step #3 - "compile-afl-address-x86_64": ret |  ^u Step #3 - "compile-afl-address-x86_64": rn |  (void*) Step #3 - "compile-afl-address-x86_64":  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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp,/src/brpc/src/bvar/detail/percentile.h :129:13: rwarning: In file included from /src/brpc/src/brpc/policy/round_robin_load_balancer.cpp:22variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h Step #3 - "compile-afl-address-x86_64": :34h: 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 s/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 129 | n /src/brpc/src/bthread/bthread.h : u 32DEF: Step #3 - "compile-afl-address-x86_64": mINE__SMIn file included from AL/src/brpc/src/bthread/mutex.hs:am27: Step #3 - "compile-afl-address-x86_64": pIn file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": lIn file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": eLs_ARRAY(uin/src/brpc/src/bvar/detail/percentile.h, :2476:4t16:3)2;_ t, warning: tmfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]p Step #3 - "compile-afl-address-x86_64": , Step #3 - "compile-afl-address-x86_64": rhs._|  ^num_samples, 64247 | );  Step #3 - "compile-afl-address-x86_64": |  Step #3 - "compile-afl-address-x86_64": m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: emset(this, 0, sexpanded from macro 'DEFINE_SMALL_ARRAY'i/src/brpc/src/butil/macros.h:zeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 426/src/brpc/src/bvar/detail/sampler.h:40:: Step #3 - "compile-afl-address-x86_64": 42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 16: note: 426 | in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here  426 Step #3 - "compile-afl-address-x86_64": |  char name##_stack_array[si40 | ch Samzarp neame##_sotfackl_e() : daarray([Tp)t * name##as(), _sitime_us(0zeof(Tp)) t * nack_array_{}a Step #3 - "compile-afl-address-x86_64": me##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": size];  /src/brpc/src/bvar/detail/sampler.h \ 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": /src/brpc/src/bvar/detail/percentile.h:322:36: note: |  ^ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": :223:in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | get_interval_at(1116: | note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size 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::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": i).merge( Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": | */src/brpc/src/bvar/detail/percentile.h:129: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": rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": ^ 425 | Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28:  454 | 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 member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | memnote: cosnsin instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": t u n53s | i g n e d  n a m e # # _ s t_avcakr_-a>rorpa(y)_(svi1z,e =v 2()n;am Step #3 - "compile-afl-address-x86_64": e #| #_ ^s Step #3 - "compile-afl-address-x86_64": ize <= (max/src/brpc/src/bvar/detail/call_op_returning_void.hs:i29z:e12): ? nnote: amin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested heree# Step #3 - "compile-afl-address-x86_64": #_size 29: |  0  );r e\tu Step #3 - "compile-afl-address-x86_64": r n|  ^o Step #3 - "compile-afl-address-x86_64": p(v1, v:2219):;1: Step #3 - "compile-afl-address-x86_64": | note: ^ Step #3 - "compile-afl-address-x86_64": expanded from here 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": 219 | tmp_st a168c | k _ a r r a y _ s i z e c Step #3 - "compile-afl-address-x86_64": a | ll^_ Step #3 - "compile-afl-address-x86_64": op_returning_void(op, tmp, _data.second(i));/src/brpc/src/bvar/detail/percentile.h: Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": e/src/brpc/src/bvar/detail/series.h:116:16:t (tnote: hiin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested heres Step #3 - "compile-afl-address-x86_64": , 0, sizeof(*th i116s |  ) ) ;  Step #3 - "compile-afl-address-x86_64": |  ^r Step #3 - "compile-afl-address-x86_64": et u| rn (void*) Step #3 - "compile-afl-address-x86_64": 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 | _series129:13: _sampwarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": ler = new Se riesSample129 | r(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 L a tencyRecor derBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:D13E:FI note: NE_Sinitializer of 'tmp_stack_array_size' is not a constant expressionM Step #3 - "compile-afl-address-x86_64": ALL_ARRAY(uint32_t ,129 tmp, | rhs . _ nu m _sam p le s , 6 4DE)F;IN Step #3 - "compile-afl-address-x86_64": | E ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_ Step #3 - "compile-afl-address-x86_64": SMAL/src/brpc/src/butil/macros.hL:_426A:R29:R note: Aexpanded from macro 'DEFINE_SMALL_ARRAY'Y( Step #3 - "compile-afl-address-x86_64": uint32_t, tmp, rhs._num_samples ,426 |  6 c4ha)r; Step #3 - "compile-afl-address-x86_64":  | nam ^e Step #3 - "compile-afl-address-x86_64": ##_stac/src/brpc/src/butil/macros.hk:_arr426a:y42[:s izenote: of(expanded from macro 'DEFINE_SMALL_ARRAY'Tp) Step #3 - "compile-afl-address-x86_64": * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": 426 | |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": char /src/brpc/src/bvar/detail/percentile.hna:m322e#:36#:_ stanote: ckin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here_a Step #3 - "compile-afl-address-x86_64": rray[sizeof(Tp) * 322n | ame # # _ s t a ck _ a r r a y _ sgeit_iznete]rval_;a t( i ) .me r g\e( Step #3 - "compile-afl-address-x86_64": * r| hs._i ^n Step #3 - "compile-afl-address-x86_64": tervals[i]:)219:;1 Step #3 - "compile-afl-address-x86_64": : |  ^ Step #3 - "compile-afl-address-x86_64": note: expanded from here/src/brpc/src/bvar/detail/percentile.h: Step #3 - "compile-afl-address-x86_64": 454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 219 | tmp_s t454 | a c k _ a r br1a.meryg_e(b2s)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": /src/brpc/src/bvar/detail/percentile.h:/src/brpc/src/bvar/window.h129::53:1317:: note: note: in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested heredeclared here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/butil/macros.h53: | 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 _var Step #3 - "compile-afl-address-x86_64": ->op()(v1, v2152 | )t;mp Step #3 - "compile-afl-address-x86_64": _s |  ^t Step #3 - "compile-afl-address-x86_64": ack_array/src/brpc/src/bvar/detail/call_op_returning_void.h_:s29i:z12e: note: Step #3 - "compile-afl-address-x86_64": 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": | /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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: ^ Step #3 - "compile-afl-address-x86_64": 25: /src/brpc/src/bvar/detail/series.h:note: 168:in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here13: 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": 65 | 168 | call_op_r _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": e 425 | turning_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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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##_st2 warningacks generated. Step #3 - "compile-afl-address-x86_64": _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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 89%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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 <= (m/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*/];2 Step #3 - "compile-afl-address-x86_64": warning s|  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":  generated. 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": axsize) ? 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/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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.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": /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": 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/redis.cpp.o Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #3 - "compile-afl-address-x86_64": [ 91%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/reloadable_flags.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 a2ppend warnings generated. Step #3 - "compile-afl-address-x86_64": _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.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/retry_policy.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:247: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": 247 | 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 | 2 warning Sampls generated. Step #3 - "compile-afl-address-x86_64": e 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _sampler = new sampler_type(this2); warnings generated 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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/rpc_dump.cpp.o Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_pb_message_factory.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 | _s2 warnings generated. Step #3 - "compile-afl-address-x86_64": eries_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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rtmp.cpp.o Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/selective_channel.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_request.cpp.o Step #3 - "compile-afl-address-x86_64": memset(this, 0, size[ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #3 - "compile-afl-address-x86_64": of(*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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | memset(this, 0, sizeof(*[ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.cpp.o Step #3 - "compile-afl-address-x86_64": 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/simple_data_pool.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o 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:129: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/span.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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_s[ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #3 - "compile-afl-address-x86_64": econd(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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | DEFINE_SMALLIn file included from /src/brpc/src/brpc/protocol.cpp:42: Step #3 - "compile-afl-address-x86_64": _ARIn file included from RAY(uint3/src/brpc/src/brpc/protocol.h:2_t32,: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h tmp, rhs._n:um_sam25pl: Step #3 - "compile-afl-address-x86_64": In file included from es, 64/src/brpc/src/brpc/versioned_ref_with_id.h:26); 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": :In file included from 426:42: note: /src/brpc/src/bthread/bthread.h:expanded from macro 'DEFINE_SMALL_ARRAY'32 Step #3 - "compile-afl-address-x86_64": : Step #3 - "compile-afl-address-x86_64": 426 | In file included from char/src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": name##_sIn 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.ht:247:16ack_array[:siz warning: eofirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]f Step #3 - "compile-afl-address-x86_64": (Tp) * name247 | ## _stack_ arra y_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 | tmmemsep_stt(thiack_as,rray_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:0129,: 13:s izenote: ofdeclared here( Step #3 - "compile-afl-address-x86_64": *th/src/brpc/src/butil/macros.hi:s425:)20):;  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":  /src/brpc/src/bvar/detail/sampler.h:40425: | 16 :  note: coin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herens Step #3 - "compile-afl-address-x86_64": t  un40s | i g n e dSa mnpale() : 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": me##_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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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 | _serie2s_samp warnings generatedl. Step #3 - "compile-afl-address-x86_64": er = 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o 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": [ 97%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint322_t, tmp, rhs._num_samples,  warnings6 generated. Step #3 - "compile-afl-address-x86_64": 4); 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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[ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.cpp.o Step #3 - "compile-afl-address-x86_64": ##_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": 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/rpc_dump.cpp:26: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/restful.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/restful.h:24: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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": /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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": 2 warnings generated. 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | DEFINE_In file included from SM/src/brpc/src/brpc/trackme.cppA:L28L: Step #3 - "compile-afl-address-x86_64": _In file included from A/src/brpc/src/brpc/channel.hR:R33A: Step #3 - "compile-afl-address-x86_64": YIn file included from (/src/brpc/src/brpc/socket_id.hu:i25n: Step #3 - "compile-afl-address-x86_64": tIn file included from 3/src/brpc/src/brpc/versioned_ref_with_id.h2:26_: Step #3 - "compile-afl-address-x86_64": tIn file included from ,/src/brpc/src/bthread/bthread.h :32t: Step #3 - "compile-afl-address-x86_64": mIn file included from p/src/brpc/src/bthread/mutex.h,: 27r: Step #3 - "compile-afl-address-x86_64": hIn file included from s/src/brpc/src/bvar/utils/lock_timer.h.:_28n: Step #3 - "compile-afl-address-x86_64": uIn file included from m/src/brpc/src/bvar/latency_recorder.h_:s26: Step #3 - "compile-afl-address-x86_64": am/src/brpc/src/bvar/detail/percentile.hp:l247e:s16,: 6warning: 4)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/butil/macros.h:426:29:  247note: |  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #3 - "compile-afl-address-x86_64": memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": 426| |  ^ Step #3 - "compile-afl-address-x86_64":  cha/src/brpc/src/bvar/detail/sampler.hr:40 :n16a:m e#note: #_in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herest Step #3 - "compile-afl-address-x86_64": ack_arr a40y | [  s i zSeaomfpl(eT(p)) :* name##_stack_array _dsaitzae(]);, t i m e_ u\s( 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/detail/percentile.h:322:/src/brpc/src/bvar/detail/sampler.h36::116 :23:note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herenote: Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 322116 | | S a m p lgeei nttmepr;va Step #3 - "compile-afl-address-x86_64": l _| at ^( Step #3 - "compile-afl-address-x86_64": i).mer/src/brpc/src/bvar/detail/sampler.hg:e98(:*9r:h s.note: _in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herein Step #3 - "compile-afl-address-x86_64": tervals[i ]98) | ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": take/src/brpc/src/bvar/detail/percentile.h_:s454a:m16p:l e()note: ;in instantiation of function template specialization 'bvar::detail::PercentileSamples<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": /src/brpc/src/bvar/detail/percentile.h: 476454: | 28 :   note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #3 - "compile-afl-address-x86_64": b 1476. | m e r g e ( b 2 ) ;  Step #3 - "compile-afl-address-x86_64": _| sa ^m Step #3 - "compile-afl-address-x86_64": pler = /src/brpc/src/bvar/window.h:n53e:w17: sampnote: lerin instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here_t Step #3 - "compile-afl-address-x86_64": ype( 53t | h i s  ) ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  _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 |  /src/brpc/src/bvar/detail/percentile.h:r247e:t16u:r n note: opexplicitly cast the pointer to silence this warning(v Step #3 - "compile-afl-address-x86_64": 1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h :247168 | : 13 :   note:  in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereme Step #3 - "compile-afl-address-x86_64": mset( 168t | h i s  ,  0  ,  sciazlelo_fop(_*retthuisrn)i)n;g_ Step #3 - "compile-afl-address-x86_64": v o| id ^( Step #3 - "compile-afl-address-x86_64": op ,| t (void*)m Step #3 - "compile-afl-address-x86_64": p, _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": /src/brpc/src/brpc/server.cpp:2003:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 2003 | char buf[fullname_len]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/server.cpp:2003:18: note: initializer of 'fullname_len' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/server.cpp:2000:18: note: declared here Step #3 - "compile-afl-address-x86_64": 2000 | 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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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": :9:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 9 | 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:129: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": :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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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": :25:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 25 | 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:129: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": :21:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 21 | 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": 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": 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": [ 97%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 97%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #3 - "compile-afl-address-x86_64": [ 97%] 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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] 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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] 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_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 45%] 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": [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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] 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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] 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_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 129 | 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:129: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": cad0867f0297: Already exists Step #4 - "build-check-afl-address-x86_64": 5d07bc49990e: Already exists Step #4 - "build-check-afl-address-x86_64": 44cb0126eb9f: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": a56ff748a9a8: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": a2fb0ed9e009: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": f1c66ff839e8: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 6407c60781cb: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 2aedbca4b0c5: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 5eb917c1be4c: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": b14d900f9083: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 147a0260c0e7: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 45ecb17becc3: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 4b12f89cab71: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 0264e9dc4f17: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 604b903d86bc: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 74ceb0df6853: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": c464a0b74cc6: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 32bac08d0f41: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 313c0e14775f: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 54b5966c5152: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": b14d900f9083: Waiting Step #4 - "build-check-afl-address-x86_64": 2aedbca4b0c5: Waiting Step #4 - "build-check-afl-address-x86_64": e4d1c52c51e5: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 147a0260c0e7: Waiting Step #4 - "build-check-afl-address-x86_64": 5eb917c1be4c: Waiting Step #4 - "build-check-afl-address-x86_64": 6c2a7aea9205: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 96c0e9d3caa1: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": f1c66ff839e8: Waiting Step #4 - "build-check-afl-address-x86_64": fe059bb13cd6: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 45ecb17becc3: Waiting Step #4 - "build-check-afl-address-x86_64": bd1214b0ceb5: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 4b12f89cab71: Waiting Step #4 - "build-check-afl-address-x86_64": 0264e9dc4f17: Waiting Step #4 - "build-check-afl-address-x86_64": 604b903d86bc: Waiting Step #4 - "build-check-afl-address-x86_64": c464a0b74cc6: Waiting Step #4 - "build-check-afl-address-x86_64": 6407c60781cb: Waiting Step #4 - "build-check-afl-address-x86_64": 74ceb0df6853: Waiting Step #4 - "build-check-afl-address-x86_64": 32bac08d0f41: Waiting Step #4 - "build-check-afl-address-x86_64": 6c2a7aea9205: Waiting Step #4 - "build-check-afl-address-x86_64": 313c0e14775f: Waiting Step #4 - "build-check-afl-address-x86_64": 54b5966c5152: Waiting Step #4 - "build-check-afl-address-x86_64": fe059bb13cd6: Waiting Step #4 - "build-check-afl-address-x86_64": bd1214b0ceb5: Waiting Step #4 - "build-check-afl-address-x86_64": e4d1c52c51e5: Waiting Step #4 - "build-check-afl-address-x86_64": a2fb0ed9e009: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": a2fb0ed9e009: Download complete Step #4 - "build-check-afl-address-x86_64": 44cb0126eb9f: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 44cb0126eb9f: Download complete Step #4 - "build-check-afl-address-x86_64": a56ff748a9a8: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": a56ff748a9a8: Download complete Step #4 - "build-check-afl-address-x86_64": f1c66ff839e8: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": f1c66ff839e8: Download complete Step #4 - "build-check-afl-address-x86_64": 6407c60781cb: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 6407c60781cb: Download complete Step #4 - "build-check-afl-address-x86_64": 44cb0126eb9f: Pull complete Step #4 - "build-check-afl-address-x86_64": 5eb917c1be4c: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 5eb917c1be4c: Download complete Step #4 - "build-check-afl-address-x86_64": b14d900f9083: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": b14d900f9083: Download complete Step #4 - "build-check-afl-address-x86_64": 147a0260c0e7: Download complete Step #4 - "build-check-afl-address-x86_64": a56ff748a9a8: Pull complete Step #4 - "build-check-afl-address-x86_64": a2fb0ed9e009: Pull complete Step #4 - "build-check-afl-address-x86_64": 4b12f89cab71: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 4b12f89cab71: Download complete Step #4 - "build-check-afl-address-x86_64": 0264e9dc4f17: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 0264e9dc4f17: Download complete Step #4 - "build-check-afl-address-x86_64": f1c66ff839e8: Pull complete Step #4 - "build-check-afl-address-x86_64": 604b903d86bc: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 604b903d86bc: Download complete Step #4 - "build-check-afl-address-x86_64": 2aedbca4b0c5: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 2aedbca4b0c5: Download complete Step #4 - "build-check-afl-address-x86_64": 6407c60781cb: Pull complete Step #4 - "build-check-afl-address-x86_64": c464a0b74cc6: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": c464a0b74cc6: Download complete Step #4 - "build-check-afl-address-x86_64": 45ecb17becc3: Download complete Step #4 - "build-check-afl-address-x86_64": 313c0e14775f: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 313c0e14775f: Download complete Step #4 - "build-check-afl-address-x86_64": 54b5966c5152: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 54b5966c5152: Download complete Step #4 - "build-check-afl-address-x86_64": 74ceb0df6853: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 74ceb0df6853: Download complete Step #4 - "build-check-afl-address-x86_64": e4d1c52c51e5: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": e4d1c52c51e5: Download complete Step #4 - "build-check-afl-address-x86_64": 6c2a7aea9205: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 6c2a7aea9205: Download complete Step #4 - "build-check-afl-address-x86_64": 96c0e9d3caa1: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 96c0e9d3caa1: Download complete Step #4 - "build-check-afl-address-x86_64": fe059bb13cd6: Download complete Step #4 - "build-check-afl-address-x86_64": bd1214b0ceb5: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": bd1214b0ceb5: Download complete Step #4 - "build-check-afl-address-x86_64": 2aedbca4b0c5: Pull complete Step #4 - "build-check-afl-address-x86_64": 5eb917c1be4c: Pull complete Step #4 - "build-check-afl-address-x86_64": 32bac08d0f41: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 32bac08d0f41: Download complete Step #4 - "build-check-afl-address-x86_64": b14d900f9083: Pull complete Step #4 - "build-check-afl-address-x86_64": 147a0260c0e7: Pull complete Step #4 - "build-check-afl-address-x86_64": 45ecb17becc3: Pull complete Step #4 - "build-check-afl-address-x86_64": 4b12f89cab71: Pull complete Step #4 - "build-check-afl-address-x86_64": 0264e9dc4f17: Pull complete Step #4 - "build-check-afl-address-x86_64": 604b903d86bc: Pull complete Step #4 - "build-check-afl-address-x86_64": 74ceb0df6853: Pull complete Step #4 - "build-check-afl-address-x86_64": c464a0b74cc6: Pull complete Step #4 - "build-check-afl-address-x86_64": 32bac08d0f41: Pull complete Step #4 - "build-check-afl-address-x86_64": 313c0e14775f: Pull complete Step #4 - "build-check-afl-address-x86_64": 54b5966c5152: Pull complete Step #4 - "build-check-afl-address-x86_64": e4d1c52c51e5: Pull complete Step #4 - "build-check-afl-address-x86_64": 6c2a7aea9205: Pull complete Step #4 - "build-check-afl-address-x86_64": 96c0e9d3caa1: Pull complete Step #4 - "build-check-afl-address-x86_64": fe059bb13cd6: Pull complete Step #4 - "build-check-afl-address-x86_64": bd1214b0ceb5: Pull complete Step #4 - "build-check-afl-address-x86_64": Digest: sha256:1460e902b030400f5fbce4acc2bf327c3ba685fdf776441a215e2ee91092082e 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/tmppzol8e5q/fuzz_json Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmppzol8e5q/fuzz_shead Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmppzol8e5q/fuzz_butil Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmppzol8e5q/fuzz_esp Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmppzol8e5q/fuzz_redis Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmppzol8e5q/fuzz_hpack Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmppzol8e5q/fuzz_http Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmppzol8e5q/fuzz_hulu Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmppzol8e5q/fuzz_uri Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmppzol8e5q/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 66%) 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 66%) Step #6: adding: fuzz_json_seed_corpus.zip (stored 0%) Step #6: adding: fuzz_redis (deflated 66%) 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: 0062f774e994: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 89257482f398: Waiting Step #7: 7eb39101e508: Waiting Step #7: d4fceeeb758e: Download complete Step #7: 5c9125a401ae: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 6b33fd031fac: Verifying Checksum Step #7: 6b33fd031fac: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: 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 681 --:--:-- --:--:-- --:--:-- 683 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 100 200M 0 0 100 200M 0 185M 0:00:01 0:00:01 --:--:-- 185M 100 200M 0 0 100 200M 0 181M 0:00:01 0:00:01 --:--:-- 181M 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 378 --:--:-- --:--:-- --:--:-- 379 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 151 --:--:-- --:--:-- --:--:-- 152 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 (4.3s) Step #12 - "compile-honggfuzz-address-x86_64": -- Generating done (0.5s) 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 v3.pb.h, v3.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 addressbook.pb.h, addressbook.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_encode_decode.pb.h, addressbook_encode_decode.pb.cc 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/get_favicon.pb.h, brpc/get_favicon.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_map.pb.h, addressbook_map.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 echo.pb.h, echo.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/nshead_meta.pb.h, brpc/nshead_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 grpc.pb.h, grpc.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/options.pb.h, brpc/options.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] 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 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/mongo.pb.h, brpc/policy/mongo.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": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/policy/public_pbrpc_meta.pb.h, brpc/policy/public_pbrpc_meta.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 v2.pb.h, v2.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.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 brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/rtmp.pb.h, brpc/rtmp.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": [ 5%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] 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": [ 5%] 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": [ 5%] 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": [ 5%] 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": [ 5%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] 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": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] 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": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.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-stubs-internal.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] 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/debug/alias.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] 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/files/file.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.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/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/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.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 CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.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/TEST_PROTO_LIB.dir/addressbook.pb.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 CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/aligned_memory.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted_memory.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/safe_strerror_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/sha1_portable.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_piece.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] 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": [ 29%] 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": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] 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": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] 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 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": [ 37%] 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/TEST_PROTO_LIB.dir/iobuf.pb.cc.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 CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.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": [ 40%] 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 CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.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 CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.cc.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": [ 43%] 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 CMakeFiles/PROTO_LIB.dir/brpc/get_js.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.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": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/sofa_pbrpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.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": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/streaming_rpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/proto_base.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": 1 warning generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Built target PROTO_LIB 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": [ 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/detail/percentile.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] 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": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] 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/mutex.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/rwlock.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] 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": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:247: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": 247 | 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:227:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 227 | 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::Percentile::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::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::Percentile::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::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::Percentile::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::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::Percentile::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::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::Percentile::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::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::Percentile::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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:247: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": 247 | 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_/src/brpc/src/bthread/task_control.cpp:516:5: warning: us(0variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]) { Step #12 - "compile-honggfuzz-address-x86_64": } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 516 | /src/brpc/src/bvar/detail/sampler.h : 116 : 23D:E FINnote: E_in instantiation of member function 'bvar::detail::Sample>::Sample' requested hereSM Step #12 - "compile-honggfuzz-address-x86_64": A LL_ARRAY(int116 | , nu m s , n gro u p , 128Sampl)e; Step #12 - "compile-honggfuzz-address-x86_64": t| mp ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~; 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: /src/brpc/src/bvar/detail/sampler.hnote: :98expanded from macro 'DEFINE_SMALL_ARRAY':9 Step #12 - "compile-honggfuzz-address-x86_64": : note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample()426; | Step #12 - "compile-honggfuzz-address-x86_64": |  ^c Step #12 - "compile-honggfuzz-address-x86_64": har nam/src/brpc/src/bvar/detail/percentile.he:#476#:_28s:t acknote: _ain instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hererra Step #12 - "compile-honggfuzz-address-x86_64": y 476 | _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:247:16:[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:516: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 | note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:247: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": 247 | 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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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": char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :96:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 96 | 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:516: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": :92:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 92 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | DEFINE_SMALL_ARIn file included from /src/brpc/src/bthread/id.cppRAY(: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:28u: Step #12 - "compile-honggfuzz-address-x86_64": In file included from i/src/brpc/src/bvar/latency_recorder.hnt32_:t26,: Step #12 - "compile-honggfuzz-address-x86_64": t/src/brpc/src/bvar/detail/percentile.h:m247p:,16 :rh s._warning: num_first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]sam Step #12 - "compile-honggfuzz-address-x86_64": p In file included from /src/brpc/src/bthread/timer_thread.cpples, :276: Step #12 - "compile-honggfuzz-address-x86_64": 4In file included from /src/brpc/src/bvar/bvar.h):;27 Step #12 - "compile-honggfuzz-address-x86_64": : Step #12 - "compile-honggfuzz-address-x86_64": In file included from | /src/brpc/src/bvar/latency_recorder.h ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: Step #12 - "compile-honggfuzz-address-x86_64": 26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/butil/macros.h:426:29::247 :16note: :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##_st ack_ar247r | a y [  sizeof  ( Tmpe)m s*e tn(amteh#i#s_s,t ac0k_,a rrsaiyz_esoifze(]*;  t 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/percentile.h:322/src/brpc/src/bvar/detail/sampler.h::3640:: 16: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' 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": 40 | Sample() :322 | d a t a ( ) , t i m e _ u s (ge0t_)i n{t}er Step #12 - "compile-honggfuzz-address-x86_64": v a| l_ ^a Step #12 - "compile-honggfuzz-address-x86_64": t(i).m/src/brpc/src/bvar/detail/sampler.he:r116g:e23(:* rhs._inote: ntein instantiation of member function 'bvar::detail::Sample>::Sample' requested hererv Step #12 - "compile-honggfuzz-address-x86_64": als[i]) ;116 | Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   /src/brpc/src/bvar/detail/percentile.h : 454S:16a:m plenote: <Tin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here> Step #12 - "compile-honggfuzz-address-x86_64": tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  454/src/brpc/src/bvar/detail/sampler.h | : 98 : 9 :   note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here  Step #12 - "compile-honggfuzz-address-x86_64": b1. m98e | r g e ( b 2 ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^t Step #12 - "compile-honggfuzz-address-x86_64": ake_s/src/brpc/src/bvar/window.ha:m53p:17l:e ()note: ;in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  53 |  /src/brpc/src/bvar/detail/percentile.h : 476 : 28 :   note:  _varin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here-> Step #12 - "compile-honggfuzz-address-x86_64": op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  476 |  /src/brpc/src/bvar/detail/call_op_returning_void.h : 29 : 12:   note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here_s Step #12 - "compile-honggfuzz-address-x86_64": ample r29 | =  nreturenw osp(v1a,m v2)p;le Step #12 - "compile-honggfuzz-address-x86_64": r _| ty ^p Step #12 - "compile-honggfuzz-address-x86_64": e(thi/src/brpc/src/bvar/detail/series.hs:168):;13: Step #12 - "compile-honggfuzz-address-x86_64": | 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 Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning247 | memse/src/brpc/src/bvar/detail/percentile.h:247t(th:i16s: , note: 0explicitly cast the pointer to silence this warning, Step #12 - "compile-honggfuzz-address-x86_64": sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h:40247: | 16:  note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": memset( 40 | t h i s Sampl,_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 | e (0) : data(), t, ime_us( s0) {} Step #12 - "compile-honggfuzz-address-x86_64": i _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": | z ^e Step #12 - "compile-honggfuzz-address-x86_64": of(*/src/brpc/src/bvar/detail/sampler.h:116t:h23i:s ))note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": ; Step #12 - "compile-honggfuzz-address-x86_64": | 116 | ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) 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/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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": /src/brpc/src/bvar/collector.cpp: 58 | 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": Series/src/brpc/src/bvar/detail/percentile.h:247:16: Swarning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]ampl Step #12 - "compile-honggfuzz-address-x86_64": er(W 247 | indo memset(this, 0, sizeofwBase* owne(r*, Rt*h ivars));) 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: 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | /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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": _sampler = 129n | e w  s a m p l e DrE_FtINyEp_eS(MAtLhLi_sAR)R;AY Step #12 - "compile-honggfuzz-address-x86_64": ( u| in ^t Step #12 - "compile-honggfuzz-address-x86_64": 32_/src/brpc/src/bvar/detail/percentile.h:247:16: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 | note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | char nam e##_ mstaecmks_eatr(rthay[sizeof(Tp)is, 0, *s inzaeomfe##(_*stthaic/src/brpc/src/bvar/detail/percentile.hs:k_arr129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]a Step #12 - "compile-honggfuzz-address-x86_64": y_si)); Step #12 - "compile-honggfuzz-address-x86_64": | ze 129 | 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": ^]; Step #12 - "compile-honggfuzz-address-x86_64": \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 426 | |  (void*) 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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: [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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];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:129: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": Step #12 - "compile-honggfuzz-address-x86_64": 425 | | const unsigned name##_stack_a ^rray_siz Step #12 - "compile-honggfuzz-address-x86_64": e =: 176(:n1ame##_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": : 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _sampler = new/src/brpc/src/bvar/detail/percentile.h: s129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": ampler_typ 129 | e ( t h i s  ) ;  Step #12 - "compile-honggfuzz-address-x86_64": D| EF ^I Step #12 - "compile-honggfuzz-address-x86_64": NE/src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _SMALL_ARRAY(uint32/src/brpc/src/bvar/detail/percentile.h_t, :tmp,247 :rhs16.:_num_ samples, note: explicitly cast the pointer to silence this warning 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": 247 | 426 | m e mschar name##_stack_array[sizeof(Tp) * name##_stack_aret(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": ray_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/bthread/bthread.cpp:28: 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:247: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": 247 | memset(this, 0, sizeofIn file included from (*t/src/brpc/src/bthread/key.cpp:26h: 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": /src/brpc/src/bvar/detail/percentile.hIn file included from :/src/brpc/src/bvar/bvar.h129::2713: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from /src/brpc/src/bvar/latency_recorder.h:26warning: : Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16:variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] warning:  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": 247 | memset(th is, 0, sizeof(i*tshi)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": 129 | /src/brpc/src/bvar/detail/sampler.h : 40:16/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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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": D:E FINE_SMALnote: L_ARRAY(uint32_tin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample(, tmp), : rhs._ nudma_samplta(),es , time_us6(40);) 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:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here/src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _samp 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | ler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": get_interval_at(i).merge(*rhs._intervals|  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": [i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | b1.merge(b2);247 | memset(this, 0 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | , sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) 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": /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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": In file included from /src/brpc/src/bthread/task_control.cpp:32: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 476 129 | | DE _FsIaNE_mSpMlAeLrL _ARRAY(uint32_t, tmp, =r hsn.e_nuwm_sa mspalmepsl,e r64);_t Step #12 - "compile-honggfuzz-address-x86_64": | yp ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~e Step #12 - "compile-honggfuzz-address-x86_64": (t/src/brpc/src/butil/macros.hhi:426s:29: ); Step #12 - "compile-honggfuzz-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | | char name##_sta ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning2 Step #12 - "compile-honggfuzz-address-x86_64": warnings generated 247 | memset(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": ck_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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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: /src/brpc/src/bvar/detail/percentile.h:in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here129: Step #12 - "compile-honggfuzz-address-x86_64": 13: warning:  29 | variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] return op(v1, v Step #12 - "compile-honggfuzz-address-x86_64": 2); Step #12 - "compile-honggfuzz-address-x86_64": 129 | |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  D/src/brpc/src/bvar/detail/series.hE:F168IN:E13_:S MALnote: L_in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereARR Step #12 - "compile-honggfuzz-address-x86_64": AY(uint32_t, tmp, rhs._num _168s | a m p le s , 64); call Step #12 - "compile-honggfuzz-address-x86_64": _ o| p_ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~r Step #12 - "compile-honggfuzz-address-x86_64": eturnin/src/brpc/src/butil/macros.hg:_vo426:29:id(op, tmp, _data.secon note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426d(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  | ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/series.h: char na116m:e16#:# _stack_array[sizeof(Tp) * name##_stack_array_sinote: 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 | ze];  r e tu r n \ a Step #12 - "compile-honggfuzz-address-x86_64": p p| e ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~n Step #12 - "compile-honggfuzz-address-x86_64": d_seco/src/brpc/src/bvar/detail/percentile.hn:d322(:v36a:l ue,note: _in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereop 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:65 322 | :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 | g e t_i nt e r v a l _ a t ( i_series.app).merge(*rhse.n_di(_notwenrevr->alsget[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: _value(1)); 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": 454 | |  ^ 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": b158.m | e r g e (b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ SeriesSampler(Wi Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53ndow:17: Banote: sein instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here* Step #12 - "compile-honggfuzz-address-x86_64": o wner, R* 53v | a r )  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/window.h_v:a151r:-35>:o p()note: (in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSamplerv1, 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": (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 LatencyRec/src/brpc/src/bvar/detail/series.h:168:13: note: in 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 | orderB a s e {c Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: note: all_op_returnininitializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": g_vo id(op, tmp, _129da | t a . s econd(i)); Step #12 - "compile-honggfuzz-address-x86_64": | DEFINE ^ Step #12 - "compile-honggfuzz-address-x86_64": _SMALL/src/brpc/src/bvar/detail/series.h_:A116RRAY:16: (note: uiin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herent Step #12 - "compile-honggfuzz-address-x86_64": 32_t , tmp, rh116s. | _ n um_sam pretlesurn , a6ppend_4)s;ec Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: ond(value,note: _expanded from macro 'DEFINE_SMALL_ARRAY'op 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:65:25: 426 | note:  in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here  Step #12 - "compile-honggfuzz-address-x86_64":  char na65m | e ##_st a c k_ar r ay[_series.append(_sizeofowner->g(Tpet_v)a l*u e(nam1e#)#)_;s Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": tack/src/brpc/src/bvar/window.h:58:9: _array_size]; note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | Seri \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :170:1: note: esSamplexpanded from hereer( Step #12 - "compile-honggfuzz-address-x86_64": W indowBase* owner, 170R | *t mvpar)_st Step #12 - "compile-honggfuzz-address-x86_64": a c| k_ ^a Step #12 - "compile-honggfuzz-address-x86_64": rray_si/src/brpc/src/bvar/window.hz:e151: Step #12 - "compile-honggfuzz-address-x86_64": 35 | : note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | ^ Step #12 - "compile-honggfuzz-address-x86_64":  _seri/src/brpc/src/bvar/detail/percentile.h:e129:s13_:s amplnote: erdeclared here = n Step #12 - "compile-honggfuzz-address-x86_64": e/src/brpc/src/butil/macros.h:425:20: note: w Serieexpanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": sSam 425 | copler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49nst unsigned n:7: note: ain instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereme Step #12 - "compile-honggfuzz-address-x86_64": # #_stack_a49rray | _sizclases La = (natmeen#c#y_Rseiczoer d:166:1:129 |  note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": DEFINE_SMA166LL_ | ARRAtmp_sY(uitackn_art32ray_si_/src/brpc/src/bvar/detail/percentile.ht:129:ze13: , t Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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 ap/src/brpc/src/bvar/detail/percentile.h:129p:e13n:d _warning: secondvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]( Step #12 - "compile-honggfuzz-address-x86_64": valu 129 | e , _ 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": 426o | p); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   /src/brpc/src/bvar/window.h :65c:h25a:r  nnote: amin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested heree# Step #12 - "compile-honggfuzz-address-x86_64": #_stack_arr a65y | [  s i z e o f  ( T p ) * _nsaemrei#e#s_.satpapcekn_da(r_roawyn_esri-z>eg]e;t _ v a l u e\( Step #12 - "compile-honggfuzz-address-x86_64": 1 | )) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~; 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/src/brpc/src/bvar/window.h::32258::369:: note: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herein 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(WindowBase* ow ne322r | , R* va r )  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   /src/brpc/src/bvar/window.hg:e151t:_35i:n ternote: vain instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested herel_ Step #12 - "compile-honggfuzz-address-x86_64": at(i) .151m | e r g e ( * r h s . _ i n_tseerrviaelss_[sia]m)p;l Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": er = nm/src/brpc/src/bvar/detail/percentile.hep:w454 :Se, 16rhrs._:n umi_enote: ssaSmapmlpelse,r( in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested heret6 Step #12 - "compile-honggfuzz-address-x86_64": h4is);, _v Step #12 - "compile-honggfuzz-address-x86_64": a |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 454 |  r /src/brpc/src/butil/macros.h ):;426: Step #12 - "compile-honggfuzz-address-x86_64": 42 :|  ^note: Step #12 - "compile-honggfuzz-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h : 49 :4267: | b 1 . chmar nanote: eme#in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": #_s 49 | tclass LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": a/src/brpc/src/bvar/detail/percentile.h:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": ck_array[s 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": izeof(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:129: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": rge(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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": /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:129: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/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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/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:247:[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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: /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here 129 |  Step #12 - "compile-honggfuzz-address-x86_64": DEFI NE_381SMAL | L{_ AaRdRAY(ud_ipnt32_rimti, tmp, rhs._num_samples, tiv64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~e Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.hs(_stream, peek_gr:426:29: onote: upexpanded from macro 'DEFINE_SMALL_ARRAY'_i Step #12 - "compile-honggfuzz-address-x86_64": n fo(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: 426 |  note: cinitializer of 'cur_batch' is not a constant expressionha Step #12 - "compile-honggfuzz-address-x86_64": r  name##317 | _stack_a Firray[xesdiHzeadAeof(ndVTapl)u e*< Tn>a mtem#p#[_csutra_cbka_tacrhra]y;_si Step #12 - "compile-honggfuzz-address-x86_64": z e| ]; ^ Step #12 - "compile-honggfuzz-address-x86_64":   \/src/brpc/src/mcpack2pb/serializer.cpp Step #12 - "compile-honggfuzz-address-x86_64": :316 :26| : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here316 | Step #12 - "compile-honggfuzz-address-x86_64": 322 | const size_ t c u r _ b at c h = s t d :g:etmi_ni(nnt,e rvBAaTlC_Ha)t;(i Step #12 - "compile-honggfuzz-address-x86_64": ) .| me ^r Step #12 - "compile-honggfuzz-address-x86_64": ge/src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: (*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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(variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": value, 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": _op/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_primit); Step #12 - "compile-honggfuzz-address-x86_64": ives(_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": |  ^ 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": 65317 | | F i x_esdeHreiaedsA.nadpVpeanldu(e<_To>w ntemrp-[>cguert__bvaatlch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: ue(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": declared here/src/brpc/src/bvar/window.h: Step #12 - "compile-honggfuzz-address-x86_64": 58: 9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested 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, 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flags_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] 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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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": 2 warnings generated. 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:129: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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_service.cpp.o 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/index_service.cpp.o 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/jquery_min_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/memory_service.cpp.o 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/prometheus_metrics_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_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/sockets_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sorttable_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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))/src/brpc/src/bvar/detail/percentile.h:129:13: ;warning:  Step #12 - "compile-honggfuzz-address-x86_64": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | DEFINE_S| MALL_ARRAY ^ Step #12 - "compile-honggfuzz-address-x86_64": (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[/src/brpc/src/bvar/detail/series.hsi:z116eo:f16:(Tp) * name##_st note: acin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herek_a Step #12 - "compile-honggfuzz-address-x86_64": rray 116_ | s i z e ] ;  ret u rn  a\ppe Step #12 - "compile-honggfuzz-address-x86_64": n d| _se ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c Step #12 - "compile-honggfuzz-address-x86_64": ond(value, _op); Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h| :322: ^ Step #12 - "compile-honggfuzz-address-x86_64": 36: /src/brpc/src/bvar/window.hnote: :in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here65 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": 322 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, _va r) ;g Step #12 - "compile-honggfuzz-address-x86_64": e t| _i ^n Step #12 - "compile-honggfuzz-address-x86_64": ter/src/brpc/src/bvar/latency_recorder.h:49:7: note: vin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereal Step #12 - "compile-honggfuzz-address-x86_64": _ at(i).m49e | rgcel(a*srshs .L_aitnetnecryvRalesco[rid]e)r;Ba Step #12 - "compile-honggfuzz-address-x86_64": s e| { ^ 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:454:16: /src/brpc/src/bvar/detail/percentile.h:129:note: 13:in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here  Step #12 - "compile-honggfuzz-address-x86_64":  note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 454 | 129 | b 1 . m e r g e (DbE2F)IIn file included from ; Step #12 - "compile-honggfuzz-address-x86_64": NE_SMAL| /src/brpc/src/brpc/builtin/grpc_health_check_service.cpp ^ Step #12 - "compile-honggfuzz-address-x86_64": L_ARRAY(uint32_t, tmp, rhs./src/brpc/src/bvar/window.h:53: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": 17In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": num_sIn file included from /src/brpc/src/bthread/bthread.h::32amp : Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.hnote: :27l: Step #12 - "compile-honggfuzz-address-x86_64": esIn file included from , /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": 6In file included from in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here/src/brpc/src/bvar/latency_recorder.h4:26: 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/percentile.h::426247:16: 53 | 42 ::  warning: note: 2 warningexpanded from macro 'DEFINE_SMALL_ARRAY' _var->op()(v1, vfirst 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": 426s 2472); | 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:129: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:  generatednote: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": . 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":  Step #12 - "compile-honggfuzz-address-x86_64": | 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:  |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129:13: note: declared here[ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/threads_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64":  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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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": 2 warnings generated. 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] 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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/circuit_breaker.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/cluster_recover_policy.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/compress.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/controller.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/details/has_epollrdhup.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/health_check.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _sampIn file included from l/src/brpc/src/brpc/builtin/index_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from e/src/brpc/src/brpc/server.hr: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:=247:16: warning:  nefirst 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": w 247 | s a mmpelmesre_tt(ythis, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": | pe ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:(40:16: tnote: hiin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heres Step #12 - "compile-honggfuzz-address-x86_64": ); 40 Step #12 - "compile-honggfuzz-address-x86_64": | S | ample() : data(), ^t Step #12 - "compile-honggfuzz-address-x86_64": ime_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/percentile.h:/src/brpc/src/bvar/detail/sampler.h247::98:9:16: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herenote:  Step #12 - "compile-honggfuzz-address-x86_64": explicitly cast the pointer to silence this warning 98 | Step #12 - "compile-honggfuzz-address-x86_64": take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  247/src/brpc/src/bvar/detail/percentile.h:476:28: |   note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | m e m s e t (  t h i_ssa,mpl er0 = ,n eswiz esoafmple(r*_ttyhpie(sth)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":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/details/http_parser.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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.cpp.o 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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 | 2 warning _series_samplesr = new SeriesSa generated. Step #12 - "compile-honggfuzz-address-x86_64": mpler(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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/details/load_balancer_with_naming.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/mesalink_ssl_helper.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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": 12 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.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/naming_service_thread.cpp.o 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": [ 72%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/tcmalloc_extension.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/usercode_backup_pool.cpp.o 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/prometheus_metrics_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:247: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": 247 | 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::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o 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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/event_dispatcher.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /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: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/global.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/grpc.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:In file included from 12:/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": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: 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:13warning: : note: in 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 | 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": 247 | c a l l m_oemsp_returening_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: tin 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": t/src/brpc/src/bvar/window.hh: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": is65 | _series.append(_owner->get_val,ue(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 | Serie0sSa, msplizeerof(*thi(sW)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": i/src/brpc/src/bvar/detail/sampler.hnd:o40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herew Step #12 - "compile-honggfuzz-address-x86_64": Ba s40 | e* Sampleowne(r), R* v: dar) Step #12 - "compile-honggfuzz-address-x86_64": ata(), tim |  ^e_us Step #12 - "compile-honggfuzz-address-x86_64": (0/src/brpc/src/bvar/window.h) {}:151 Step #12 - "compile-honggfuzz-address-x86_64": :35: |  ^ Step #12 - "compile-honggfuzz-address-x86_64": note: /src/brpc/src/bvar/detail/sampler.h:in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | 116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | _series_samp ler = new  SSampleriesSeample tmpr(t; Step #12 - "compile-honggfuzz-address-x86_64": his| , ^ _v Step #12 - "compile-honggfuzz-address-x86_64": ar); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: /src/brpc/src/bvar/detail/sampler.h:98:9: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class Latennote: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": cy Record98 | erBas e { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h t:a129k:e13_:s ampnote: leinitializer of 'tmp_stack_array_size' is not a constant expression() Step #12 - "compile-honggfuzz-address-x86_64": ;  Step #12 - "compile-honggfuzz-address-x86_64": |  ^129 Step #12 - "compile-honggfuzz-address-x86_64": |   /src/brpc/src/bvar/detail/percentile.h : 476 : 28D:E FINnote: E_in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereSM Step #12 - "compile-honggfuzz-address-x86_64": A LL_ARRAY(uint32476_ | t , t m p, rh s . _ nu_ms_asmapmlpleers, = n64e)w; Step #12 - "compile-honggfuzz-address-x86_64": | sampler_ ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426type(t:his42: ); Step #12 - "compile-honggfuzz-address-x86_64": 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/percentile.h:247:16: note: explicitly cast the pointer to silence this warning426 | char name##_stack_ Step #12 - "compile-honggfuzz-address-x86_64": 247 | array[sizeof( Tp) mem * nset(ame#this#_st,a ck_array_size0, ]s;i z e \ Step #12 - "compile-honggfuzz-address-x86_64": | of(*this)); ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  | note:  (void*)expanded from here Step #12 - "compile-honggfuzz-address-x86_64":  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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | get_interval_at(i).merge(*rhs._3interval warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": s[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http2.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/http_message.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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/src/brpc/src/bvar/detail/percentile.h: Step #12 - "compile-honggfuzz-address-x86_64": 129:13:  warning: 116variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] |  Step #12 - "compile-honggfuzz-address-x86_64": return a 129 | ppe nd_second(va lue , DE_FINoE_SMALL_ARRAY(uint3p2_)t;, Step #12 - "compile-honggfuzz-address-x86_64": | t ^ Step #12 - "compile-honggfuzz-address-x86_64": mp, /src/brpc/src/bvar/window.h:65:25: rnote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": hs. 65 | _ n u _series.appemnd(_owner-_s>geta_vmapllue(1es),) ;6 Step #12 - "compile-honggfuzz-address-x86_64": |  ^4 Step #12 - "compile-honggfuzz-address-x86_64": ); Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h: 58| :9 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: 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": /src/brpc/src/butil/macros.h:426: 58 | 29 : Senote: riexpanded from macro 'DEFINE_SMALL_ARRAY'es Step #12 - "compile-honggfuzz-address-x86_64": Sampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^426 | Step #12 - "compile-honggfuzz-address-x86_64":  char n/src/brpc/src/bvar/window.ha:m151e:#35#:_ stanote: ck_in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested herear Step #12 - "compile-honggfuzz-address-x86_64": ray 151[siz | eof( Tp ) * name _series_#sampler = new#_st SerieascSk_array_size]a; mpler(t hi\s Step #12 - "compile-honggfuzz-address-x86_64": , | _va ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~r 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/src/brpc/src/bvar/latency_recorder.h::49322:36: note: :7in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": : note: 322 |  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here  Step #12 - "compile-honggfuzz-address-x86_64": get _49i | ntcelass LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: rval_note: atinitializer of 'tmp_stack_array_size' is not a constant expression(i Step #12 - "compile-honggfuzz-address-x86_64": ).merge(*rhs._intervals 129[i | ] ) ;  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": DEFINE_SMA/src/brpc/src/bvar/detail/percentile.hL:L454_:A16RRAY:( uintnote: 32in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here_t Step #12 - "compile-honggfuzz-address-x86_64": , tmp, rhs._num_sa454m | p l e s, 64 )b;1. Step #12 - "compile-honggfuzz-address-x86_64": me r| ge ^( Step #12 - "compile-honggfuzz-address-x86_64": b2); Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h| :426 ^: Step #12 - "compile-honggfuzz-address-x86_64": 42: note: /src/brpc/src/bvar/window.hexpanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | : 53 : 17:ch ar note: nain instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested hereme Step #12 - "compile-honggfuzz-address-x86_64": # #_stack_ar53r | a y [  s iz e o f  ( T_pv)a r*- >onapm(e)#(#v_1s,t avc2)k;_a Step #12 - "compile-honggfuzz-address-x86_64": r r| ay ^_s Step #12 - "compile-honggfuzz-address-x86_64": ize]; \ Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/call_op_returning_void.h ^: Step #12 - "compile-honggfuzz-address-x86_64": 29:12: note: :in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here219:1 Step #12 - "compile-honggfuzz-address-x86_64": : note: expanded from here29 | Step #12 - "compile-honggfuzz-address-x86_64": return219 | otpm(pv_1s,t avc2k)_;ar Step #12 - "compile-honggfuzz-address-x86_64": r a| y_ ^s 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/series.h:168:13:/src/brpc/src/bvar/detail/percentile.h :129note: :13in 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":  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": 168 | 425 |  c o ncsatll _oupn_sirgenteudrn innagm_ev#o#i_d(sotapc,k _tamrpr,a y__dsaitzae. =s e(cnoanmde(#i#)_)s;ize Step #12 - "compile-honggfuzz-address-x86_64": <| = ^( Step #12 - "compile-honggfuzz-address-x86_64": maxsize) ? /src/brpc/src/bvar/detail/series.hn:a116m:e16##_size : 0); \ 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:215: Step #12 - "compile-honggfuzz-address-x86_64": 1 : note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 116 | 215 | t mpr_esttuarcnk_ aarprpaeyn_ds_iszeeco Step #12 - "compile-honggfuzz-address-x86_64": n d| (va^l Step #12 - "compile-honggfuzz-address-x86_64": ue, _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: In file included from /src/brpc/src/brpc/builtin/version_service.cppin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here:19 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: 25322: 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.hg:e28t: Step #12 - "compile-honggfuzz-address-x86_64": _In file included from i/src/brpc/src/bvar/latency_recorder.hn:t26e: Step #12 - "compile-honggfuzz-address-x86_64": rva/src/brpc/src/bvar/detail/percentile.hl:_247a:t16(:i ).mwarning: ergfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]e( Step #12 - "compile-honggfuzz-address-x86_64": *rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^247 Step #12 - "compile-honggfuzz-address-x86_64": |  mem/src/brpc/src/bvar/detail/percentile.hs:e454t:(16:t hisnote: ,in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here  Step #12 - "compile-honggfuzz-address-x86_64": 0, s i454z | e o f  ( *  t h i s ) )b;1.m Step #12 - "compile-honggfuzz-address-x86_64": e r| ge ^( Step #12 - "compile-honggfuzz-address-x86_64": b2); 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/window.hnote: :53in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here:17 Step #12 - "compile-honggfuzz-address-x86_64": : note: 40in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here |  Step #12 - "compile-honggfuzz-address-x86_64": Sa m53p | l e ( ) : d a t a ( ) , t i_mvea_ru-s>(op0())( v{1}, Step #12 - "compile-honggfuzz-address-x86_64": v 2| ); ^ 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: /src/brpc/src/bvar/detail/call_op_returning_void.h:29note: :12in instantiation of member function 'bvar::detail::Sample>::Sample' requested here: 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": 116 | 29 |  r e t uSrna moppl(ev<1T,> vt2m)p;; 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:/src/brpc/src/bvar/detail/sampler.h168::9813::9 : note: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 98 | 168 | t a k e c_asll_op_returamning_voiple(); Step #12 - "compile-honggfuzz-address-x86_64": d(op, |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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": 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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.sec2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": ond(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": [ 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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_array2 warning_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": s:160 generated:. Step #12 - "compile-honggfuzz-address-x86_64": 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/cluster_recover_policy.cpp:24: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": :16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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_status_code.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/input_messenger.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/load_balancer.cpp.o 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/memcache.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": In 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 /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:247: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": 247In 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:247: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": 247 | memset( th i memsset(, 0thi, sizeof(*thiss, ))0;, sizeof(* Step #12 - "compile-honggfuzz-address-x86_64": | 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/detail/sampler.h:/src/brpc/src/bvar/detail/sampler.h:4040:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": : 16:40 |  Sanote: mplin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heree() : Step #12 - "compile-honggfuzz-address-x86_64": dat40 | a Sam()pl, time_us(0) e() : da{} Step #12 - "compile-honggfuzz-address-x86_64": | ta(), t ^ Step #12 - "compile-honggfuzz-address-x86_64": i/src/brpc/src/bvar/detail/sampler.h:me_us(116:23: 0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ 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 |  /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": Sample 116 | < T> t m p ;  Step #12 - "compile-honggfuzz-address-x86_64": | S ^a Step #12 - "compile-honggfuzz-address-x86_64": mple t/src/brpc/src/bvar/detail/sampler.h:98:9: mp; Step #12 - "compile-honggfuzz-address-x86_64": | note: ^ Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: 98 |   note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here  Step #12 - "compile-honggfuzz-address-x86_64": take_sample(98) | ;  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   take_s/src/brpc/src/bvar/detail/percentile.ham:p476l:e28(:) ; Step #12 - "compile-honggfuzz-address-x86_64": note: | in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64":  476 | /src/brpc/src/bvar/detail/percentile.h : 476 : 28 :   note: _in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested heresa Step #12 - "compile-honggfuzz-address-x86_64": m pler = new476 |  s a m p l e r _t_saymppel(ert h=i sn)e;w Step #12 - "compile-honggfuzz-address-x86_64": s| am ^p Step #12 - "compile-honggfuzz-address-x86_64": ler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247247: | 16:   note:  explicitly cast the pointer to silence this warning  Step #12 - "compile-honggfuzz-address-x86_64": 247 | me m s e t( mthemseits(,t hi0s,, s0iz,e of(*stihziesof));(* Step #12 - "compile-honggfuzz-address-x86_64":  t| hi ^s Step #12 - "compile-honggfuzz-address-x86_64":  ));|  Step #12 - "compile-honggfuzz-address-x86_64": (void*)|  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/nshead_pb_service_adaptor.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/nshead_service.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/parallel_channel.cpp.o 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/partition_channel.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/periodic_task.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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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[ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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_arraIn 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": y[siIn file included from zeof/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:247:16:T 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": p 247 | ) * n ame##me_stamset(ck_atrrayhis_si, 0ze];, siz eof \(*t Step #12 - "compile-honggfuzz-address-x86_64": his|  ^ Step #12 - "compile-honggfuzz-address-x86_64": :33:)1);: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 33 | |  ^tmp_ Step #12 - "compile-honggfuzz-address-x86_64": stack_array_si/src/brpc/src/bvar/detail/sampler.h:z40e Step #12 - "compile-honggfuzz-address-x86_64": :| 16:^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129: 13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40/src/brpc/src/butil/macros.h:425:20 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  425 | /src/brpc/src/bvar/detail/sampler.h:116:23: constnote: uin instantiation of member function 'bvar::detail::Sample>::Sample' requested herens Step #12 - "compile-honggfuzz-address-x86_64": igned n ame##_s116t | a c k _ a r r a y _ s i zSea m=p l(ene #t#m_spi;ze Step #12 - "compile-honggfuzz-address-x86_64": | <= ^ Step #12 - "compile-honggfuzz-address-x86_64": (maxsize)/src/brpc/src/bvar/detail/sampler.h :?98: 9:n amenote: ##_in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested heresi Step #12 - "compile-honggfuzz-address-x86_64": z e : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": 98| |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   : 29t:a1:k e_sanote: mexpanded from herepl Step #12 - "compile-honggfuzz-address-x86_64": e (); Step #12 - "compile-honggfuzz-address-x86_64": 29| | t ^m Step #12 - "compile-honggfuzz-address-x86_64": p_stack_a/src/brpc/src/bvar/detail/percentile.hr:ra476y:_s28i:z e Step #12 - "compile-honggfuzz-address-x86_64": note: | in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/policy/baidu_naming_service.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/policy/baidu_rpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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 un2signed name warning##_sstack generated_arr. 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": :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": [ 78%] 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/policy/constant_concurrency_limiter.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 78%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/crc32c_checksum.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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": [ 81%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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 | _seIn file included from /src/brpc/src/brpc/periodic_task.cpp:ries.ap19: Step #12 - "compile-honggfuzz-address-x86_64": pIn file included from en/src/brpc/src/bthread/bthread.hd:(32_: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:o27w: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.hn:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:e26r: Step #12 - "compile-honggfuzz-address-x86_64": ->g/src/brpc/src/bvar/detail/percentile.h:247:e16t:_ warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]va Step #12 - "compile-honggfuzz-address-x86_64": lue(1) 247 | ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h : 58m:e9:m setnote: (in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested heret Step #12 - "compile-honggfuzz-address-x86_64": his 58 | ,  0, sizeof(* this S)e)r; Step #12 - "compile-honggfuzz-address-x86_64": | i ^ Step #12 - "compile-honggfuzz-address-x86_64": es/src/brpc/src/bvar/detail/sampler.hSa:40mple:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), r(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:time_us151(:350: ) {note: }in 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": /src/brpc/src/bvar/detail/sampler.h Step #12 - "compile-honggfuzz-address-x86_64": :116151: | 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":  _series_sampler = new SeriesSampl/src/brpc/src/bvar/detail/sampler.h:98er(t:h9i:s note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here, _var Step #12 - "compile-honggfuzz-address-x86_64": ) 98 | ; 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:476:28: note: |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.hin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here:49 Step #12 - "compile-honggfuzz-address-x86_64": : 7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | 476 | c l ass L at en c _ysRaemcpolrerd er=B neasew { s Step #12 - "compile-honggfuzz-address-x86_64": am p| le ^r Step #12 - "compile-honggfuzz-address-x86_64": _type(thi/src/brpc/src/bvar/detail/percentile.hs:)129;:13 Step #12 - "compile-honggfuzz-address-x86_64": : |  ^note: Step #12 - "compile-honggfuzz-address-x86_64": initializer of 'tmp_stack_array_size' is not a constant expression/src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 |  Step #12 - "compile-honggfuzz-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64 ) ;  Step #12 - "compile-honggfuzz-address-x86_64": memset(th| is, ^ Step #12 - "compile-honggfuzz-address-x86_64": 0, s/src/brpc/src/butil/macros.hi:z426e:o42f: (*note: thiexpanded from macro 'DEFINE_SMALL_ARRAY's) 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": 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:129: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": [ 81%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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": /src/brpc/src/bvar/detail/percentile.h: 426 | 129: 13 : cwarning: harvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64":  na 129m | e ##_stack_ a r r a y[  s i DEzeFoINE_SMALL_ARRAY(uint3f(Tp2) * name##_t, tmp, rhs_.s_tnaum_sck_aramprlaeys_,s iz6e4];) ;  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:426:29:161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 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:129:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426425 | :20 :  note: cexpanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": har name##_stack_a rray[sizeof(Tp) * 425n | a m e # #_csotnasck_t unsignaerdra yn_asmiez#e#]_;s t a c k _ a\rr Step #12 - "compile-honggfuzz-address-x86_64": a| y_ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~s Step #12 - "compile-honggfuzz-address-x86_64": ize = (/src/brpc/src/bvar/detail/percentile.hn:a322m:e36#:# _sinote: zein instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here <= Step #12 - "compile-honggfuzz-address-x86_64": (maxsize322) | ? n a m e # # _s i z e :  0ge)t;_ i\nt Step #12 - "compile-honggfuzz-address-x86_64": e rv| al ^_ Step #12 - "compile-honggfuzz-address-x86_64": at(i).:m157e:r1g:e( *rhnote: s.expanded from here_i Step #12 - "compile-honggfuzz-address-x86_64": n tervals[i])157; | t Step #12 - "compile-honggfuzz-address-x86_64": m p| _s ^tack Step #12 - "compile-honggfuzz-address-x86_64": _array_si/src/brpc/src/bvar/detail/percentile.hz:e454:16: Step #12 - "compile-honggfuzz-address-x86_64": |  ^ 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": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/domain_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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);2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": \ 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dynpart_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.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/gzip_compress.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/http2_rpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.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/hulu_pbrpc_protocol.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:[ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/locality_aware_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/memcache_binary_protocol.cpp.o Step #12 - "compile-honggfuzz-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 #12 - "compile-honggfuzz-address-x86_64": 615 | DEFINE_SMALL_ARRAY(SubCall, 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": 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/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": 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": :55:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 55 | aps_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: 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": :51:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 51 | aps_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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(_ownerIn file included from -/src/brpc/src/brpc/parallel_channel.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": >gIn 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:28et_v: Step #12 - "compile-honggfuzz-address-x86_64": aIn file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": lu/src/brpc/src/bvar/detail/percentile.he:247(:161: ));warning: 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": Step #12 - "compile-honggfuzz-address-x86_64":  247 | /src/brpc/src/bvar/window.h : 58: 9 : menote: msin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereet Step #12 - "compile-honggfuzz-address-x86_64": ( this, 580 |  ,  s i z e oSfer(i*estShaimspl)e)r;(W Step #12 - "compile-honggfuzz-address-x86_64": in d| ow ^B Step #12 - "compile-honggfuzz-address-x86_64": ase* own/src/brpc/src/bvar/detail/sampler.he:r40,: 16R* : varnote: ) 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":  ^ Step #12 - "compile-honggfuzz-address-x86_64": 40 | /src/brpc/src/bvar/window.h : 151 :S35am:p le()note: :in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here d Step #12 - "compile-honggfuzz-address-x86_64": a ta(),151 t | i m e _ u s (  0  ) {_}se Step #12 - "compile-honggfuzz-address-x86_64": r i| es ^_ Step #12 - "compile-honggfuzz-address-x86_64": sampler/src/brpc/src/bvar/detail/sampler.h =: 116:n23e:w  Snote: erin instantiation of member function 'bvar::detail::Sample>::Sample' requested hereie Step #12 - "compile-honggfuzz-address-x86_64": sSampler(th116i | s , _ v a r ) ;  Step #12 - "compile-honggfuzz-address-x86_64": | Sa ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: mplnote: e::expose_impl' requested hereT> Step #12 - "compile-honggfuzz-address-x86_64": tmp; Step #12 - "compile-honggfuzz-address-x86_64": 49| |  ^ Step #12 - "compile-honggfuzz-address-x86_64": class Lat/src/brpc/src/bvar/detail/sampler.hen:c98y:R9e:c ordnote: erin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereBa Step #12 - "compile-honggfuzz-address-x86_64": s e { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 98 | /src/brpc/src/bvar/detail/percentile.h :129: 13 : tanote: keinitializer of 'tmp_stack_array_size' is not a constant expression_ Step #12 - "compile-honggfuzz-address-x86_64": sample(); Step #12 - "compile-honggfuzz-address-x86_64": | 129 ^ | Step #12 - "compile-honggfuzz-address-x86_64":   /src/brpc/src/bvar/detail/percentile.h : 476 :D28E:F INEnote: _Sin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereMAL Step #12 - "compile-honggfuzz-address-x86_64": L_ARRAY(uin 476 | t32_t, t mp, rh s. _nu m_s _saammpplerles , =64 new); Step #12 - "compile-honggfuzz-address-x86_64": s| ampl ^ Step #12 - "compile-honggfuzz-address-x86_64": er/src/brpc/src/butil/macros.h:_ty426pe(:42:this );note:  Step #12 - "compile-honggfuzz-address-x86_64": 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[s/src/brpc/src/bvar/detail/percentile.hiz:e247o:f16:( Tp)note: *explicitly cast the pointer to silence this warning n Step #12 - "compile-honggfuzz-address-x86_64": a me##_247s | t a c k _ a r r amye_mssiezte(]; \ Step #12 - "compile-honggfuzz-address-x86_64":  | th ^i Step #12 - "compile-honggfuzz-address-x86_64": s, 0:, 219:s1i:z eofnote: (expanded from here* Step #12 - "compile-honggfuzz-address-x86_64": this));  Step #12 - "compile-honggfuzz-address-x86_64": | 219 ^ | Step #12 - "compile-honggfuzz-address-x86_64": t mp_| sta (void*)c Step #12 - "compile-honggfuzz-address-x86_64": k_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": :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": In file included from /src/brpc/src/brpc/policy/domain_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nacos_naming_service.cpp.o 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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 here2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64":  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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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 | c[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": lass LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 2 warnings generated. 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/nshead_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 |  _sampl/src/brpc/src/bvar/detail/percentile.her = new sampler_:type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 129: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/percentile.h: 247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 129 247 | memset(this, 0, sizeof |  (* th 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) i* name##_sstack_array_size]); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:)322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": ; 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 |  b1.m Step #12 - "compile-honggfuzz-address-x86_64": erge(b 2); 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::Percentile::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(o2p, tmp, _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 warnings| generated. Step #12 - "compile-honggfuzz-address-x86_64":  (void*) Step #12 - "compile-honggfuzz-address-x86_64":  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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 86%] 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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: 2 warnings generated. Step #12 - "compile-honggfuzz-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 #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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/redis_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t,/src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp :84:30: tmp, rhs._nuwarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": m_s 84 | char headeamples, 64);r_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 | cha Step #12 - "compile-honggfuzz-address-x86_64": r 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: Step #12 - "compile-honggfuzz-address-x86_64": 20: /src/brpc/src/butil/macros.h:426:42:note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 82 note: | const uint32expanded from macro 'DEFINE_SMALL_ARRAY'_t me Step #12 - "compile-honggfuzz-address-x86_64": ta_size = GetProtobufByte 426 | Size(meta); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ 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 char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ 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": /src/brpc/src/bvar/detail/percentile.h:129: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": :187:1: note: 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": :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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: retuwarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | rn appen d_se co nd (value, _o DEFIp);N Step #12 - "compile-honggfuzz-address-x86_64": | E_ ^SMAL Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:L_ARRAY(uint32_t65:25, tmp: , rhsnote: ._nin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hereum Step #12 - "compile-honggfuzz-address-x86_64": 65_sa | m p les , _seri es.a64);ppend(_owner Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": ->g/src/brpc/src/butil/macros.he:t426_v:a29:lue(1) note: expanded from macro 'DEFINE_SMALL_ARRAY'); Step #12 - "compile-honggfuzz-address-x86_64": 426 | char 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 | SeriesS name##ampler(Wi_stack_array[ndowBase* ownersiz, R* var) Step #12 - "compile-honggfuzz-address-x86_64": eof(Tp)|  ^ 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 * name##_stack_array_size] Step #12 - "compile-honggfuzz-address-x86_64": 151 | ; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322 _series_sampler = :36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | new SeriesSampler(this, _var get_interval_at(i); 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 | c).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:454:16: lass LatencyRecorderBanote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | se { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 53 | DEFINE _SMAL _vaL_ARRAY(uint32r->op()(v1, v2);_t, tmp, 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: 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:note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | retu42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | charrn 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 |  name##_stack_a call_oprray[s_retuizeofrning_void(o(Tp) * name##_sp, tmp, tack_data.sec_array_sizond(i)); Step #12 - "compile-honggfuzz-address-x86_64": e]; |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116 \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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 | :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp retu_stack_arrn append_second(ray_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129: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 | constvalue, _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(_own unsigneder -n>agemte_#va#_stacklu_ea(rr1a)); Step #12 - "compile-honggfuzz-address-x86_64": | y_s ^i Step #12 - "compile-honggfuzz-address-x86_64": ze = (n/src/brpc/src/bvar/window.ha:m58e:#9#:_ size <=note:  (min instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereaxs Step #12 - "compile-honggfuzz-address-x86_64": ize) ? na58 | m e # # S_serizeies S:a 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": mpler(Wi:157:ndowBa1: se* ownote: nexpanded from hereer Step #12 - "compile-honggfuzz-address-x86_64": , R* var) Step #12 - "compile-honggfuzz-address-x86_64": 157 | t| mp ^_ Step #12 - "compile-honggfuzz-address-x86_64": stack_a/src/brpc/src/bvar/window.hrra:151:35:y _note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 151 | 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:247: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": 247 | memse t ( th i s  ,_se ries_0sa,mpler 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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":  = 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/baidu_rpc_protocol.cpp:30: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | memset(this, 0, sizeof(*thiIn file included from /src/brpc/src/brpc/policy/discovery_naming_service.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": sIn 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": : 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": : Step #12 - "compile-honggfuzz-address-x86_64":  In file included from | /src/brpc/src/bvar/latency_recorder.h: (void*)26: Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247: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": 247 | 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(), ti2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": me_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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/remote_file_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 86%] 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/snappy_compress.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In 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.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 89%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 89%] 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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 | [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/timeout_concurrency_limiter.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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/ubrpc2pb_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/weighted_randomized_load_balancer.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] 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": [ 89%] 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/protocol.cpp.o 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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: 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": note: expanded from hereIn file included from  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": 219 | In file included from tmp_/src/brpc/src/brpc/versioned_ref_with_id.hstac:k_ar26ray_: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:si32: Step #12 - "compile-honggfuzz-address-x86_64": zeIn file included from /src/brpc/src/bthread/mutex.h Step #12 - "compile-honggfuzz-address-x86_64": : 27| : Step #12 - "compile-honggfuzz-address-x86_64": In file included from ^/src/brpc/src/bvar/utils/lock_timer.h 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/src/brpc/src/bvar/detail/percentile.h::12926:: Step #12 - "compile-honggfuzz-address-x86_64": 13: /src/brpc/src/bvar/detail/percentile.h:247note: :16declared here: Step #12 - "compile-honggfuzz-address-x86_64": warning: /src/brpc/src/butil/macros.h:first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]425: Step #12 - "compile-honggfuzz-address-x86_64": 20 : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 247 | memset(this, 0,425  | s i z e ofco(n*stth isun)s)i;gn Step #12 - "compile-honggfuzz-address-x86_64": e d n| am ^e Step #12 - "compile-honggfuzz-address-x86_64": ##_stack_a/src/brpc/src/bvar/detail/sampler.hr:r40a:y16_:s izenote: =in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here ( Step #12 - "compile-honggfuzz-address-x86_64": n ame##_s40i | z e S a::116215::123:: note: note: expanded from herein instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 215116 | | t m p _ s t a c k _a rSraamyp_lsei t Step #12 - "compile-honggfuzz-address-x86_64": m 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/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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 hereIn file included from /src/brpc/src/brpc/policy/remote_file_naming_service.cpp: Step #12 - "compile-honggfuzz-address-x86_64": 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": 29In 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:r28: Step #12 - "compile-honggfuzz-address-x86_64": eIn file included from t/src/brpc/src/bvar/latency_recorder.hu:r26n: Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.ho:p247(:v161:, v2warning: );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": | 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": 247 168 | | c amlelm_soept_(retthuirsning,_ vo0id,( ops,i ztmpe,o f_data.(s*ectohnids()i)); 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:116:16: /src/brpc/src/bvar/detail/sampler.hnote: :40in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here:16: Step #12 - "compile-honggfuzz-address-x86_64": 116 | note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | S amrpelteu(r)n  app: data(), tiemned__usse(0)cond ({valu} Step #12 - "compile-honggfuzz-address-x86_64": e|  ^, _o Step #12 - "compile-honggfuzz-address-x86_64": p); 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::116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here65 Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample t: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 | mp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   /src/brpc/src/bvar/detail/sampler.h : 98_:s9: erienote: s.in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herea Step #12 - "compile-honggfuzz-address-x86_64": pp en98 | d ( _ 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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":  take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t,6 tmp, rh4);s._num_s Step #12 - "compile-honggfuzz-address-x86_64": | amples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~:426:29 Step #12 - "compile-honggfuzz-address-x86_64": : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64":  426 | char na/src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY'me##_s Step #12 - "compile-honggfuzz-address-x86_64": tack_arra 426 | y [sizeof (T p ) * cnahmare #n#_amseta#ck_array_s#_stack_aizrre];a y [ \ Step #12 - "compile-honggfuzz-address-x86_64": siz e| of ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h(:322:36: Tpnote: )in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": * n a322m | e # # _ s t gacetk_ar_interarvayl_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _size];/src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | \ Step #12 - "compile-honggfuzz-address-x86_64": 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::Percentile::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 Step #12 - "compile-honggfuzz-address-x86_64":  op(v/src/brpc/src/bvar/detail/percentile.h1, v2); Step #12 - "compile-honggfuzz-address-x86_64": | :322: ^36: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h: 168:13: note: note: in 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 | in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": call_op_returning_void(op, tmp , _322 | da ta.second(i)) ;  Step #12 - "compile-honggfuzz-address-x86_64": | get_interval_at(i).merge(*rhs._in ^ Step #12 - "compile-honggfuzz-address-x86_64": terva/src/brpc/src/bvar/detail/series.h:ls[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:11616: :16note: : in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested herenote: 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": 116 | return append_second(454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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 | 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 _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 29 | retur/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(Windon 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": wBase* owner, R*168 v | a r ) Step #12 - "compile-honggfuzz-address-x86_64": |  cal ^ 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": l_op_returning_void(op, tmp, _data.s econd(i))151; |  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   _s/src/brpc/src/bvar/detail/series.her:i116e:s16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here_sampler = Step #12 - "compile-honggfuzz-address-x86_64": new 116 |  Series S ampler(thisreturn, _var) append_;se Step #12 - "compile-honggfuzz-address-x86_64": c o| nd ^( Step #12 - "compile-honggfuzz-address-x86_64": value,/src/brpc/src/bvar/latency_recorder.h: _op);49:7 Step #12 - "compile-honggfuzz-address-x86_64": : | note: ^In file included from /src/brpc/src/brpc/policy/round_robin_load_balancer.cpp:in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here22 Step #12 - "compile-honggfuzz-address-x86_64": : 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": Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h 49/src/brpc/src/bvar/window.h:65:33: Step #12 - "compile-honggfuzz-address-x86_64": | :In file included from 25: c/src/brpc/src/brpc/socket_id.hlnote: :asin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested heres Step #12 - "compile-honggfuzz-address-x86_64": 25 65 | Latenc: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.hyR:e26c: Step #12 - "compile-honggfuzz-address-x86_64": oIn file included from r/src/brpc/src/bthread/bthread.hd:e32r: Step #12 - "compile-honggfuzz-address-x86_64": BIn file included from a/src/brpc/src/bthread/mutex.hs:e {27 Step #12 - "compile-honggfuzz-address-x86_64": : Step #12 - "compile-honggfuzz-address-x86_64": In file included from |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/utils/lock_timer.h_series.append(_owner-:>28g: Step #12 - "compile-honggfuzz-address-x86_64": eIn file included from t/src/brpc/src/bvar/latency_recorder.h_:v26a: Step #12 - "compile-honggfuzz-address-x86_64": lue(1)); 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:129:24713: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": :16: 129 | warning:   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/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 | SeriesSam/src/brpc/src/butil/macros.hp:l426e:r42(:W infirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]dowBasenote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64":  * o Step #12 - "compile-honggfuzz-address-x86_64": wner, R*426 v | ar) Step #12 - "compile-honggfuzz-address-x86_64": | char ^ Step #12 - "compile-honggfuzz-address-x86_64": name ##_st247ack_a | rray [size/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 | o f  ( T p ) _*s enraimees#_#s_asmtpalce k_arrr =  n ew Seay_sizrei]e;s S a m p l\er Step #12 - "compile-honggfuzz-address-x86_64": ( m| eth ^i Step #12 - "compile-honggfuzz-address-x86_64": s, _var);:m166 Step #12 - "compile-honggfuzz-address-x86_64": : 1| : ^s Step #12 - "compile-honggfuzz-address-x86_64": et(this, note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 0 166 | tmp_stack_ar/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 | ,crlaasys_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64":   LatencsiyReczor/src/brpc/src/bvar/detail/percentile.h:d129eof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^erBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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":  425 | c:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expressiono Step #12 - "compile-honggfuzz-address-x86_64": nst unsigned name##_129 | stac k _ array _ s i zDeE F=I N(En_aSmMeA#L#L__sAiRzReA Y<(=u i(nmt32_t, taxsize) m? pn,a mreh#s#.__sniuzme_ s:a mp0le)s;, \ Step #12 - "compile-honggfuzz-address-x86_64": 6 4| ) ^; Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": :162 |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h::1: 426:note: 42:expanded from here  Step #12 - "compile-honggfuzz-address-x86_64":  162 | tmp_stack_note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | chararray_size Step #12 - "compile-honggfuzz-address-x86_64": n| am^e Step #12 - "compile-honggfuzz-address-x86_64": ##_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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": | [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.cpp.o Step #12 - "compile-honggfuzz-address-x86_64":  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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 | c/src/brpc/src/bvar/detail/percentile.h:129h:a13r: warning:  variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | name##_stack_a r ray[  s i zeo fDE(TpF)I N*E name##_stack_arr_ay_size]; S MA\LL Step #12 - "compile-honggfuzz-address-x86_64": _ARR AY| (uin ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": t/src/brpc/src/bvar/detail/percentile.h:322:36: note: 3in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 2_t, 322 | t m p , rget_intehsrva.l__naut(i).m_msampergle(e*s, rhs._6i4nt);e Step #12 - "compile-honggfuzz-address-x86_64": rv | al ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": s[i]); Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/butil/macros.h| : ^426: Step #12 - "compile-honggfuzz-address-x86_64": 29:/src/brpc/src/bvar/detail/percentile.h:454:16 : note: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hereexpanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 454 | b1.mer g426e | ( b 2 ) ;c Step #12 - "compile-honggfuzz-address-x86_64": h a| r ^ Step #12 - "compile-honggfuzz-address-x86_64": nam/src/brpc/src/bvar/window.h:e53:17#:# _stnote: acin instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested herek_ Step #12 - "compile-honggfuzz-address-x86_64": arr a53y | [ sizeof ( T p ) * n am e # # __svtaarc->okp_(a)r(rva1y,_ svi2z)e;]; 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 Step #12 - "compile-honggfuzz-address-x86_64": :29:12: /src/brpc/src/bvar/detail/percentile.h:note: 322:in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here36: Step #12 - "compile-honggfuzz-address-x86_64": note: 29in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here |  Step #12 - "compile-honggfuzz-address-x86_64": return op(v1, v3222 | ) get; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: _inote: nin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereterv Step #12 - "compile-honggfuzz-address-x86_64": a l_at(i).me168r | g e ( * r h s . _ i n t ecravlalls_[oip]_)r;etur Step #12 - "compile-honggfuzz-address-x86_64": n i| ng_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(va ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | l u e , _ o p ) ; _ Step #12 - "compile-honggfuzz-address-x86_64": v ar| -> ^o Step #12 - "compile-honggfuzz-address-x86_64": p()(v1, v2/src/brpc/src/bvar/window.h);:65 Step #12 - "compile-honggfuzz-address-x86_64": :25 :|  ^ Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here/src/brpc/src/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": 65 |  Step #12 - "compile-honggfuzz-address-x86_64": 29 | _series.append(_ow returnn eorp-(>vg1e,t v2)_;value Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": (1))/src/brpc/src/bvar/detail/series.h:168:13:; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-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 #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 | SeriesSa168 | call_ompp_lreert(uWrning_void(op, tmindowBase* owner,p ,R *_ dvaatra).s Step #12 - "compile-honggfuzz-address-x86_64": e c| on ^d Step #12 - "compile-honggfuzz-address-x86_64": (i)); 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/series.h:116:: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSa16: 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 | retumrpnle ra(pptehnids_s,e c_onvda(rv)a;lu Step #12 - "compile-honggfuzz-address-x86_64": e ,| _ ^o Step #12 - "compile-honggfuzz-address-x86_64": p); Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/latency_recorder.h: ^49 Step #12 - "compile-honggfuzz-address-x86_64": :7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBas/src/brpc/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": e { Step #12 - "compile-honggfuzz-address-x86_64": |  ^65 Step #12 - "compile-honggfuzz-address-x86_64": |   /src/brpc/src/bvar/detail/percentile.h : 129 :13:  note: _initializer of 'tmp_stack_array_size' is not a constant expressionse Step #12 - "compile-honggfuzz-address-x86_64": r ies.append(_owner->get129 | _ va l ue ( DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_sampl1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": es, /src/brpc/src/bvar/window.h:58:69: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here4); 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: 58 | note: Sexpanded from macro 'DEFINE_SMALL_ARRAY'er Step #12 - "compile-honggfuzz-address-x86_64": i esSam426p | l e r (WcihnadorwB ansame##_e* ownesrt,a R* vck_array[sizar) Step #12 - "compile-honggfuzz-address-x86_64": e of| (T ^p Step #12 - "compile-honggfuzz-address-x86_64": ) * nam/src/brpc/src/bvar/window.he:#151#:_s35t:a ck_note: ain instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hererra Step #12 - "compile-honggfuzz-address-x86_64": y _size]151; | \  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  _series_:s219a:m1p:l er note: = new Serexpanded from here Step #12 - "compile-honggfuzz-address-x86_64": iesS ampl219e | rt(mpthis_sta, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ck_array_siz 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": e 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64":  129 | Step #12 - "compile-honggfuzz-address-x86_64": DEFINE_SM A| L^L Step #12 - "compile-honggfuzz-address-x86_64": _ARRAY(uint32_t, tmp, rhs._num_sample/src/brpc/src/bvar/detail/percentile.hs:,129 :6134); 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": note:  426 | char name##_stack_arraydeclared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h[s:425:20izeof(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:129: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#note: #_sizeexpanded from macro 'DEFINE_SMALL_ARRAY' : 0 Step #12 - "compile-honggfuzz-address-x86_64": ); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 425: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":  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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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, _[ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_endpoint.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | DEFINIn file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.cpp:E_SMA18L: Step #12 - "compile-honggfuzz-address-x86_64": LIn file included from _/src/brpc/src/brpc/policy/timeout_concurrency_limiter.hA:RRAY(ui21nt: Step #12 - "compile-honggfuzz-address-x86_64": 3In file included from 2/src/brpc/src/brpc/concurrency_limiter.h_:t, t25mp: Step #12 - "compile-honggfuzz-address-x86_64": , In file included from rhs./src/brpc/src/brpc/controller.h_n:um_37: Step #12 - "compile-honggfuzz-address-x86_64": saIn file included from m/src/brpc/src/brpc/socket_id.hples, 64);2 Step #12 - "compile-honggfuzz-address-x86_64": warning s| generated. 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:129: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": :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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/rdma/rdma_helper.cpp.o 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.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/redis_command.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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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.se[ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": cond(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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/rpc_pb_message_factory.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/rtmp.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/selective_channel.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_request.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/serialized_response.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/server.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 4 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rh[ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": s._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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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 | 2 warning s generated. Step #12 - "compile-honggfuzz-address-x86_64": 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 94%] 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o 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:247: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": 247 | 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(20) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23 warning: snote: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here generated Step #12 - "compile-honggfuzz-address-x86_64": . 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/socket_map.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/span.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129:13:In file included from /src/brpc/src/brpc/protocol.cpp 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": :42 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: 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 note: /src/brpc/src/brpc/socket_id.h:expanded from here25: Step #12 - "compile-honggfuzz-address-x86_64": 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:15732: Step #12 - "compile-honggfuzz-address-x86_64": | tIn file included from m/src/brpc/src/bthread/mutex.hp:_27s: Step #12 - "compile-honggfuzz-address-x86_64": tIn file included from a/src/brpc/src/bvar/utils/lock_timer.hc:k28_: Step #12 - "compile-honggfuzz-address-x86_64": arIn file included from r/src/brpc/src/bvar/latency_recorder.ha:y26_: Step #12 - "compile-honggfuzz-address-x86_64": siz/src/brpc/src/bvar/detail/percentile.he:247 Step #12 - "compile-honggfuzz-address-x86_64": | :16^: 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": 247 | memset(this, 0, sizeof(*this2)); 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": warnings/src/brpc/src/bvar/detail/sampler.h:116: generated23:. 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/stream.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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 2 warnings generated. 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ 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:247: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:247: 16247: |   note:  explicitly cast the pointer to silence this warning  Step #12 - "compile-honggfuzz-address-x86_64": mems e247t | (  t h i s  , me0mse,t (stihziesof, (*0t,h issi)z)e;of Step #12 - "compile-honggfuzz-address-x86_64":  (| * ^t Step #12 - "compile-honggfuzz-address-x86_64": his)/src/brpc/src/bvar/detail/sampler.h):;40: Step #12 - "compile-honggfuzz-address-x86_64": 16 :|  ^ Step #12 - "compile-honggfuzz-address-x86_64": note:  in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here|  Step #12 - "compile-honggfuzz-address-x86_64": (void*) 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 3 warnings generated. 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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": :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:129: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": :196:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 196 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": :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": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 2 warnings generated. 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/server.cpp:2003:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 2003 | char buf[fullname_len]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/server.cpp:2003:18: note: initializer of 'fullname_len' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/server.cpp:2000:18: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 2000 | 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": 2 warnings generated. 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": /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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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/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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": 2 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 3 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": 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": [ 97%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] 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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] 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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] 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_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] 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": [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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] 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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] 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_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 129 | 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:129: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/tmpmxivgblz/fuzz_json Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpmxivgblz/fuzz_shead Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpmxivgblz/fuzz_butil Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpmxivgblz/fuzz_esp Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpmxivgblz/fuzz_redis Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpmxivgblz/fuzz_hpack Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpmxivgblz/fuzz_http Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpmxivgblz/fuzz_hulu Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpmxivgblz/fuzz_uri Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpmxivgblz/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 766 --:--:-- --:--:-- --:--:-- 769 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 65 193M 0 0 65 126M 0 190M 0:00:01 --:--:-- 0:00:01 190M 100 193M 0 0 100 193M 0 160M 0:00:01 0:00:01 --:--:-- 160M 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 366 --:--:-- --:--:-- --:--:-- 366 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 153 --:--:-- --:--:-- --:--:-- 152 100 29 0 0 100 29 0 153 --:--:-- --:--:-- --:--:-- 152 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 (4.3s) Step #21 - "compile-libfuzzer-address-x86_64": -- Generating done (0.5s) 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 v3.pb.h, v3.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_favicon.pb.h, brpc/get_favicon.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 addressbook1.pb.h, addressbook1.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 addressbook_encode_decode.pb.h, addressbook_encode_decode.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating addressbook_map.pb.h, addressbook_map.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating echo.pb.h, echo.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/options.pb.h, brpc/options.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 brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_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": [ 2%] Generating brpc/proto_base.pb.h, brpc/proto_base.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 brpc/rtmp.pb.h, brpc/rtmp.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": [ 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/span.pb.h, brpc/span.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] 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": [ 5%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] 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": [ 5%] 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": [ 5%] 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": [ 5%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] 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": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] 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": [ 8%] 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": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] 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": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] 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 CMakeFiles/PROTO_LIB.dir/idl_options.pb.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 test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path_constants.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] 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": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_file.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_temp_dir.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/hash.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/lazy_instance.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/location.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/aligned_memory.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] 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": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] 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": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_piece.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] 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": [ 27%] 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": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] 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": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] 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": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] 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": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] 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": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] 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": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] 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": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] 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": [ 40%] 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": [ 40%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.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 CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] 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": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/sofa_pbrpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.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 CMakeFiles/PROTO_LIB.dir/brpc/trackme.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": /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": [ 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": /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": [ 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/streaming_rpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] 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": [ 45%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] 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": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread_once.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] 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/butex.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/context.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/condition_variable.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] 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": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] 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/json2pb/json_to_pb.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/protobuf_map.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:247: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": 247 | 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:227:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 227 | 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::Percentile::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::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::Percentile::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::AddPercentileSamples>>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 1344 | : _M_ptr(), _M_refcount(_M_ptr, __tag, 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.h:359:4: note: in instantiation of function template specialization 'std::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::AddPercentileSamples>>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 359 | : __shared_ptr<_Tp>(__tag, 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.h:701:14: note: in instantiation of function template specialization 'std::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::AddPercentileSamples>>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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": /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::Percentile::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::AddPercentileSamples>>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 717 | return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(), Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-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::Percentile::AddPercentileSamples>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 89 | : _combiner(std::make_shared()), _sampler(NULL) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:247: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": 247 | 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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/semaphore.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/rwlock.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from In file included from /src/brpc/src/bvar/collector.cpp/src/brpc/src/bthread/rwlock.h::2422: Step #21 - "compile-libfuzzer-address-x86_64": : Step #21 - "compile-libfuzzer-address-x86_64": In file included from In file included from /src/brpc/src/bvar/bvar.h/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:247: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": 247 | 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 | S: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:247: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": 247 | 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": ample/src/brpc/src/bvar/detail/sampler.h(:)116 ::23 :d atanote: ()in instantiation of member function 'bvar::detail::Sample>::Sample' requested here, t Step #21 - "compile-libfuzzer-address-x86_64": i me_us116 | (  0  ) { }  Step #21 - "compile-libfuzzer-address-x86_64": | Sa ^m Step #21 - "compile-libfuzzer-address-x86_64": ple t/src/brpc/src/bvar/detail/sampler.hmp:;116:23 Step #21 - "compile-libfuzzer-address-x86_64": : |  ^note: 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": /src/brpc/src/bvar/detail/sampler.h:98116: | 9 :   note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here  Step #21 - "compile-libfuzzer-address-x86_64": Sample tmp98; |  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   take_sam/src/brpc/src/bvar/detail/sampler.hp:l98e:(9):;  Step #21 - "compile-libfuzzer-address-x86_64":  note: | in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here ^ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:98476 | : 28:   note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here t Step #21 - "compile-libfuzzer-address-x86_64": a ke_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h476:476 | : 28 :   note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #21 - "compile-libfuzzer-address-x86_64": _sampler = new sampler_t476yp | e (  t h i s  ) ;  Step #21 - "compile-libfuzzer-address-x86_64": _| sa ^m Step #21 - "compile-libfuzzer-address-x86_64": pler = 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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h247 | : 247 : 16 :   note: meexplicitly cast the pointer to silence this warningms Step #21 - "compile-libfuzzer-address-x86_64": e t(this, 0, siz247e | o f  ( *  t h imsem)s)e;t( Step #21 - "compile-libfuzzer-address-x86_64":  t| hi ^s Step #21 - "compile-libfuzzer-address-x86_64": , | 0 (void*), Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/timer_thread.cpp:27: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": 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/bthread/task_control.cpp:516:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 516 | 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:516: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": :96:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 96 | 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:516: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 | 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:247: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": 247 | 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":   mem:s92e:t1(th:i s,note: expanded from here0, Step #21 - "compile-libfuzzer-address-x86_64": sizeof(92* | ntuhmiss_s)t)a;ck Step #21 - "compile-libfuzzer-address-x86_64": _ a| rr ^a Step #21 - "compile-libfuzzer-address-x86_64": y_size Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/detail/sampler.h^: Step #21 - "compile-libfuzzer-address-x86_64": 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 | /src/brpc/src/bvar/detail/percentile.h: Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 129:/src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 13:/src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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_s[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": econd(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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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": :176:1: note: 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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": |  ^In file included from Step #21 - "compile-libfuzzer-address-x86_64": /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:/src/brpc/src/bvar/detail/percentile.h34:: Step #21 - "compile-libfuzzer-address-x86_64": 129In file included from :/src/brpc/src/bvar/bvar.h13::27 : Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.hnote: :26initializer of 'tmp_stack_array_size' is not a constant expression: Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247: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": 129 | D E247F | I N E _ S M A L Lm_eAmRsReAtY((uintt32his, 0_t,, stizeofm(p*, trhhis)s).; Step #21 - "compile-libfuzzer-address-x86_64": | _n ^u Step #21 - "compile-libfuzzer-address-x86_64": m_sample/src/brpc/src/bvar/detail/sampler.hs, 6:40:16:4 );note:  Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here|  ^ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: 40expanded from macro 'DEFINE_SMALL_ARRAY' | Step #21 - "compile-libfuzzer-address-x86_64": Sampl 426e | ( ) : c data(), time_us(h0) ar n{}a Step #21 - "compile-libfuzzer-address-x86_64": m | e ^ Step #21 - "compile-libfuzzer-address-x86_64": ##_stack_arr/src/brpc/src/bvar/detail/sampler.hay:116[size:23: ofnote: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here(T Step #21 - "compile-libfuzzer-address-x86_64": p) * name## _116s | tack_ a rray _s ize ]; Sa mpl e \t Step #21 - "compile-libfuzzer-address-x86_64": m |  ^ Step #21 - "compile-libfuzzer-address-x86_64": p; Step #21 - "compile-libfuzzer-address-x86_64": :176:1: | note: expanded from here ^ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: 176 | tmp_note: sin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested heretack_ar Step #21 - "compile-libfuzzer-address-x86_64": ray_size 98 | ta Step #21 - "compile-libfuzzer-address-x86_64": k e_sampl| ^ Step #21 - "compile-libfuzzer-address-x86_64": e(); Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h:129 ^:13: Step #21 - "compile-libfuzzer-address-x86_64": 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.h:expanded from macro 'DEFINE_SMALL_ARRAY'476:28: Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | 425 | _csamponlerst un =si ngnewed nam se#a#_stack_amrrplay_size e= r_(ntyampee#(#_thsiizes); <=  Step #21 - "compile-libfuzzer-address-x86_64": (ma |  ^xsi Step #21 - "compile-libfuzzer-address-x86_64": ze) ? 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_s/src/brpc/src/bvar/detail/percentile.h:247tac:16: k_anote: rrexplicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": ay_ 247 | s iz e Step #21 - "compile-libfuzzer-address-x86_64": | ^ 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/fd.cpp:36: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/bthread.cpp: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 /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": In file included from /src/brpc/src/bthread/execution_queue.cpp/src/brpc/src/bvar/detail/percentile.h::22247: Step #21 - "compile-libfuzzer-address-x86_64": :In file included from 16/src/brpc/src/bthread/execution_queue.h:: 25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from warning: /src/brpc/src/bthread/bthread.h:32first 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 file included from Step #21 - "compile-libfuzzer-address-x86_64": /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 :24726 | : Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h : 247 : 16 : memwarning: setfirst 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": this, 247 | 0  ,  s i z emoefms(e*t(thtihsis)),;  Step #21 - "compile-libfuzzer-address-x86_64": 0 | , ^ Step #21 - "compile-libfuzzer-address-x86_64": sizeof/src/brpc/src/bvar/detail/sampler.h(:*40:t16h:i s)note: );in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  40 |  /src/brpc/src/bvar/detail/sampler.h : 40S:a16m:p le(note: ) in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here: Step #21 - "compile-libfuzzer-address-x86_64": data(), ti 40 | Sammple() : 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": e_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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/bthread/task_control.cpp:32: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/butex.cpp: 35476: 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 :_26s: Step #21 - "compile-libfuzzer-address-x86_64": amp/src/brpc/src/bvar/detail/percentile.hl:e247r: 16=: newarning: w first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]sa Step #21 - "compile-libfuzzer-address-x86_64": mpler_t y247p | e (  t h i s  )m;em Step #21 - "compile-libfuzzer-address-x86_64": s e| t( ^ Step #21 - "compile-libfuzzer-address-x86_64": this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h :| 247: ^16 Step #21 - "compile-libfuzzer-address-x86_64": : note: explicitly cast the pointer to silence this warning/src/brpc/src/bvar/detail/sampler.h: Step #21 - "compile-libfuzzer-address-x86_64": 40:16: note:  in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here247 | Step #21 - "compile-libfuzzer-address-x86_64": 40 | m e mSsaemtp(let(h)i s: ,d at0a(,) , stiizmeeo_fus((*0th)i s{})) 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: (void*)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 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] 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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.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: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: /src/brpc/src/bvar/detail/percentile.h:129:13: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herewarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | DEFINE Step #21 - "compile-libfuzzer-address-x86_64": 322 | get__iSnMtAeLrLv_aAlR_Rat(i).mAY(uinte3r2g_et(,* rthmsp.,_ irnhtse.r_vnaulms_[sia]m)p;le Step #21 - "compile-libfuzzer-address-x86_64": s ,|  ^6 Step #21 - "compile-libfuzzer-address-x86_64": 4/src/brpc/src/bvar/detail/percentile.h:454:); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53##_stack_a:17: rray[sinote: in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested herezeo Step #21 - "compile-libfuzzer-address-x86_64": f 53 | (Tp) * nam e # # _ s t a c k _ a r r a y__vsairz-e>]o;p()(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 \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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 | retur, 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": n 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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":  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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129: 425 | 13 : constwarning:  variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]uns Step #21 - "compile-libfuzzer-address-x86_64": i gned name##_stack_array_s129i | z e = ( n a m e ##_ s iDzEeF I Step #21 - "compile-libfuzzer-address-x86_64": :166 |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: Step #21 - "compile-libfuzzer-address-x86_64": 1: note: /src/brpc/src/butil/macros.hexpanded from here:426 Step #21 - "compile-libfuzzer-address-x86_64": : 29: note: expanded from macro 'DEFINE_SMALL_ARRAY' 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": 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": In file included from /src/brpc/src/bthread/mutex.cpp:27: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": [ 59%] 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/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, BATC/src/brpc/src/bvar/detail/percentile.h:129:13H):;  Step #21 - "compile-libfuzzer-address-x86_64": | warning: variable 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":  129 | 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/src/brpc/src/mcpack2pb/serializer.cpp: 317n:38:a me##_stack_arrawarning: y[variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]sizeof(T Step #21 - "compile-libfuzzer-address-x86_64": p) * name##_ s317 | tac FikxedHeadAndValue _tmp[cur_batch];arr Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~a Step #21 - "compile-libfuzzer-address-x86_64": y_size/src/brpc/src/mcpack2pb/serializer.cpp];: 379 : 3 : \note: 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": ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": 379/src/brpc/src/bvar/detail/percentile.h | :{322 ad:d36_:p rimnote: iin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested heretiv Step #21 - "compile-libfuzzer-address-x86_64": e s(_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:38322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | b1.m: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cure_bragtec(hb]2;) 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/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::Percentile::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/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_sampler = new Seri[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: esSampler(thdeclared 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": is, _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/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 | /src/brpc/src/bvar/detail/percentile.h:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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 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 | { _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": 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_[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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/src/brpc/src/bvar/detail/percentile.h_:t129 :13c:u r_bawarning: tchvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] = Step #21 - "compile-libfuzzer-address-x86_64": std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": 129| |  ^ 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) */src/brpc/src/mcpack2pb/serializer.cpp n:a317m:e#38#:_ stwarning: ackvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]_a Step #21 - "compile-libfuzzer-address-x86_64": r ray_size]; 317 | \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":   FixedH/src/brpc/src/bvar/detail/percentile.hea:dA322:n36dV:a luenote: <T>in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here tm Step #21 - "compile-libfuzzer-address-x86_64": p [cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": 322 | /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": get_inter393va | l{_ aatd(di_).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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samprpimitlives(_stesream, , peek6_grou4p_info()), val;ues, co Step #21 - "compile-libfuzzer-address-x86_64": | un ^t); Step #21 - "compile-libfuzzer-address-x86_64": } Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/butil/macros.h: ^ Step #21 - "compile-libfuzzer-address-x86_64": 426:42/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": note: expanded from macro 'DEFINE_SMALL_ARRAY' 317 |  Step #21 - "compile-libfuzzer-address-x86_64": FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": 426 | |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26 : c hnote: adeclared herer Step #21 - "compile-libfuzzer-address-x86_64":  n 316a | m e ##const s_sizetac_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": k_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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 59%] 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] 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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": [ 62%] 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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/pprof_perl.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/pprof_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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: [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/prometheus_metrics_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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": :176:1: note: 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:129:13: note: declared here[ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o 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": 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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/sockets_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/sorttable_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": | In file included from /src/brpc/src/brpc/builtin/dir_service.cpp ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: :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.hnote: in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53: | 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 : 247 : 16 :   warning:  _first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]va Step #21 - "compile-libfuzzer-address-x86_64": r ->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": | 247 | ^ Step #21 - "compile-libfuzzer-address-x86_64":   /src/brpc/src/bvar/detail/call_op_returning_void.hm:e29m:s12e:t (thinote: sin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here, Step #21 - "compile-libfuzzer-address-x86_64":  0, 29 | sizeof(* thriest));ur Step #21 - "compile-libfuzzer-address-x86_64": n |  ^o Step #21 - "compile-libfuzzer-address-x86_64": p(v1, v/src/brpc/src/bvar/detail/sampler.h2:)40;:16 Step #21 - "compile-libfuzzer-address-x86_64": : |  ^note: Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:4013 | :   note: Samin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereple Step #21 - "compile-libfuzzer-address-x86_64": ( ) : data(), ti168m | e _ us(0 c)a {l}l_o Step #21 - "compile-libfuzzer-address-x86_64": p _| r ^e Step #21 - "compile-libfuzzer-address-x86_64": turning/src/brpc/src/bvar/detail/sampler.h_:v116o:i23d:(o p, note: tmpin instantiation of member function 'bvar::detail::Sample>::Sample' requested here, _ Step #21 - "compile-libfuzzer-address-x86_64": d ata.secon116d | (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 hereSample t Step #21 - "compile-libfuzzer-address-x86_64": mp ;116 | Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  retur/src/brpc/src/bvar/detail/sampler.hn:98 a:p9p:en d_seconote: nin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hered(v Step #21 - "compile-libfuzzer-address-x86_64": alue, _ op98) | ;  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": take_sample();/src/brpc/src/bvar/window.h Step #21 - "compile-libfuzzer-address-x86_64": : 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/src/brpc/src/bvar/detail/percentile.h: Step #21 - "compile-libfuzzer-address-x86_64": 476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | 65 | _ s e r_isameps.laeprp e=n d(_noewwn esra-m>pgleetr__vtaylpuee((t1hi)s);) 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/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 | SeriesSample/src/brpc/src/bvar/detail/percentile.hr(:W247i:n16d:o wBasnote: e*explicitly cast the pointer to silence this warning  Step #21 - "compile-libfuzzer-address-x86_64": owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 247 | /src/brpc/src/bvar/window.h : 151 :35 : menote: min instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereset Step #21 - "compile-libfuzzer-address-x86_64": ( this151 | ,  0  ,  s i z e of_(s*ertiheiss_s)am)ple;r =  Step #21 - "compile-libfuzzer-address-x86_64": n | ew ^ Step #21 - "compile-libfuzzer-address-x86_64": Se r| ie (void*)sS Step #21 - "compile-libfuzzer-address-x86_64": ampler(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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": :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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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 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:247: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": 247 | 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:in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here 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 () : da151ta(), tim | e_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^_ Step #21 - "compile-libfuzzer-address-x86_64": se/src/brpc/src/bvar/detail/sampler.hrie:s_sampler = new116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64":  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 116 | Sample tmp:7: ; Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: Step #21 - "compile-libfuzzer-address-x86_64": 49 | in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": class 98La | te ncyRe cortdakeer_Bsaasmep l{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": /src/brpc/src/bvar/detail/percentile.h:129/src/brpc/src/bvar/detail/percentile.h::476:2813: :note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64":  note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 129 | 476 | D_sEaFmIpNlerE_S M=ALL_ ARRAY(uint32_t, tnew samplmepr,_ty preh(this)s._n;um_ Step #21 - "compile-libfuzzer-address-x86_64": samples, 64 |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16:); 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 | c har nnote: explicitly cast the pointer to silence this warningame# Step #21 - "compile-libfuzzer-address-x86_64": #_s tac247 | k_ar r a y [s In file included from memset(thi/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 i/src/brpc/src/bvar/utils/lock_timer.hz:e28o: Step #21 - "compile-libfuzzer-address-x86_64": fIn 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:247:16: warning: (Tsp)first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] * n, am Step #21 - "compile-libfuzzer-address-x86_64": 0e 247 | , # #_stasizcemk_arrof(*athyi_ssemisezte()t)h;is];,  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":  0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": | :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_si ^z Step #21 - "compile-libfuzzer-address-x86_64": e 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _s2 warningampler = snew generated . Step #21 - "compile-libfuzzer-address-x86_64": sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129: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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/threads_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425In 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:247: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": 247 | 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 | Sam: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_stpackl_ea(r)r a:y _dsaitaz(e), Step #21 - "compile-libfuzzer-address-x86_64": t| ime^ Step #21 - "compile-libfuzzer-address-x86_64": _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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/viz_min_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/checksum.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/circuit_breaker.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_sample2 warningss,  generated. Step #21 - "compile-libfuzzer-address-x86_64": 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 67%] 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 2 warnings generated. 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/compress.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/details/has_epollrdhup.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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": 12 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.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[ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": :26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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#/src/brpc/src/bvar/detail/percentile.h#_:129:sta13:ck _awarning: rrayvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension][ Step #21 - "compile-libfuzzer-address-x86_64": sizeof(Tp) * 129 | n am e# #_ st ac k_DEFINE_SMALL_ARRAY(uint32_t, tmp, rharray_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :50:1: s._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": | note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 50 | tmp_stack ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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": _array_si 426 | chze Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13:ar name##_s note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20:tack_array[sizeof(Tp) * note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | con name##_stack_array_size];st un \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": signed name##_stack_array_size = (name##_size <= (maxsiz/src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": e) ? nam322e | # # _ s i z e : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ get_ Step #21 - "compile-libfuzzer-address-x86_64": :46interval_a:1:t(i ).menote: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 46 | tmprge(*rhs._inter_stackvals[i]_a);rra Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": y_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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_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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/details/http_parser.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/details/load_balancer_with_naming.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/details/mesalink_ssl_helper.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/details/naming_service_thread.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/rtmp_utils.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/ssl_helper.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] 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": [ 72%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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 | 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.hs:e37r: Step #21 - "compile-libfuzzer-address-x86_64": iIn file included from e/src/brpc/src/brpc/socket_id.hs:_25s: Step #21 - "compile-libfuzzer-address-x86_64": amIn file included from p/src/brpc/src/brpc/versioned_ref_with_id.hl:e26r: 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": nIn file included from /src/brpc/src/bthread/mutex.he:w27: Step #21 - "compile-libfuzzer-address-x86_64": SIn file included from e/src/brpc/src/bvar/utils/lock_timer.hr:i28e: Step #21 - "compile-libfuzzer-address-x86_64": sSIn file included from a/src/brpc/src/bvar/latency_recorder.hm:p26l: Step #21 - "compile-libfuzzer-address-x86_64": er(/src/brpc/src/bvar/detail/percentile.hthis:247,: 16_:v awarning: r); 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 | classfirst 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": 247 |  Latency R e c ormdeemrsBeats(e t{hi Step #21 - "compile-libfuzzer-address-x86_64": s ,|  ^ Step #21 - "compile-libfuzzer-address-x86_64": 0, /src/brpc/src/bvar/detail/percentile.hs:i129z:eof(13: *tnote: hisinitializer of 'tmp_stack_array_size' is not a constant expression)) Step #21 - "compile-libfuzzer-address-x86_64": ; 129 |  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 | DEFINE_S M A LL _SAaRmRpAlYe(() u:i dnatt32_a()t, ,t itmmep,_ ursh(s._0num_) {}samp Step #21 - "compile-libfuzzer-address-x86_64": |  ^ 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/bvar/detail/sampler.h:116:23: /src/brpc/src/butil/macros.h:426:note: 42in instantiation of member function 'bvar::detail::Sample>::Sample' requested here: note: Step #21 - "compile-libfuzzer-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' 116 |  Step #21 - "compile-libfuzzer-address-x86_64": 426 |  char Sam naple tstacmp;k_ Step #21 - "compile-libfuzzer-address-x86_64": a rr|  ^ Step #21 - "compile-libfuzzer-address-x86_64": ay[siz/src/brpc/src/bvar/detail/sampler.h:eof(98T:p9): *note: namein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": ## 98 | _stack_arr ay_ s ize];t ake_ s \ 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:129: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": ample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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": | [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/event_dispatcher.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/global.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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 hereIn 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:247: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": 247 | 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 |  Step #21 - "compile-libfuzzer-address-x86_64": Sa 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": m/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": pl 151 | e < T > t m p ; _se Step #21 - "compile-libfuzzer-address-x86_64": | r ^ Step #21 - "compile-libfuzzer-address-x86_64": ies/src/brpc/src/bvar/detail/sampler.h_sampler := ne98w S:eriesSa9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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 LatencyRecmorderpBlera(thisse , _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": Step #21 - "compile-libfuzzer-address-x86_64": | 49 | class Lat ^encyRecorderBase Step #21 - "compile-libfuzzer-address-x86_64": { Step #21 - "compile-libfuzzer-address-x86_64":  | /src/brpc/src/bvar/detail/percentile.h:129:13: note:  ^ Step #21 - "compile-libfuzzer-address-x86_64": initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: 129note: initializer of 'tmp_stack_array_size' is not a constant expression |  Step #21 - "compile-libfuzzer-address-x86_64": DE129 | F I NDEFEI_NE_SMSAMLL_ARARLAY(Lui_nAt32_tR,RA Yt(umipn,t 32r_hs._ntu,m_samp ltmeps, , 64rh);s. Step #21 - "compile-libfuzzer-address-x86_64": |  ^_ Step #21 - "compile-libfuzzer-address-x86_64": nu/src/brpc/src/butil/macros.hm:_426sa:42: mpnote: lexpanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": es, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  426/src/brpc/src/butil/macros.h | :426 c:h42a:r  name#note: #_expanded from macro 'DEFINE_SMALL_ARRAY'stack_ Step #21 - "compile-libfuzzer-address-x86_64": array[sizeof(Tp) * name##_stack_array_size]; 426 | \  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": cha:219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": r nam e219 | tmp_stac#k#__sarrayt_asize Step #21 - "compile-libfuzzer-address-x86_64": c| ^ Step #21 - "compile-libfuzzer-address-x86_64": k_arr/src/brpc/src/bvar/detail/percentile.ha:y129[:13: snote: izedeclared hereof Step #21 - "compile-libfuzzer-address-x86_64": (Tp/src/brpc/src/butil/macros.h): 425*: 20n:a me#note: #_expanded from macro 'DEFINE_SMALL_ARRAY'st Step #21 - "compile-libfuzzer-address-x86_64": ack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  425 | : 229 : co1n:st  unote: nsignedexpanded from here name# Step #21 - "compile-libfuzzer-address-x86_64": #_stack_array_size = (name##_size <229= | (maxsize) ? namtem#p#_s_ize : s0);t \ Step #21 - "compile-libfuzzer-address-x86_64": a|  ^ Step #21 - "compile-libfuzzer-address-x86_64": ck_ar:r215a:y1_:s note: iexpanded from hereze Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_st/src/brpc/src/bvar/detail/percentile.hack_ar:ray_size Step #21 - "compile-libfuzzer-address-x86_64": 129 | ^: Step #21 - "compile-libfuzzer-address-x86_64": 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": [ 72%] 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http2.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _sampler = new sampler_type(this/src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": ) 129 | ;  Step #21 - "compile-libfuzzer-address-x86_64": |  DEFINE_S ^ Step #21 - "compile-libfuzzer-address-x86_64": MALL_ARRAY(uint32_t, tmp, rhs._n/src/brpc/src/bvar/detail/percentile.h:247u:m_sample16s:, 64);note:  Step #21 - "compile-libfuzzer-address-x86_64": explicitly cast the pointer to silence this warning |  Step #21 - "compile-libfuzzer-address-x86_64": ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":  247 | /src/brpc/src/butil/macros.h:426:29:  note: expanded from macro 'DEFINE_SMALL_ARRAY'  Step #21 - "compile-libfuzzer-address-x86_64": m emset(this, 0, 426 | s i z e ofc(h*athr isn));am Step #21 - "compile-libfuzzer-address-x86_64": e #| #_ ^ Step #21 - "compile-libfuzzer-address-x86_64": st a| ck (void*)_ Step #21 - "compile-libfuzzer-address-x86_64": arIn 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": rIn file included from ay[sizeof(Tp) * name#/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:247:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]stack_arr Step #21 - "compile-libfuzzer-address-x86_64": ay_siz e247 | ]; mem \set Step #21 - "compile-libfuzzer-address-x86_64": | (t ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": his/src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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 | , 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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":  _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | memset(this, 0In file included from , sizeof(*this/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 Step #21 - "compile-libfuzzer-address-x86_64": :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": |  ^ 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 |  (void*): Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247: Step #21 - "compile-libfuzzer-address-x86_64": 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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num/src/brpc/src/bvar/detail/percentile.h_s:am129:p13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": l e129 | s DEFINE_SMALL, 64)_ARRAY(uint32_t, tm;p, Step #21 - "compile-libfuzzer-address-x86_64": | rh ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~s._num_samples Step #21 - "compile-libfuzzer-address-x86_64": , 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": /src/brpc/src/butil/macros.h: 426 | 426: 29 char name##_st:ack_array[sizeof(Tp) * name##_stack_ anote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": rray_size]; 426 | \ Step #21 - "compile-libfuzzer-address-x86_64": cha|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": r/src/brpc/src/bvar/detail/percentile.h:322 :36n: ame##_stack_note: arrayin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here[s Step #21 - "compile-libfuzzer-address-x86_64": izeof(Tp) * name##_stack_array_size]; 322 | \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":  get/src/brpc/src/bvar/detail/percentile.h:_interv322:al36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": _at(i).mer ge322( | *r hs._int e rvals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": get_interval_at(/src/brpc/src/bvar/detail/percentile.h:i454):16: .merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": 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":  454/src/brpc/src/bvar/detail/percentile.h:454 | :16: b1.merge(bnote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here2); 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:53: 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | 17: _vanote: rin instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here-> Step #21 - "compile-libfuzzer-address-x86_64": o p()(v1, v532 | ) ;  Step #21 - "compile-libfuzzer-address-x86_64": _|  ^ Step #21 - "compile-libfuzzer-address-x86_64": var->o/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: p()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64":  |  ^ Step #21 - "compile-libfuzzer-address-x86_64": note: /src/brpc/src/bvar/detail/call_op_returning_void.h:in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here29:12: Step #21 - "compile-libfuzzer-address-x86_64": note:  29 | 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": |  return op(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/series.h:168:13: note: in 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_retur/src/brpc/src/bvar/detail/series.h:168:13: note: in 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": ning_168v | o i d ( op , t m p c,a l_ld_aotpa_.rseetcuornndi(nig)_)v;oi Step #21 - "compile-libfuzzer-address-x86_64": d (o| p, ^ Step #21 - "compile-libfuzzer-address-x86_64": tmp, _d/src/brpc/src/bvar/detail/series.ha:t116a:.16s:e connote: d(in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herei) Step #21 - "compile-libfuzzer-address-x86_64": ) 116 | ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16:r etunote: rnin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": a 116 | ppend_second(v a l u e , _oreturn append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": p); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: /src/brpc/src/bvar/window.hnote: :65in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here:25: Step #21 - "compile-libfuzzer-address-x86_64": note: 65 | in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here  Step #21 - "compile-libfuzzer-address-x86_64": 65 | _serie s_.saeprpiees.appnd(_oend(wner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^_owner->get_value( Step #21 - "compile-libfuzzer-address-x86_64": 1/src/brpc/src/bvar/window.h:58)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :9: /src/brpc/src/bvar/window.h:note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here58:9 Step #21 - "compile-libfuzzer-address-x86_64": : note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here 58 |  Step #21 - "compile-libfuzzer-address-x86_64": 58 | Se rIn file included from i/src/brpc/src/brpc/cluster_recover_policy.cppe:s24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:S28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25a: 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 :32S: Step #21 - "compile-libfuzzer-address-x86_64": eIn file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": riesSamplmpler(WindoIn file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": wIn file included from Ba/src/brpc/src/bvar/latency_recorder.hs:e26*e: Step #21 - "compile-libfuzzer-address-x86_64": ro(wW/src/brpc/src/bvar/detail/percentile.hnindowBase* 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": :247: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": e 247r, R* var) Step #21 - "compile-libfuzzer-address-x86_64": | |  ^ Step #21 - "compile-libfuzzer-address-x86_64": memset(this, 0, sizeof(*/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": this 151)); |  Step #21 - "compile-libfuzzer-address-x86_64": |  _series_sa ^ Step #21 - "compile-libfuzzer-address-x86_64": mpler =/src/brpc/src/bvar/detail/sampler.h n:ew S40:16: eriesSamnote: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herepler(t Step #21 - "compile-libfuzzer-address-x86_64": 40h | i s, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  Sa ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.hmpl:e49() :: data7:( ), tnote: imin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heree Step #21 - "compile-libfuzzer-address-x86_64": _us( 049) | {c}la Step #21 - "compile-libfuzzer-address-x86_64": s s|  ^L Step #21 - "compile-libfuzzer-address-x86_64": atencyR/src/brpc/src/bvar/detail/sampler.he:c116o:r23d:e rBasnote: in instantiation of member function 'bvar::detail::Sample>::Sample' requested heree Step #21 - "compile-libfuzzer-address-x86_64": { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 116 |  /src/brpc/src/bvar/detail/percentile.h : 129 :Sa13m:pl e<Tnote: > initializer of 'tmp_stack_array_size' is not a constant expressiontm Step #21 - "compile-libfuzzer-address-x86_64": p; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 129/src/brpc/src/bvar/detail/sampler.h | :98 : 9 :  note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereDEF Step #21 - "compile-libfuzzer-address-x86_64": INE _SMALL_ARRAY(ui98 | tnt32_t,ake_sa tmplme(p, r); Step #21 - "compile-libfuzzer-address-x86_64": | hs._ ^n Step #21 - "compile-libfuzzer-address-x86_64": um_sample/src/brpc/src/bvar/detail/percentile.h:s, 476:6428):;  Step #21 - "compile-libfuzzer-address-x86_64": | note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here ^ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426: 42: note: 476expanded from macro 'DEFINE_SMALL_ARRAY' | Step #21 - "compile-libfuzzer-address-x86_64": _sampler 426 | =  chanerw n asmaem#pler#_s_tack_arraty[ypes(i2zthieof(s warningTp);s generated. Step #21 - "compile-libfuzzer-address-x86_64": ) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": * na/src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": me##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": | 247 |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :242 :1 : note: expanded from here  Step #21 - "compile-libfuzzer-address-x86_64": memset 242 | (thist,m p_0st,a cks_iazerorfay_(siz*this)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": /src/brpc/src/bvar/detail/percentile.h:129: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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/input_messenger.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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t,In file included from /src/brpc/src/brpc/channel.cpp: 28: Step #21 - "compile-libfuzzer-address-x86_64": tmIn file included from p/src/brpc/src/brpc/socket_map.h,: 23r: Step #21 - "compile-libfuzzer-address-x86_64": hsIn file included from ./src/brpc/src/bvar/bvar.h_:n27u: Step #21 - "compile-libfuzzer-address-x86_64": m_In file included from s/src/brpc/src/bvar/latency_recorder.ha:m26p: Step #21 - "compile-libfuzzer-address-x86_64": les/src/brpc/src/bvar/detail/percentile.h,: 247:6164: );warning: Step #21 - "compile-libfuzzer-address-x86_64":  | 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": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _sampler = new sa426 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | get_interval_at(i).merge(m*rphlse.r__itntyeprev(altsh[iis]));; 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | b1.merge(b2)/src/brpc/src/bvar/detail/percentile.h;: Step #21 - "compile-libfuzzer-address-x86_64": 247 :| 16: ^ Step #21 - "compile-libfuzzer-address-x86_64": note: /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::Percentile::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(explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": v 247 | alu e, _o mems[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": p);et(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": |  ^ 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.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/nshead_message.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/nshead_pb_service_adaptor.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/parallel_channel.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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: 2 warningsin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here generated Step #21 - "compile-libfuzzer-address-x86_64": . 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/partition_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/periodic_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/policy/auto_concurrency_limiter.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_naming_service.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/policy/baidu_rpc_protocol.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/policy/consistent_hashing_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | memset(this, [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": In 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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/dh.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/policy/discovery_naming_service.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/domain_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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 | [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dynpart_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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": |  ^2 warnings Step #21 - "compile-libfuzzer-address-x86_64":  generated. 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_protocol.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:[ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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": |  ^[ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hulu_pbrpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/list_naming_service.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/locality_aware_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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_arr/src/brpc/src/brpc/parallel_channel.cpp:ay_size615 = :5:(name# 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 | 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": c 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": har 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | get_interval_at(i).merge(*rhs._intervaIn file included from ls[/src/brpc/src/brpc/parallel_channel.cppi:])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:; Step #21 - "compile-libfuzzer-address-x86_64": | 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:247: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": 247 | memset(this, 0, sizeof(*this ^ Step #21 - "compile-libfuzzer-address-x86_64": )); Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h :| 454: ^16 Step #21 - "compile-libfuzzer-address-x86_64": : note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here/src/brpc/src/bvar/detail/sampler.h Step #21 - "compile-libfuzzer-address-x86_64": :40:16 : note: 454 | in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": b40 | 1 . m eSragmep(lbe2()); : Step #21 - "compile-libfuzzer-address-x86_64": d| at ^ Step #21 - "compile-libfuzzer-address-x86_64": a()/src/brpc/src/bvar/window.h,: 53t:i17m:e _usnote: (in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  53 | ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h :116 : 23 _:v ar-note: >oin instantiation of member function 'bvar::detail::Sample>::Sample' requested herep()(v1 Step #21 - "compile-libfuzzer-address-x86_64": 116 | , 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": Sample<29T> tm | preturn; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  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/src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": 168 | cal 98 | l_op_ r etur n i n gt_avkoide_s(aompp,l etmp,(); _data.s Step #21 - "compile-libfuzzer-address-x86_64": | eco ^nd(i Step #21 - "compile-libfuzzer-address-x86_64": )/src/brpc/src/bvar/detail/percentile.h:); Step #21 - "compile-libfuzzer-address-x86_64": | 476 ^ Step #21 - "compile-libfuzzer-address-x86_64": :28: /src/brpc/src/bvar/detail/series.hnote: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here: Step #21 - "compile-libfuzzer-address-x86_64": 116:16: 476 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 | r | et u rn  a p p e n d _ s_escaondm(pvlaelru e=, _noepw); s Step #21 - "compile-libfuzzer-address-x86_64": a m| pl ^e Step #21 - "compile-libfuzzer-address-x86_64": r_type(th/src/brpc/src/bvar/window.hi:s65:)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": 65 | _series.append(_owner/src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": ->get_value(1)); 247 |  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/window.h: mems58:et9:(th inote: s, in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here0 Step #21 - "compile-libfuzzer-address-x86_64": , sizeof(*58 | this  ) ); Se Step #21 - "compile-libfuzzer-address-x86_64": ri | esSa ^ Step #21 - "compile-libfuzzer-address-x86_64": mp l|  (void*)er( Step #21 - "compile-libfuzzer-address-x86_64": 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 {In file included from  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: note: /src/brpc/src/brpc/policy/auto_concurrency_limiter.cppinitializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": :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 129/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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":  | 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:129: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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nacos_naming_service.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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[ 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": : 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));In file included from  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/file_naming_service.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/detail/series.h:116:16:/src/brpc/src/bthread/bthread.h 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 | 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:247:16 re: warning: turn 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": 247 | 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::Percentile::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:476: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:287:: note: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here 476 |  _sampler = new sampler_typ Step #21 - "compile-libfuzzer-address-x86_64": e(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  49 | class/src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64":  Lat 247 | encyRe c moemsredt(ethis,rB 0a, sizeseof(* t{his)); 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": /src/brpc/src/bvar/detail/percentile.h:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129D | E F INE_ DESFINE_SMALL_ARRAY(uMALL_ARRAY(int32ui_t, tmp, rhsnt32._t_n,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": tmp, 426 | ch rar name##_stack_array[sizeof(Tp) * name##_hs._nstack_array_size]; u \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | get_interval_at(i).merge(*rhs._mi_nsatervmaplles,s[i]); 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: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": 454:16/src/brpc/src/butil/macros.h::426 :29: note: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | expanded from macro 'DEFINE_SMALL_ARRAY' b Step #21 - "compile-libfuzzer-address-x86_64": 1.merg e(b426 | c2);har Step #21 - "compile-libfuzzer-address-x86_64": |  na ^ Step #21 - "compile-libfuzzer-address-x86_64": me##_stac/src/brpc/src/bvar/window.hk_array[sizeof(Tp) * :53:17: note: in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": nam 53 | _var->op()e##_stack_array(v1, v_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": 2| ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: ; 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": ^ Step #21 - "compile-libfuzzer-address-x86_64":  322 | g/src/brpc/src/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 | reet_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:454:16: turn 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::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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.h2 warnings generated:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": . 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": 151note: in 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": _series_sample168r | =  n e w  S e r i ecsaSlalmp_leorp(t_hriestu,r n_ivnagr_)v;oi Step #21 - "compile-libfuzzer-address-x86_64": d (| op ^, Step #21 - "compile-libfuzzer-address-x86_64": tmp, _d/src/brpc/src/bvar/latency_recorder.ha:t49a:.7s:e connote: d(in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested herei) Step #21 - "compile-libfuzzer-address-x86_64": ) ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 49 | class L/src/brpc/src/bvar/detail/series.ha:t116e:n16c:y Recnote: ordin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested hereer Step #21 - "compile-libfuzzer-address-x86_64": B ase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 116 | /src/brpc/src/bvar/detail/percentile.h : 129 :r13e:t urnnote:  initializer of 'tmp_stack_array_size' is not a constant expressionap Step #21 - "compile-libfuzzer-address-x86_64": p end_second(value, _129o | p ) ;  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  DEFINE_S/src/brpc/src/bvar/window.hMA:L65L:_25A: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": RRAY(uin65t3 | 2 _ t , t m p , r h s . _ n u_ms_esraimepsl.easp,p end6(4_); Step #21 - "compile-libfuzzer-address-x86_64": | ow ^n Step #21 - "compile-libfuzzer-address-x86_64": er->g/src/brpc/src/butil/macros.het:_426v:a42l:u e(note: 1expanded from macro 'DEFINE_SMALL_ARRAY') Step #21 - "compile-libfuzzer-address-x86_64": ) ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^426 Step #21 - "compile-libfuzzer-address-x86_64":  |  /src/brpc/src/bvar/window.hc:h58a:r9: namnote: e#in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here#_s Step #21 - "compile-libfuzzer-address-x86_64": t ack_array[58s | i z e o f  ( T pS)e r*i ensaSmaem#p#l_esrt(aWcikn_daorwrBaays_es*i zoew]n;e r , R * \va Step #21 - "compile-libfuzzer-address-x86_64": r) | 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.h183::1511::35 : note: note: expanded from herein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": 151 | 183 | t m p _ s t ac_ks_erairersa_ys_asmipzleer Step #21 - "compile-libfuzzer-address-x86_64": | = ^ Step #21 - "compile-libfuzzer-address-x86_64": new Se/src/brpc/src/bvar/detail/percentile.hr:i129e:s13S:a mplnote: erdeclared here( Step #21 - "compile-libfuzzer-address-x86_64": this/src/brpc/src/butil/macros.h:,425 :_20v:a r);note:  Step #21 - "compile-libfuzzer-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' |  Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": 425/src/brpc/src/bvar/latency_recorder.h | : 49 : 7: consnote: tin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here  Step #21 - "compile-libfuzzer-address-x86_64": u nsigned 49n | amcel#a#s_sst aLcakt_eaIn file included from n/src/brpc/src/brpc/policy/consul_naming_service.cppc:y27R: Step #21 - "compile-libfuzzer-address-x86_64": eIn file included from c/src/brpc/src/bthread/bthread.ho:r32d: Step #21 - "compile-libfuzzer-address-x86_64": eIn file included from r/src/brpc/src/bthread/mutex.hB:a27s: Step #21 - "compile-libfuzzer-address-x86_64": eIn file included from /src/brpc/src/bvar/utils/lock_timer.h{:28 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 Step #21 - "compile-libfuzzer-address-x86_64": :26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:/src/brpc/src/bvar/detail/percentile.h247::12916::13 : warning: note: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 129 | 247 | rme m s eDt(EFtIhNiEs_S,M AL0L_,A 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": ray_siRze =R (naAY(/src/brpc/src/bvar/detail/sampler.h:116muie#nt#_32_ts, iztme p,<= r (hsmaxs.:23:_izen note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | )u m_sam? 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":  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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/nshead_mcpack_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": ples, 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_protocol.cpp.o 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": 454 | b1.merge[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/public_pbrpc_protocol.cpp.o 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] 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/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:247: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": 247 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | DEFINE_S/src/brpc/src/bvar/detail/sampler.h:40:16:M note: Ain instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40LL_AR | SRAample() : 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": Y/src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sam(uiple(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": nt32_t, t/src/brpc/src/bvar/detail/percentile.hmp:247:, 16: note: explicitly cast the pointer to silence this warningrhs._num_samples, 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/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 247 | 426 | m char name##_stack_aerramsy[sizeof(Tp) * name##_stack_aerray_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": t/src/brpc/src/bvar/detail/percentile.h:322:36(: tnote: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereh Step #21 - "compile-libfuzzer-address-x86_64": 322 | i gets_interval_, at(i)0.merge(*rhs._interv, alss[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:izeof454:16: (*note: thiin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested heres) Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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":  | Step #21 - "compile-libfuzzer-address-x86_64":  (void*) 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 86%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | get_interval_at(i).merge(*rhs._interva2 warnings generated. 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 86%] 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": [ 86%] 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/rtmp_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/snappy_compress.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_pbrpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/timeout_concurrency_limiter.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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": :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": /src/brpc/src/bvar/detail/percentile.h:129: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": :221:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 221 | 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": [ 89%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/weighted_randomized_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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##_staIn file included from /src/brpc/src/brpc/policy/nacos_naming_service.cpp:18ck_ar: Step #21 - "compile-libfuzzer-address-x86_64": In file included from ra/src/brpc/src/brpc/policy/nacos_naming_service.h:y[s26izeof: 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 T/src/brpc/src/brpc/socket_id.hp: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.hnam:e##_32stac: Step #21 - "compile-libfuzzer-address-x86_64": kIn file included from _/src/brpc/src/bthread/mutex.h:a27r: Step #21 - "compile-libfuzzer-address-x86_64": raIn file included from y/src/brpc/src/bvar/utils/lock_timer.h_:s28i: Step #21 - "compile-libfuzzer-address-x86_64": zeIn 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 :\247 Step #21 - "compile-libfuzzer-address-x86_64": : 16| :  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-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 #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | D247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": EFINE_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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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[ 89%] 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": :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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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": In file included from /src/brpc/src/brpc/policy/memcache_binary_protocol.cpp 58 | :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:247: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": 247 | m 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": ems151 | et(  t h i s  , 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": _series_sampler /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 | = new SeriesSampler(thiSasmpl,e (_)v a:r )d;at Step #21 - "compile-libfuzzer-address-x86_64": a(), t|  ^ Step #21 - "compile-libfuzzer-address-x86_64": ime_us(/src/brpc/src/bvar/latency_recorder.h:049):7 :{ } Step #21 - "compile-libfuzzer-address-x86_64": 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":  /src/brpc/src/bvar/detail/sampler.h49: | 116:c23l:a ssnote: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here L Step #21 - "compile-libfuzzer-address-x86_64": a 116 | tencyRecorde r Ba s e {  Step #21 - "compile-libfuzzer-address-x86_64": | Sa ^m Step #21 - "compile-libfuzzer-address-x86_64": ple t/src/brpc/src/bvar/detail/percentile.hm:p129;:13 Step #21 - "compile-libfuzzer-address-x86_64": : |  ^note: Step #21 - "compile-libfuzzer-address-x86_64": initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: 129 |  note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here  Step #21 - "compile-libfuzzer-address-x86_64": D98E | F I N E _ S M A LtLa_kAeRRAY(ui_samntp3l2e_(t),;  Step #21 - "compile-libfuzzer-address-x86_64": | tmp ^, Step #21 - "compile-libfuzzer-address-x86_64": rhs._num/src/brpc/src/bvar/detail/percentile.h_:s476a:m28p:l es,note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here64 Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": | 476 ^ | Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/butil/macros.h : 426 : 42_:s ampnote: lexpanded from macro 'DEFINE_SMALL_ARRAY'er 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:129: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": = 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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/progressive_attachment.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": /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:582:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #21 - "compile-libfuzzer-address-x86_64": 582 | SerializeHuluHeaderAndMeta(&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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | memIn file included from se/src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cppt(:24this: 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": 0In 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.hs:i32z: Step #21 - "compile-libfuzzer-address-x86_64": eIn file included from /src/brpc/src/bthread/mutex.h:o27f: Step #21 - "compile-libfuzzer-address-x86_64": In file included from (/src/brpc/src/bvar/utils/lock_timer.h*:28t: Step #21 - "compile-libfuzzer-address-x86_64": hIn file included from i/src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": s/src/brpc/src/bvar/detail/percentile.h):129:)13;: Step #21 - "compile-libfuzzer-address-x86_64":  | warning: variable 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":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 129 |  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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 2 warning129 | s 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": :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:129: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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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": 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:247: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": 247 | 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": 116 | 40 |  r eSample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": t| ur ^ Step #21 - "compile-libfuzzer-address-x86_64": n append/src/brpc/src/bvar/detail/sampler.h_sec:o116n:23d:(valu e, _op);note: 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": Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65 :11625 | : note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": Sample t65 | m p ;  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   /src/brpc/src/bvar/detail/sampler.h_:s98e:r9i:e s.anote: ppin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereen Step #21 - "compile-libfuzzer-address-x86_64": d(_owner -98> | g e t _ v a l u et(ak1e_)s)a;mp Step #21 - "compile-libfuzzer-address-x86_64": l 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/window.h:58:9:/src/brpc/src/bvar/detail/percentile.h :note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 58 | : 28 :   note: Sein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereri Step #21 - "compile-libfuzzer-address-x86_64": esSampler( W476i | n d o w B a s e * o w n_esra,m pRl*e rv a=r )n Step #21 - "compile-libfuzzer-address-x86_64": e w|  ^s Step #21 - "compile-libfuzzer-address-x86_64": ampler/src/brpc/src/bvar/window.h_:t151y:p35e:( thnote: isin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here) Step #21 - "compile-libfuzzer-address-x86_64": ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  151 | _series_sampler = new Seri/src/brpc/src/bvar/detail/percentile.he:s247S:a16m: note: pexplicitly cast the pointer to silence this warningle Step #21 - "compile-libfuzzer-address-x86_64": r( this, _var247); |  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  m/src/brpc/src/bvar/latency_recorder.h:49e:m7s:e t(note: thin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereis Step #21 - "compile-libfuzzer-address-x86_64": ,  049 | , clsaiszse oLfat(e*nctyhRiesco)r)d;er Step #21 - "compile-libfuzzer-address-x86_64": B a| se ^ 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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":  _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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_returnIn file included from ing_void(o/src/brpc/src/brpc/policy/nshead_protocol.cppp,: 25t: Step #21 - "compile-libfuzzer-address-x86_64": mp,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 _d:25at: Step #21 - "compile-libfuzzer-address-x86_64": a.sIn 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _sampler = newe csoamplnedr(_itype());this 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/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);/src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": |  ^ 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here/src/brpc/src/bvar/window.h Step #21 - "compile-libfuzzer-address-x86_64": :53: 476 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 17: note: in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: 53note: | explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | me mset (t his, 0, si zeo f(*this  ));  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_endpoint.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.cpp.o 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.cpp.o 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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": 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:247: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": 247 | memset/src/brpc/src/bvar/detail/series.h:116:(this, 0, sizeof(*this))16:; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ 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/src/brpc/src/bvar/detail/sampler.h:40: Step #21 - "compile-libfuzzer-address-x86_64": 16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here 116 Step #21 - "compile-libfuzzer-address-x86_64": | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  40/src/brpc/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": Samp 65 | l e () : d a _tsea(ri), tesim.apepend_(_usow(0ner->)g {et} 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": val 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::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": ue( 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 1 476 | _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": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:/src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 9 247 | 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::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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": 2 warnings generated. 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o 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/reloadable_flags.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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_2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/retry_policy.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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 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.hu:247: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": nsigned 247 | memsenamt(this, 0, sizeof(*ethis)##_s);t Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": a/src/brpc/src/bvar/detail/sampler.h:c40:k16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": _a 40 | Samprrale() :y_s data(), time_usize (0=) ( nam{e}## Step #21 - "compile-libfuzzer-address-x86_64": _ s| iz ^e Step #21 - "compile-libfuzzer-address-x86_64": <= (maxs/src/brpc/src/bvar/detail/sampler.hi:116z:e23): ? nanote: mein instantiation of member function 'bvar::detail::Sample>::Sample' requested here## Step #21 - "compile-libfuzzer-address-x86_64": _ size : 0116 | ); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   S:a215m:p1l:e <T>note: tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": expanded from here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: 215 | tmnote: p_in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herestac Step #21 - "compile-libfuzzer-address-x86_64": k _array98_ | s i z e  Step #21 - "compile-libfuzzer-address-x86_64": ta k| e_s^a 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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_pb_message_factory.cpp.o 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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/selective_channel.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/serialized_request.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.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/server_id.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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 /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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] 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": [ 94%] 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/stream.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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/src/brpc/src/bvar/detail/percentile.h:129:13: warning: ));variable 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": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h 129 | : DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs.116_num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": : 16|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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": 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": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; 116 | \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": r 322 | etu r n  gaeptp_einndt_eseconrdv(avla_laue, _otp); Step #21 - "compile-libfuzzer-address-x86_64": |  ^(i) Step #21 - "compile-libfuzzer-address-x86_64": .merge/src/brpc/src/bvar/window.h:65(*r:25: hnote: sin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here._ Step #21 - "compile-libfuzzer-address-x86_64": intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series .appen| d(_owne ^r->get_v Step #21 - "compile-libfuzzer-address-x86_64": alue(1)); 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:58454::9: note: 16in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": : note: 58 |  Sin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hereeriesSampler(WindowBase* owner, 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 here454 Step #21 - "compile-libfuzzer-address-x86_64": | 151 | _serie s_sampl er = n ew Ser iesSampbl1e.merr(get(hbi2s);, Step #21 - "compile-libfuzzer-address-x86_64": _ v| ar ^) Step #21 - "compile-libfuzzer-address-x86_64": ; Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/window.h: ^53 Step #21 - "compile-libfuzzer-address-x86_64": :17: note: in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here/src/brpc/src/bvar/latency_recorder.h: Step #21 - "compile-libfuzzer-address-x86_64": 49 :7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | 49 |  c l a s_sva rL-a>toepn(c)y(Rvec1o,r dve2r)B;as 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/call_op_returning_void.h:29:12: /src/brpc/src/bvar/detail/percentile.h:129note: :13in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here:  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": 29 | return op(v1, v1292 | ) ;  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/series.h : 168D:E13F:I NE_note: SMin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereALL Step #21 - "compile-libfuzzer-address-x86_64": _ ARRAY(uint32_t, tmp, rhs.168_ | n u m _ s a m p l e s , ca6l4l_)o;p_ Step #21 - "compile-libfuzzer-address-x86_64": r e| tur ^n Step #21 - "compile-libfuzzer-address-x86_64": ing_vo/src/brpc/src/butil/macros.hi:d426(:o42p:, tmnote: p,expanded from macro 'DEFINE_SMALL_ARRAY' _ Step #21 - "compile-libfuzzer-address-x86_64": d ata.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": | 426 ^ | Step #21 - "compile-libfuzzer-address-x86_64":   char/src/brpc/src/bvar/detail/series.h :n116a:m16e:# #_snote: tain instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested hereck_ Step #21 - "compile-libfuzzer-address-x86_64": a rray[sizeof(Tp116) | * name # # _ s t acrke_taurrrna ya_pspiezned]_;s e c o n d (\va Step #21 - "compile-libfuzzer-address-x86_64": l u| e, ^ _ Step #21 - "compile-libfuzzer-address-x86_64": op); Step #21 - "compile-libfuzzer-address-x86_64": | :223 ^: Step #21 - "compile-libfuzzer-address-x86_64": 1: note: expanded from here/src/brpc/src/bvar/window.h Step #21 - "compile-libfuzzer-address-x86_64": : 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": 223 | tmp_sta65c | k _ a r r a y _ s i ze Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": _serie/src/brpc/src/bvar/detail/percentile.hs:.129a:p13p:e nd(note: _owdeclared herene Step #21 - "compile-libfuzzer-address-x86_64": r->g/src/brpc/src/butil/macros.he:t_425v:a20l:u e(note: 1expanded 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/window.h:58:9425: |   note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereco Step #21 - "compile-libfuzzer-address-x86_64": n st unsigne58d |  n a m e # # _Ssetraiceks_Saarmrpalye_rs(iWzien d=o w(Bnaasmee*# #o_wsniezre, ::SeriesSampler::SeriesSampler' requested heresi Step #21 - "compile-libfuzzer-address-x86_64": z e : 0151) | ; \  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   _ser:i219e:s1_:s ampnote: leexpanded from herer Step #21 - "compile-libfuzzer-address-x86_64": = new Seri219e | stSmapmple_r(sttahciks_a,r r_avya_rs)i;ze 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/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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": | 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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 | constIn 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:247: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": unsigned nam e247# | # _ stack_array_ 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 | Sampsize l=e <(Tn>a mtem#p#_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": ; 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 3 warnings generated. 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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": /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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/brpc/server.cpp:2003:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 2003 | char buf[fullname_len]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/server.cpp:2003:18: note: initializer of 'fullname_len' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/server.cpp:2000:18: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 2000 | 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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, /src/brpc/src/bvar/detail/percentile.hr:h129s:.13_:n um_warning: samvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]pl Step #21 - "compile-libfuzzer-address-x86_64": es, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29 :129 |   note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #21 - "compile-libfuzzer-address-x86_64": DEFINE_SMALL_ARRAY(uint 34262 | _ t , tmcph,a rrh sn.a_mneu#m#__ssatmapclke_sa,rr ay6[4s)i;ze Step #21 - "compile-libfuzzer-address-x86_64": o f| ( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T Step #21 - "compile-libfuzzer-address-x86_64": p) * name#/src/brpc/src/butil/macros.h#:_426s:t29a:c k_anote: rrexpanded from macro 'DEFINE_SMALL_ARRAY'ay Step #21 - "compile-libfuzzer-address-x86_64": _size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 426 | char 322n | a m e # # _ s t a c k _ a r r agye[t_siinzteeorfva(lT_pa)t (*i )n.ammeer#g#e_(s*trahcsk.__airnrtaeyr_vsailzse[]i;]) ;  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 Step #21 - "compile-libfuzzer-address-x86_64": :454:16:/src/brpc/src/bvar/detail/percentile.h :322:note: 36:in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here  Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here 454 Step #21 - "compile-libfuzzer-address-x86_64": | b1.merge(b2); 322 Step #21 - "compile-libfuzzer-address-x86_64": | |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   /src/brpc/src/bvar/window.h : 53 : 17 :  gnote: etin instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here_i Step #21 - "compile-libfuzzer-address-x86_64": nterval_ a53t | ( i ) . m e r g e ( * r h s . __vianrt-e>rovpa(l)s([vi1],) ;v2 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:454:16: /src/brpc/src/bvar/detail/call_op_returning_void.hnote: :29in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here: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": 29454 | |  r e t u r n b 1o.pm(evr1g,e (vb22));; 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/window.h/src/brpc/src/bvar/detail/series.h::53168::1713:: note: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herein instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": 53 | 168 | c a_lvla_ro-p>_orpe(t)u(rvn1i,n gv_2v)o;id Step #21 - "compile-libfuzzer-address-x86_64": ( o| p, ^ Step #21 - "compile-libfuzzer-address-x86_64": tmp, /src/brpc/src/bvar/detail/call_op_returning_void.h_:d29a:t12a:. secnote: onin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hered( Step #21 - "compile-libfuzzer-address-x86_64": i)); Step #21 - "compile-libfuzzer-address-x86_64": | 29 | ^ Step #21 - "compile-libfuzzer-address-x86_64":  ret/src/brpc/src/bvar/detail/series.hu:r116n:16 :o p(vnote: 1,in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here v Step #21 - "compile-libfuzzer-address-x86_64": 2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 116 |  /src/brpc/src/bvar/detail/series.h : 168 :13r:e turnote: nin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here a Step #21 - "compile-libfuzzer-address-x86_64": ppend_seco n168d | ( v a l u e , _ o p ) ;ca Step #21 - "compile-libfuzzer-address-x86_64": l l| _o ^p Step #21 - "compile-libfuzzer-address-x86_64": _return/src/brpc/src/bvar/window.hi:n65g:_25v:o id(note: opin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here, Step #21 - "compile-libfuzzer-address-x86_64": tmp, _dat a65. | s e c o n d ( i ) ) ;  Step #21 - "compile-libfuzzer-address-x86_64": | _ ^s Step #21 - "compile-libfuzzer-address-x86_64": eries.a/src/brpc/src/bvar/detail/series.hp:p116e:n16d:( _ownote: nein instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herer- Step #21 - "compile-libfuzzer-address-x86_64": >get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^116 Step #21 - "compile-libfuzzer-address-x86_64": |   /src/brpc/src/bvar/window.h : 58 : 9 : renote: tuin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herern Step #21 - "compile-libfuzzer-address-x86_64":  append _58s | e c o n d ( v a lSueer,i e_soSpa)m;pl Step #21 - "compile-libfuzzer-address-x86_64": e r| (W ^i Step #21 - "compile-libfuzzer-address-x86_64": ndowBase*/src/brpc/src/bvar/window.h :o65w:n25e:r , Rnote: * in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hereva Step #21 - "compile-libfuzzer-address-x86_64": r) Step #21 - "compile-libfuzzer-address-x86_64": |  ^65 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": _series.appen d151( | _ o w n e r - > g e t _ v_asleurei(es1_s)a)m;pl Step #21 - "compile-libfuzzer-address-x86_64": e r| = ^ Step #21 - "compile-libfuzzer-address-x86_64": ne/src/brpc/src/bvar/window.hw:58 :S9e:r iesnote: Sain instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested heremp Step #21 - "compile-libfuzzer-address-x86_64": ler(this, _var )58; |  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  Seri/src/brpc/src/bvar/latency_recorder.he:s49S:a7m:p lernote: (Win instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested herein Step #21 - "compile-libfuzzer-address-x86_64": dowB a49s | e*c loawsnser ,L aRt*e nvcayrR)ec Step #21 - "compile-libfuzzer-address-x86_64": o r| de ^r Step #21 - "compile-libfuzzer-address-x86_64": Base/src/brpc/src/bvar/window.h :{151: Step #21 - "compile-libfuzzer-address-x86_64": 35 :|  ^ 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/detail/percentile.h:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 151 | 129 | _ s e r i e s _ sDaEmFpIlNeEr_ S=M ALnLe_wAR RSAeYr(iueisnSta3m2p_lte,r (tmtph,i srh,s .__vnaurm)_;sa Step #21 - "compile-libfuzzer-address-x86_64": m p| le ^s Step #21 - "compile-libfuzzer-address-x86_64": , 64/src/brpc/src/bvar/latency_recorder.h:)49;:7 Step #21 - "compile-libfuzzer-address-x86_64": : |  ^note: Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: 49 | note: clexpanded from macro 'DEFINE_SMALL_ARRAY'as Step #21 - "compile-libfuzzer-address-x86_64": s LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^426 Step #21 - "compile-libfuzzer-address-x86_64": |   /src/brpc/src/bvar/detail/percentile.h :129c:h13a:r  nnote: aminitializer of 'tmp_stack_array_size' is not a constant expressione# Step #21 - "compile-libfuzzer-address-x86_64": #_stack_array [129 |  s i z e o f  ( T p ) D*E FnIaNmEe_#S#M_AsLtLa_cAkR_RaArYr(auiyn_ts3i2z_et],; t m p , r\hs Step #21 - "compile-libfuzzer-address-x86_64": . _| nu ^m Step #21 - "compile-libfuzzer-address-x86_64": _sample:s166,: 1:6 4)note: ;expanded from here 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 :166426 | :t42m:p _stnote: acexpanded from macro 'DEFINE_SMALL_ARRAY'k_ Step #21 - "compile-libfuzzer-address-x86_64": array_size Step #21 - "compile-libfuzzer-address-x86_64": | 426 | ^ Step #21 - "compile-libfuzzer-address-x86_64":  c/src/brpc/src/bvar/detail/percentile.hh:a129r:13 :n amenote: ##declared here_s Step #21 - "compile-libfuzzer-address-x86_64": tac/src/brpc/src/butil/macros.hk:_a425r:r20a:y [sinote: zeexpanded from macro 'DEFINE_SMALL_ARRAY'of Step #21 - "compile-libfuzzer-address-x86_64": (Tp) * name##_stack_arr a425y | _ s i z e]c;o n s t  \un Step #21 - "compile-libfuzzer-address-x86_64": s | ig ^n Step #21 - "compile-libfuzzer-address-x86_64": ed n:a204m:e1#:# _stnote: acexpanded from herek_ Step #21 - "compile-libfuzzer-address-x86_64": array_size =204 | (tmnpa_mset#a#c_ks_iazrer a:162:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 425 | 162 | tmcpo_nssttac k_uanrsriagyn_esdi zneam Step #21 - "compile-libfuzzer-address-x86_64": e #| #_^s Step #21 - "compile-libfuzzer-address-x86_64": tack_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": 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:247: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": 247 | 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::Percentile::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:476:28: note: [0min instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": 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": [ 97%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] 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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] 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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] 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_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] 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": [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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] 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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] 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_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 129 | 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:129: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/tmpjfg8jsy8/fuzz_json Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjfg8jsy8/fuzz_shead Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjfg8jsy8/fuzz_butil Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjfg8jsy8/fuzz_esp Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjfg8jsy8/fuzz_redis Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjfg8jsy8/fuzz_hpack Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjfg8jsy8/fuzz_http Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjfg8jsy8/fuzz_hulu Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjfg8jsy8/fuzz_uri Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjfg8jsy8/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 66%) Step #24: adding: fuzz_hpack (deflated 67%) Step #24: adding: fuzz_hpack_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_http (deflated 66%) Step #24: adding: fuzz_http_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_hulu (deflated 66%) 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 66%) Step #24: adding: fuzz_sofa (deflated 66%) Step #24: adding: fuzz_uri (deflated 66%) 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 761 --:--:-- --:--:-- --:--:-- 765 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 58 201M 0 0 58 118M 0 144M 0:00:01 --:--:-- 0:00:01 144M 100 201M 0 0 100 201M 0 131M 0:00:01 0:00:01 --:--:-- 131M 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 380 --:--:-- --:--:-- --:--:-- 380 Finished Step #27 Starting Step #28 Step #28: Already have image (with digest): gcr.io/cloud-builders/curl Step #28: Step #28: ***** NOTICE ***** Step #28: Step #28: Supported `curl` versions can be found in the various images available at Step #28: https://console.cloud.google.com/launcher/details/google/ubuntu1604. Step #28: Step #28: ***** END OF NOTICE ***** Step #28: 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 147 --:--:-- --:--:-- --:--:-- 147 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 (3.4s) Step #30 - "compile-libfuzzer-undefined-x86_64": -- Generating done (0.5s) 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 v3.pb.h, v3.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 brpc/get_js.pb.h, brpc/get_js.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating addressbook.pb.h, addressbook.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 addressbook_encode_decode.pb.h, addressbook_encode_decode.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.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 addressbook_map.pb.h, addressbook_map.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/options.pb.h, brpc/options.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 brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.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 brpc/policy/mongo.pb.h, brpc/policy/mongo.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": [ 2%] Generating iobuf.pb.h, iobuf.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.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 repeated.pb.h, repeated.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 v1.pb.h, v1.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 v2.pb.h, v2.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/span.pb.h, brpc/span.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/trackme.pb.h, brpc/trackme.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": [ 5%] 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": [ 5%] 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": [ 5%] 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": [ 5%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] 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": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] 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": [ 8%] 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": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] 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/debug/alias.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": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] 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 CMakeFiles/PROTO_LIB.dir/idl_options.pb.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": [ 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 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_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/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.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/TEST_PROTO_LIB.dir/addressbook_map.pb.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": [ 21%] 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 test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] 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": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_piece.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] 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": [ 27%] 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": [ 27%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] 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": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] 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": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] 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": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] 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": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] 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": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] 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": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] 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": [ 40%] 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": [ 40%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.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 CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.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": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.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 = rec.MetaAt(i); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/sofa_pbrpc_meta.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": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] 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": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/streaming_rpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/proto_base.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] 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": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread_once.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] 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/bthread/bthread.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": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] 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/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": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] 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/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/encode_decode.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/pb_to_json.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] 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%] 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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/bvar/detail/percentile.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:247: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": 247 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/combiner.h:227:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 227 | const ElementTp element_identity = 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::Percentile::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::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::Percentile::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::AddPercentileSamples>>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 1344 | : _M_ptr(), _M_refcount(_M_ptr, __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:359:4: note: in instantiation of function template specialization 'std::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::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::Percentile::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::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::Percentile::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::Percentile::AddPercentileSamples>>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 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::Percentile::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": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/semaphore.cpp:20: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/rwlock.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/rwlock.h:22: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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 | In 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.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:247:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] In file included from return a/src/brpc/src/bvar/collector.cppp:p24e: Step #30 - "compile-libfuzzer-undefined-x86_64": nIn file included from d/src/brpc/src/bvar/bvar.h_:s27e: Step #30 - "compile-libfuzzer-undefined-x86_64": cIn file included from ond(/src/brpc/src/bvar/latency_recorder.hvalue, _op):;26: Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/percentile.h| :247 ^: Step #30 - "compile-libfuzzer-undefined-x86_64": 16: Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 247 | 247 | mem/src/brpc/src/bvar/window.hset(thi mes,: 650mset(,:25 : sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^t Step #30 - "compile-libfuzzer-undefined-x86_64": his,/src/brpc/src/bvar/detail/sampler.h:40:note: 16: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herenote: Step #30 - "compile-libfuzzer-undefined-x86_64": in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 65 | | S a m p l e ( ) :_ sdea/src/brpc/src/bthread/task_control.cpprtiae:(s516).,a :ptpi5emne_:du (s_(ow0warning: ne)r -{variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]>}g Step #30 - "compile-libfuzzer-undefined-x86_64": e Step #30 - "compile-libfuzzer-undefined-x86_64": t _| va ^l Step #30 - "compile-libfuzzer-undefined-x86_64": ue (516 | /src/brpc/src/bvar/detail/sampler.h1 :116):);23: Step #30 - "compile-libfuzzer-undefined-x86_64": | note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64":  0 ^, Step #30 - "compile-libfuzzer-undefined-x86_64": sizeo/src/brpc/src/bvar/window.hf:58(:*9:t note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": hi 58 | D 116 | S e rs i e) s) S;Saammpplle Step #30 - "compile-libfuzzer-undefined-x86_64": t m| p; ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  | e ^r Step #30 - "compile-libfuzzer-undefined-x86_64": (WindowBase* owne/src/brpc/src/bvar/detail/sampler.h:r98,: 9R:/src/brpc/src/bvar/detail/sampler.h* vanote: r):in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 40:16|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | :  tEaFINE_S/src/brpc/src/bvar/window.hM:A151L:L35_:A RRnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested herenote:  Step #30 - "compile-libfuzzer-undefined-x86_64": in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": A 40 | Sample (151) | : d a t a ( ) , ti _series_Ymsea(m_us(0)ke_samp l{e}()p;le Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": | | r ^ = Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": ne ^w Step #30 - "compile-libfuzzer-undefined-x86_64": 476 |   _Serint, /src/brpc/src/bvar/detail/sampler.hn:ums, n116group, ie1s2S8); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29:a mpnote: leexpanded from macro 'DEFINE_SMALL_ARRAY'r(this, Step #30 - "compile-libfuzzer-undefined-x86_64": :23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here 426 Step #30 - "compile-libfuzzer-undefined-x86_64": | _char name##_stvaack_array[r)s;iz Step #30 - "compile-libfuzzer-undefined-x86_64": e o| f ^( Step #30 - "compile-libfuzzer-undefined-x86_64": Tp) * name##/src/brpc/src/bvar/latency_recorder.h_:s49t:a7c:k_array _sinote: zein instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here]; Step #30 - "compile-libfuzzer-undefined-x86_64": \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bthread/task_control.cpp:516:5 :49116 |  |  cnote:  initializer of 'nums_stack_array_size' is not a constant expressionl Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:a426s:s42: Latnote: enexpanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": cyRe co rder 426 | charB ansame#e {sam Step #30 - "compile-libfuzzer-undefined-x86_64": ple r = new|  sampler_type(this); 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: Sample tm129p:;13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note:  explicitly cast the pointer to silence this warning129 | Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": | 247 |  m ^e Step #30 - "compile-libfuzzer-undefined-x86_64": m #_stack_ar/src/brpc/src/bvar/detail/sampler.hr:a98y:[9:s izenote: ofin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here( Step #30 - "compile-libfuzzer-undefined-x86_64": Tp) * name #98# | _ s t a c k _ a rtraakye__ssiazmep]l;e ( ) ;  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": /src/brpc/src/bvar/detail/percentile.h:476::28:s et(  t h i sDE,F I0NE,_SMA LsLi_ 80Az:R1e: note: RAnote: Y(uexpanded from herein Step #30 - "compile-libfuzzer-undefined-x86_64": t3of(*thi s));in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64":  476 | 80 | 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: _samp516:5: note: ldeclared here Step #30 - "compile-libfuzzer-undefined-x86_64": er =/src/brpc/src/butil/macros.h :425:n20ew: sanote: mpler_texpanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_sizeype(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": = (name##_size <= (maxsize) ? name##_size : 0);[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :76:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 76 | nums_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2_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:24742: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": | memset(th is, 4260 |  , si z e ofc(*thhisa)r); n Step #30 - "compile-libfuzzer-undefined-x86_64": a m| e## ^_st Step #30 - "compile-libfuzzer-undefined-x86_64": ac k| _array[ (void*)s Step #30 - "compile-libfuzzer-undefined-x86_64": izeof(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:129: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": In file included from /src/brpc/src/bthread/key.cpp:26: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | b1.merge(b/src/brpc/src/bvar/detail/percentile.h:247: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": 247 | 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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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); 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | DEFINE_SMALL_ARRIn file included from A/src/brpc/src/bthread/butex.cppY:(35u: Step #30 - "compile-libfuzzer-undefined-x86_64": iIn file included from n/src/brpc/src/bthread/task_control.ht:3342: Step #30 - "compile-libfuzzer-undefined-x86_64": _In file included from t/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:, tmp26: Step #30 - "compile-libfuzzer-undefined-x86_64": , r/src/brpc/src/bvar/detail/percentile.h:h247:s16: ._nwarning: 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": um 247 | mem_sset(thisam, p0le, sizeof(*s,th is)6); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 4); Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40 |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": :16:/src/brpc/src/butil/macros.h: 426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | 426 | char name## __ssatmapclke_ra r= newray[si zeosfam(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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": pler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": :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/task_control.cpp:32: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 59%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _va/src/brpc/src/bvar/detail/percentile.hr-:129:13>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: warning:  | variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]  Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | c a l l _ o p _ r e t uDrEnFiInNEg_SM_AvLoLi_ARdR(AYo(pu,i nttm3p2,_ t_,d attmap.,s erchosn.d_(niu)m)_;sam Step #30 - "compile-libfuzzer-undefined-x86_64": p l| es ^, 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/bvar/detail/series.h:116/src/brpc/src/butil/macros.h::16426:: 29: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herenote:  Step #30 - "compile-libfuzzer-undefined-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | 426 | r e t u rnch aarpp ennadm_es#e#c_osntda(cvka_laurer,a y_[ops)i;ze Step #30 - "compile-libfuzzer-undefined-x86_64": o f| ( ^T Step #30 - "compile-libfuzzer-undefined-x86_64": p) * name##_s/src/brpc/src/bvar/window.ht:a65c:k25_arr:a y_sinote: zein instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here]; Step #30 - "compile-libfuzzer-undefined-x86_64": \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64":  65/src/brpc/src/bvar/detail/percentile.h | : 322 : 36:   note:  in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322_ | s e r i e s . a p p e n d ( _ o wgneetr_-i>ngteetr_vvaall_uaet((i1).)m)e;rg Step #30 - "compile-libfuzzer-undefined-x86_64": e (| *r ^h Step #30 - "compile-libfuzzer-undefined-x86_64": s._intervals/src/brpc/src/bvar/window.h[:i]); Step #30 - "compile-libfuzzer-undefined-x86_64": 58 |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :9: /src/brpc/src/bvar/detail/percentile.h:note: 454:16in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": 58|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": |  /src/brpc/src/bvar/window.h:53:17: Series Sanote: mpin instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested hereler Step #30 - "compile-libfuzzer-undefined-x86_64": ( WindowBase*53 | o w n e r , R * v a r )  Step #30 - "compile-libfuzzer-undefined-x86_64": _| va ^r Step #30 - "compile-libfuzzer-undefined-x86_64": ->op()(v1/src/brpc/src/bvar/window.h, :v1512:)35; Step #30 - "compile-libfuzzer-undefined-x86_64": :|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here 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 op151(v1 | , v 2 ) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": _|  ^s Step #30 - "compile-libfuzzer-undefined-x86_64": eries_sampler/src/brpc/src/bvar/detail/series.h :=168 :13n:e w note: Sein instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereri Step #30 - "compile-libfuzzer-undefined-x86_64": e sSampler(this, _var)168; |  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   call_o/src/brpc/src/bvar/latency_recorder.hp:_49r:e7t:u rninote: ngin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here_void( Step #30 - "compile-libfuzzer-undefined-x86_64": o p, tmp,49 _ | dactlaas.sse cLoantde(nic)y)R;eco Step #30 - "compile-libfuzzer-undefined-x86_64": r d| er ^B Step #30 - "compile-libfuzzer-undefined-x86_64": ase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^/src/brpc/src/bvar/detail/series.h Step #30 - "compile-libfuzzer-undefined-x86_64": :116:16: note: /src/brpc/src/bvar/detail/percentile.hin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here:129: Step #30 - "compile-libfuzzer-undefined-x86_64": 13 : note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return a129p | p en d _ s e c o n d ( vDaElFuIeN,E __SopM)AL;L_ Step #30 - "compile-libfuzzer-undefined-x86_64": A R| RA ^Y Step #30 - "compile-libfuzzer-undefined-x86_64": (uint32_t, /src/brpc/src/bvar/window.htm:65p:,25 :r hs.note: _nin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hereum Step #30 - "compile-libfuzzer-undefined-x86_64": _ samples, 6465) | ;  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/butil/macros.h : 426 :_42s:e rienote: s.expanded from macro 'DEFINE_SMALL_ARRAY'ap Step #30 - "compile-libfuzzer-undefined-x86_64": p end(_own426e | r - >gcehta_rva lnuaeme(##1_s)t); Step #30 - "compile-libfuzzer-undefined-x86_64": a| ck ^_ Step #30 - "compile-libfuzzer-undefined-x86_64": array[si/src/brpc/src/bvar/window.hz:eo58f:9(:T p) note: * in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herena Step #30 - "compile-libfuzzer-undefined-x86_64": m e##_stack_array_58 | SesrieiszSea]m;p l e r ( W i\nd Step #30 - "compile-libfuzzer-undefined-x86_64": o w| Ba ^s Step #30 - "compile-libfuzzer-undefined-x86_64": e* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :173:1: /src/brpc/src/bvar/window.hnote: :151expanded from here:35 Step #30 - "compile-libfuzzer-undefined-x86_64": : note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 173 | tmp_stack_array151 | _ s ize Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13 :   note: _sdeclared hereer Step #30 - "compile-libfuzzer-undefined-x86_64": ies_sa/src/brpc/src/butil/macros.hm:ple425r: 20=: new Sernote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | i e sScaomnpslte unsri(gnetdhi sna,m e_#v#a_rs)t;ac Step #30 - "compile-libfuzzer-undefined-x86_64": k _| ar ^r Step #30 - "compile-libfuzzer-undefined-x86_64": ay_size = (nam/src/brpc/src/bvar/latency_recorder.he:#49#:_7s:i znote: ein instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here <= Step #30 - "compile-libfuzzer-undefined-x86_64": (maxsize) ?49 | nacmle#a#s_ssi zLea t:e ncy0Re)c;o r\de Step #30 - "compile-libfuzzer-undefined-x86_64": r B| as ^e Step #30 - "compile-libfuzzer-undefined-x86_64": { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^: Step #30 - "compile-libfuzzer-undefined-x86_64": 169:1: note: expanded from here/src/brpc/src/bvar/detail/percentile.h Step #30 - "compile-libfuzzer-undefined-x86_64": : 129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 169 | tmp_stack_array_size129 Step #30 - "compile-libfuzzer-undefined-x86_64": | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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 | 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:129: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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h :129:13 :   warning:  variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": _series.ap 129 | p e n d ( _ o w DnEeFINE_SMALrL-_>AgReRtA_Y(uivnt32_ta,l utemp, rhs._num_samples(, 16)4);); 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": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' 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": 426 | 58 | c h a r  Sneamrei##e_sstacSka_arrmapy[sliezreof((WTipn)d owB*a name##_stacske_array_size]; * o w\ne Step #30 - "compile-libfuzzer-undefined-x86_64": r ,|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:322: 36R:* vanote: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herer) Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  322/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": get_inte r151val_ | a t ( i ). mer g e( *rh s . _int_esrvalesr[iie]s_); Step #30 - "compile-libfuzzer-undefined-x86_64": s a| mp ^le Step #30 - "compile-libfuzzer-undefined-x86_64": r = n/src/brpc/src/bvar/detail/percentile.he:454:w16:  note: Sein instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hereri Step #30 - "compile-libfuzzer-undefined-x86_64": esSample 454r | (  t h i s  b1.,m e_rge(vba2)r;) 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 Step #30 - "compile-libfuzzer-undefined-x86_64": :53:17: /src/brpc/src/bvar/latency_recorder.hnote: in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here: Step #30 - "compile-libfuzzer-undefined-x86_64": 49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class Laten cy53R | e cor d e r B a s_vear- >{op()( Step #30 - "compile-libfuzzer-undefined-x86_64": v 1| , v2) ^; 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/src/brpc/src/bvar/detail/call_op_returning_void.h::12929::12: 13: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": note: initializer of 'tmp_stack_array_size' is not a constant expression 29 Step #30 - "compile-libfuzzer-undefined-x86_64": | return op 129 | (v 1, v 2) ; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  D/src/brpc/src/bvar/detail/series.hE:168:13F:I note: NEin 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 #30 - "compile-libfuzzer-undefined-x86_64": MALL_ARRAY(uint 1683 | 2 _ t , t m p, rh s . _ n cuamll_o_ps_armeptluersn,i ng6_voi4d(op,) ;tmp, Step #30 - "compile-libfuzzer-undefined-x86_64": _ d| a ^t Step #30 - "compile-libfuzzer-undefined-x86_64": a.seco/src/brpc/src/butil/macros.hn:d426(:i42):) ; Step #30 - "compile-libfuzzer-undefined-x86_64": note: | expanded from macro 'DEFINE_SMALL_ARRAY' ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/series.h426:116 | : 16 : cnote: hain instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herer Step #30 - "compile-libfuzzer-undefined-x86_64": name##_stac k116_ | a r r a y [  s izreturenof a(pTppe) * nnda_mes#e#c_osntda(cvk_aalrure, a_yo_ps); Step #30 - "compile-libfuzzer-undefined-x86_64": i z| e] ^; Step #30 - "compile-libfuzzer-undefined-x86_64":  \/src/brpc/src/bvar/window.h Step #30 - "compile-libfuzzer-undefined-x86_64": : 65| :25 ^: Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here: Step #30 - "compile-libfuzzer-undefined-x86_64": 164:1:  note: 65 | expanded from here  Step #30 - "compile-libfuzzer-undefined-x86_64": _ s164e | rtimeps_.stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129: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[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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/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": In 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.h2 warning:27: Step #30 - "compile-libfuzzer-undefined-x86_64": s generatedIn 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:247:. Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 59%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64":  129 | note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #30 - "compile-libfuzzer-undefined-x86_64": DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._n u425m | _ s am p les, 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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": | 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_si ^ze 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/series.h:168:13: note: in 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 59%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flags_service.cpp.o 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/flot_min_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. 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:247: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": 247 | memset(this, [ 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": 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/get_js_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 62%] 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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_service.cpp.o 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/hotspots_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] 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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_service.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/list_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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)[ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_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/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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:In file included from note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/builtin/common.cpp:28 176 | t: Step #30 - "compile-libfuzzer-undefined-x86_64": mIn file included from /src/brpc/src/brpc/server.hp_st:26ack_: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32ar: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from r/src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from a/src/brpc/src/bvar/utils/lock_timer.hy:_s28i: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.hze Step #30 - "compile-libfuzzer-undefined-x86_64": :| 26: Step #30 - "compile-libfuzzer-undefined-x86_64": ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: /src/brpc/src/bvar/detail/percentile.h:129:warning: 13: 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": note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20247 | :  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":  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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/prometheus_metrics_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, 2 warnings generated. 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: 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:129: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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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: /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_129st | ack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^In file included from Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/builtin/bad_method_service.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/butil/macros.h:/src/brpc/src/brpc/controller.h:426: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.h42: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:note: expanded from macro 'DEFINE_SMALL_ARRAY'28: Step #30 - "compile-libfuzzer-undefined-x86_64":  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:247:16: 426 | warning:  cfirst 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": 247 | memset(thhar name##_stack_array[sizeof(Tp) * name##is, 0, sizeof_stack_array_size](*this)); 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": :199:1: /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(), timenote: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 199 | tmp_stack_a_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": | rray_size Step #30 - "compile-libfuzzer-undefined-x86_64":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: note: declared herein instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 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 unsi116 | 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::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": gned name##_stack_ar 98 | tray_size = (name##_ake_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^size <= (maxsize) ? name##_si Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | ze : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  _s:195:1: note: expanded from hereampler Step #30 - "compile-libfuzzer-undefined-x86_64": = new sam195pler_t | tmp_stack_arype(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ray_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/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sorttable_js.cpp.o 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/status_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 64%] 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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/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:247: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": 247[ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ 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 | /src/brpc/src/bvar/detail/percentile.h:247:16:  renote: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": t urn 247 | moepm(v1,set(this, 0, sizeo f(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/viz_min_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_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/channel.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/circuit_breaker.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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/cluster_recover_policy.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/compress.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.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/details/has_epollrdhup.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/details/health_check.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.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:247: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": 247 | 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 | In file included from Sample() : data(),/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 time_us(0) {}/src/brpc/src/bthread/mutex.h Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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/src/brpc/src/bvar/detail/sampler.h:116::23: note: 26in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": : Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:247: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": 247 | 116 | 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::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | tak e_sample(); 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:/src/brpc/src/bvar/detail/percentile.h98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::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": 476| :28: ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:476:28:476 |  note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": _sampler = ne476w | s a mp l e r _ t y_pes(atmhpilse)r; = Step #30 - "compile-libfuzzer-undefined-x86_64":  n| ew ^ 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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | /src/brpc/src/bvar/detail/percentile.h : 247 : 16 : memnote: seexplicitly cast the pointer to silence this warningt( Step #30 - "compile-libfuzzer-undefined-x86_64": t his, 2470 |  ,  s i z e omfem(s*ett(hitshis,) )0;, Step #30 - "compile-libfuzzer-undefined-x86_64":  s| i ^z Step #30 - "compile-libfuzzer-undefined-x86_64": eo f| ( (void*)* Step #30 - "compile-libfuzzer-undefined-x86_64": 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/details/http_message.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/details/http_parser.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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[ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": :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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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) * n[ 70%] 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": ame##_stack_[ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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 here2 Step #30 - "compile-libfuzzer-undefined-x86_64": warnings generated. 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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/ssl_helper.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/tcmalloc_extension.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _sampler = new sampler_In file included from /src/brpc/src/brpc/builtin/protobufs_service.cpptype(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :/src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 20 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": 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/usercode_backup_pool.cpp.o 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.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/event_dispatcher.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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) ? naIn file included from me##_siz/src/brpc/src/brpc/builtin/rpcz_service.cpp:27e: 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 0);: \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here26 Step #30 - "compile-libfuzzer-undefined-x86_64": : Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | t/src/brpc/src/bvar/detail/percentile.hm:247p:_16s:t ackwarning: _arfirst 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": r ay_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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_sam[ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/global.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": pler = 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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/vars_service.cpp:22: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/status_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/version_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/details/http_message.cpp: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http2.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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 | /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | DEFIN _series.append(E__oSwner->gMAet_vaLlue(L_A1RRAY)(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ui Step #30 - "compile-libfuzzer-undefined-x86_64": nt32/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": _ 58t, t | m Sp,eriesSampler(WindowBase* owner, R* var ) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^rhs Step #30 - "compile-libfuzzer-undefined-x86_64": ._n/src/brpc/src/bvar/window.hu:151m:_s35am: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | p _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 LatencylRecordeerBsase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": ,  129 | 64 ) 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: note: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  426 | ch/src/brpc/src/butil/macros.h:426:ar name##_stack_array[size29o:f (Tp) * name##_stack_arrnote: ayexpanded from macro 'DEFINE_SMALL_ARRAY'_s Step #30 - "compile-libfuzzer-undefined-x86_64": ize]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  426 |  :219 :ch1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": ar na 219m | temp_st#ack_array_s#i_ze Step #30 - "compile-libfuzzer-undefined-x86_64": | st^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.hack:_array[sizeof(Tp) * n129a:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425m:e##20:_ stacnote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": k_array_size] ; 425 |  const unsigned name##_ stac\ Step #30 - "compile-libfuzzer-undefined-x86_64": k_a | rr ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ay_size = Step #30 - "compile-libfuzzer-undefined-x86_64": (name##_size <= (maxsize/src/brpc/src/bvar/detail/percentile.h:) ? 322:name36#: #_siznote: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested heree Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | : 0) ; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  : get_interval_at(i).merge(*rhs._intervals[i]215):; Step #30 - "compile-libfuzzer-undefined-x86_64": 1: | note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 215 | t b1.mergme(bp2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": _stack_arra/src/brpc/src/bvar/window.hy:53:_17: snote: izin instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested heree Step #30 - "compile-libfuzzer-undefined-x86_64": |  Step #30 - "compile-libfuzzer-undefined-x86_64": ^ 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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 nameIn file included from /src/brpc/src/brpc/checksum.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/checksum.h: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:247: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": ##_stack_array[sizeof(Tp) * name##_stack_arra247y | _s i z e ] ; m e m s e t (\t Step #30 - "compile-libfuzzer-undefined-x86_64": h[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_header.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": is|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": , 0, sizeof(*th:219:1: is)note: expanded from here); Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": |  219 ^ Step #30 - "compile-libfuzzer-undefined-x86_64": | tmp_stack_array_/src/brpc/src/bvar/detail/sampler.h:40:size16: Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ 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": /src/brpc/src/bvar/detail/percentile.h:129: 40 | 13:  Sanote: 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": m425 | const ple() : duanta(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": | s ^ Step #30 - "compile-libfuzzer-undefined-x86_64": igned/src/brpc/src/bvar/detail/sampler.h na:116me:23: ##note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample<_stacT> tmkp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h_:a98r:r9a:y _sinote: zein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here = Step #30 - "compile-libfuzzer-undefined-x86_64": (name##_s i98z | e < = ( m a xtsaikzee_)s a?m pnlaem(e)#;#_size : 0); \ 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": :215/src/brpc/src/bvar/detail/percentile.h::1476:: 28: note: expanded from herenote:  Step #30 - "compile-libfuzzer-undefined-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | t m476p | _ s t a c k _ a r r a y __ssiazmepl Step #30 - "compile-libfuzzer-undefined-x86_64": e r| =^ 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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/vlog_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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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/src/brpc/src/bvar/detail/percentile.h:: 129note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": :13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | ch a129r |  name## _ s t a c k _ ar ray [DEsFizIeNoEf_S(MTApL)L _*A RnRaAmYe(#u#i_nstt3ack2_a_rtr,a yt_mspi,z er]h;s . _n\u Step #30 - "compile-libfuzzer-undefined-x86_64": m _| s ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ample:s160,: 1:6 4)note: ;expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64":  160 | /src/brpc/src/butil/macros.ht:m426p_:s29tack_ar:ra y_size Step #30 - "compile-libfuzzer-undefined-x86_64": note: | expanded from macro 'DEFINE_SMALL_ARRAY'^ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129: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": 426 | char nam 425 | e# # _ sconst tuansigncekd_a rnarmaey#[#_ssitzack_eaorfra(yT_ps)i z*e n=a m(namee##_si##z_es :156:1: /src/brpc/src/bvar/detail/percentile.hnote: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": :322:36: 156 | tmp_snote: tacin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herek_arr Step #30 - "compile-libfuzzer-undefined-x86_64": ay_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated53. Step #30 - "compile-libfuzzer-undefined-x86_64": | _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/compress.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/channel.cpp:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_map.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/input_messenger.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :242:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 242 | 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:129: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": :238:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 238 | 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/cluster_recover_policy.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.cpp:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.h:23: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | memset(this, 0, siz2eof( warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": *this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_pb_service_adaptor.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:3454:16: warningsnote: generated. Step #30 - "compile-libfuzzer-undefined-x86_64": in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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 In file included from /src/brpc/src/brpc/details/health_check.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/health_check.h:22: 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 S/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:247: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": e 247 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": r/src/brpc/src/bvar/detail/sampler.h:40:16:iesS anote: min instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herepler(th Step #30 - "compile-libfuzzer-undefined-x86_64": is, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 40 |  S/src/brpc/src/bvar/latency_recorder.h:a49:7:m pnote: le()in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": : data(), t 49im | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs.e_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 _num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": tm/src/brpc/src/butil/macros.h:426:42p;: 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::Percentile::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":  note: expanded from macro 'DEFINE_SMALL_ARRAY'/src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": 476 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": :194:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 194 | tmp_stack_array_si ze  Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: 129: 13:_ note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.hs:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": amp[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": ler = 425 | const neunsigned nwame##_stack_array_ size =s (ampnlearme##__styipe(this); Step #30 - "compile-libfuzzer-undefined-x86_64": | z ^e Step #30 - "compile-libfuzzer-undefined-x86_64": <= (maxsize) ? name##_si/src/brpc/src/bvar/detail/percentile.h:z247e:16: : note: 0explicitly cast the pointer to silence this warning); Step #30 - "compile-libfuzzer-undefined-x86_64": \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  247 | :190:1: note:  expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": memset(this, 0, s190izeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ | Step #30 - "compile-libfuzzer-undefined-x86_64": t | mp (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": _stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :33:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 33 | 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:129: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": :29:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | 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/details/load_balancer_with_naming.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: 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:247: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": 247 | 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": In file included from /src/brpc/src/brpc/details/jemalloc_profiler.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:247: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": 116 | 247 | Sa mmemseptl(teh istmp; Step #30 - "compile-libfuzzer-undefined-x86_64": , 0, size| of(*t ^his 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: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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _sampl/src/brpc/src/bvar/detail/sampler.her = new: sampler_t98y:pe(thi9s: note: );in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | tak/src/brpc/src/bvar/detail/percentile.h:247:16: note: eexplicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": _sa m247 | ple (); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": mem/src/brpc/src/bvar/detail/percentile.hset(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": :476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/parallel_channel.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/partition_channel.cpp.o 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/controller.cpp:23: 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:[ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 2 322 | warning s generated . Step #30 - "compile-libfuzzer-undefined-x86_64": 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.cpp:24: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_rpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consistent_hashing_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :190:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 190 | 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:129: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": :186:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 186 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: In file included from /src/brpc/src/brpc/details/naming_service_thread.cppnote: :in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_map.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  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:26 454 | b1.me: Step #30 - "compile-libfuzzer-undefined-x86_64": rg/src/brpc/src/bvar/detail/percentile.he(b2):247; Step #30 - "compile-libfuzzer-undefined-x86_64": | :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":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  247 | /src/brpc/src/bvar/window.h : 53 : 17 :  mnote: ein instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested heremse Step #30 - "compile-libfuzzer-undefined-x86_64": t(this, 0, sizeof 53( | *  t h i s  ) ) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": |  _ ^v Step #30 - "compile-libfuzzer-undefined-x86_64": ar->/src/brpc/src/bvar/detail/sampler.h:o40p():16:(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 | _seri 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | memsees_sampler = new St(thiser,i e0sSam, sizeopler(f(*thitshi, s_va)); Step #30 - "compile-libfuzzer-undefined-x86_64": r |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) 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/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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": :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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dh.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.cpp:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": In file included from /src/brpc/src/brpc/details/method_status.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/domain_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:454 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:5313:17: note: in instantiation of function template specialization 'bvar::detail::Percentile::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": warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 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":  129 | /src/brpc/src/bvar/detail/series.h:168:13 : note: in 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_seco n DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, d(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": 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 | /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": _series.appe nd(_owner426 | - > g echat_vr anlame##_staue(ck1_a)r)r;a Step #30 - "compile-libfuzzer-undefined-x86_64": y| [ ^si Step #30 - "compile-libfuzzer-undefined-x86_64": zeof(Tp/src/brpc/src/bvar/window.h): 58*: name##_st9ac:k _arnote: rain instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herey_ Step #30 - "compile-libfuzzer-undefined-x86_64": s 58 | SeriesSampler(WindowBase* owner, R* ize]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:var)322 Step #30 - "compile-libfuzzer-undefined-x86_64": : 36| : ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here 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": 322 | 151 | _ s e get_interies_sravamlp_laetr( i=) .mnew Seerger(i*rehssS.a_mipnlteerr(vatlhsi[si],) ;_v Step #30 - "compile-libfuzzer-undefined-x86_64": a r| ); ^ 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:454:16:/src/brpc/src/bvar/latency_recorder.h :49note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | :7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | bc1l.amsesrg Leaten(b2);cyRecorde 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::Percentile::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 | returnrBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tm op, 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": 426p( | char navme##1_s, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": tack_array[/src/brpc/src/bvar/detail/series.h:168:13:s note: in 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": izeof( 168 | T p ) cal l_op_retur* niname##_ng_void(sopt, tmp, _daata.scecond(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": k_array_size]; \ 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": :219:1 116 | :   note: retexpanded from hereurn ap Step #30 - "compile-libfuzzer-undefined-x86_64": p end219 | _setmcop_sntad(ck_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | v^ Step #30 - "compile-libfuzzer-undefined-x86_64": alue,/src/brpc/src/bvar/detail/percentile.h _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": :129: 151 | 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 un_sseirgineesd_s anmpalmeer# #=_ stnaecwk_ aSrerraiye_ssSiazmep l=e r((natmhei#s#_,s i_zvea r<)=; ( Step #30 - "compile-libfuzzer-undefined-x86_64": m ax| s ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ize) ? na/src/brpc/src/bvar/latency_recorder.hm:e49#:#7_:s ize note: : in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here0 Step #30 - "compile-libfuzzer-undefined-x86_64":  ); \ Step #30 - "compile-libfuzzer-undefined-x86_64": 49| |  ^c Step #30 - "compile-libfuzzer-undefined-x86_64": lass: 215L:a1t:e ncyRnote: ecexpanded from hereor Step #30 - "compile-libfuzzer-undefined-x86_64": d erBase {215 |  Step #30 - "compile-libfuzzer-undefined-x86_64": t m| p_ ^s Step #30 - "compile-libfuzzer-undefined-x86_64": tack_arr/src/brpc/src/bvar/detail/percentile.hay:_129s:i13:z e Step #30 - "compile-libfuzzer-undefined-x86_64": note: | initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/periodic_task.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:247: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": 247 | 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 | Samp129 | le() DEFINE_ : data(),SMALL_ARRAY(uint3 time_us(02_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:) {} 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": 42 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::Percentile::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": note: /src/brpc/src/bvar/detail/percentile.h:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  476 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char 247n | a m e mems##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :137:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 137 | 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:129: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": :133:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 133 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": et(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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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 | [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dynpart_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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": In file included from /src/brpc/src/brpc/periodic_naming_service.cpp: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": In file included from /src/brpc/src/brpc/input_messenger.cpp:24: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/load_balancer.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/global.cpp:38: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :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": /src/brpc/src/bvar/detail/percentile.h:129: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": :181:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 181 | 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/policy/domain_naming_service.cpp:23: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/nshead_service.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hulu_pbrpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": /src/brpc/src/brpc/parallel_channel.cpp:615:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 615 | DEFINE_SMALL_ARRAY(SubCall, aps, nchan, 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/brpc/parallel_channel.cpp:615:5: note: initializer of 'aps_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": :55:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 55 | aps_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615: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": :51:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 51 | aps_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/locality_aware_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.h:21: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/partition_channel.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^[ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o 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/parallel_channel.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/nshead_pb_service_adaptor.cpp: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.h:21: 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:247: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": 247 | memset(this, 02 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": , 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nacos_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": | 129 | 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":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36/src/brpc/src/bvar/window.h:65:: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 454 | 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": b1.m 129 | 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": erg 426 | char name##_stack_array[sizeof(Tp)e(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": * na/src/brpc/src/bvar/window.hme:#53:17: note: in instantiation of function template specialization 'bvar::detail::Percentile::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": #_stack_arra| y_s ^ize]; 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/call_op_returning_void.h::141:129: :note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 12: note:  141 | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested heretmp_stac Step #30 - "compile-libfuzzer-undefined-x86_64": k_array_size 29 Step #30 - "compile-libfuzzer-undefined-x86_64": | | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/percentile.hr:129:13e: tnote: udeclared 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": r 425 | const unsigned name##_stack_arrn ayop(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^_size Step #30 - "compile-libfuzzer-undefined-x86_64": = (name#/src/brpc/src/bvar/detail/series.h#_si:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereze < Step #30 - "compile-libfuzzer-undefined-x86_64": = (maxsize) 168 | ? name## _sizcall_op_retue : 0rn);ing_void(o \ Step #30 - "compile-libfuzzer-undefined-x86_64": p, tmp, _dat |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": a.sec:ond(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": 137:1:  | note:  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": expanded from here 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 here137 | t Step #30 - "compile-libfuzzer-undefined-x86_64": mp_s tack116_arra | rety_size Step #30 - "compile-libfuzzer-undefined-x86_64": u | rn^ Step #30 - "compile-libfuzzer-undefined-x86_64":  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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :183:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 183 | 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:129: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": :179:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 179 | 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/policy/consistent_hashing_load_balancer.cpp:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: 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:247: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": 247 | /src/brpc/src/bvar/detail/percentile.h:129:13:  memswarning: et(tvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]h Step #30 - "compile-libfuzzer-undefined-x86_64": is, 0, 129 |  sizeof  ( * this DE)); Step #30 - "compile-libfuzzer-undefined-x86_64": FIN |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": E_SMALL_ARRAY(uint3/src/brpc/src/bvar/detail/sampler.h:40:16: 2note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here_ Step #30 - "compile-libfuzzer-undefined-x86_64": t, t 40m | p, r hs._Sampnluem(_)s a:m pdlata(), time_us(e0s,) {6}4 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": /src/brpc/src/butil/macros.h/src/brpc/src/bvar/detail/sampler.h:426::116:2923:: note: note: expanded from macro 'DEFINE_SMALL_ARRAY'in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | 116 |  ch ar na me # # _ s t a c k Samp_leaa yt[mpsi;ze Step #30 - "compile-libfuzzer-undefined-x86_64": o f| ( ^Tp Step #30 - "compile-libfuzzer-undefined-x86_64": ) * name##/src/brpc/src/bvar/detail/sampler.h_s:t98a:c9k:_ arrnote: ayin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here_s Step #30 - "compile-libfuzzer-undefined-x86_64": i ze]; \98 Step #30 - "compile-libfuzzer-undefined-x86_64": | |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64":   take_sam/src/brpc/src/bvar/detail/percentile.hpl:e322(:36:) ;note: Step #30 - "compile-libfuzzer-undefined-x86_64":  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": /src/brpc/src/bvar/detail/percentile.h:476:28: 322note:  | get_interval_at(i).merge(*rhs._intervalin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _samplesr [=i] );ne Step #30 - "compile-libfuzzer-undefined-x86_64": w | s ^a Step #30 - "compile-libfuzzer-undefined-x86_64": mpler_ty/src/brpc/src/bvar/detail/percentile.hp:e(454:t16h:i s)note: ;in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here 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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | 247 | me_var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": m/src/brpc/src/bvar/detail/call_op_returning_void.h:29set(this, 0,: 12:s izenote: ofin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here(* Step #30 - "compile-libfuzzer-undefined-x86_64":  this)29) | ;  Step #30 - "compile-libfuzzer-undefined-x86_64": | re ^t Step #30 - "compile-libfuzzer-undefined-x86_64": ur n|  (void*)o Step #30 - "compile-libfuzzer-undefined-x86_64": p(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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :217:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 217 | 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:129: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": :213:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 213 | 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/policy/consul_naming_service.cpp:27: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": /src/brpc/src/bvar/detail/percentile.h:129:13[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nova_pbrpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": : warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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": /src/brpc/src/bvar/detail/percentile.h |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": /src/brpc/src/bvar/detail/series.h:168:13: note: in 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": 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:322:36: 168note: | in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 call_op_returning_void(op | g, tmp, e_td_intaetrav.asle_coantd((ii)).merge(*r); Step #30 - "compile-libfuzzer-undefined-x86_64": | hs ^. Step #30 - "compile-libfuzzer-undefined-x86_64": _inte/src/brpc/src/bvar/detail/series.hr:v116als[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": /src/brpc/src/bvar/detail/percentile.h:454 116 | :16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | return  app en d_ s e c ondb1.m(valeruege(b2),; Step #30 - "compile-libfuzzer-undefined-x86_64": _o p)| ; ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": | /src/brpc/src/bvar/window.h: ^ 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 | 53:17: note: in instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()( v 1 , v 2 ) ; _s Step #30 - "compile-libfuzzer-undefined-x86_64": e|  ^rie Step #30 - "compile-libfuzzer-undefined-x86_64": s.append(/src/brpc/src/bvar/detail/call_op_returning_void.h_:o29w:n12e:r ->genote: t_in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereva Step #30 - "compile-libfuzzer-undefined-x86_64": l ue(291 |  ) ) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": r e| tu ^r Step #30 - "compile-libfuzzer-undefined-x86_64": n op(/src/brpc/src/bvar/window.hv1:,58 :v92:) ; Step #30 - "compile-libfuzzer-undefined-x86_64": note: | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/series.h58 | : 168 : 13 :  Snote: eriein instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested heresSa Step #30 - "compile-libfuzzer-undefined-x86_64": m pler(Wi168 | n d o wB ase* o wn er , Rc*a lvla_ro)p_ Step #30 - "compile-libfuzzer-undefined-x86_64": r eturning_void(op, tm| p, ^_ Step #30 - "compile-libfuzzer-undefined-x86_64": data.sec/src/brpc/src/bvar/window.ho:151n:d35(:i ));note:  Step #30 - "compile-libfuzzer-undefined-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here | Step #30 - "compile-libfuzzer-undefined-x86_64":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | /src/brpc/src/bvar/detail/series.h : 116 :16 :  _note: sin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested hereeri Step #30 - "compile-libfuzzer-undefined-x86_64": e s_sampler = new S116er | i e s S a mp lerre(tuthrni sap,p en_dv_asre);co Step #30 - "compile-libfuzzer-undefined-x86_64": n d(| va ^l Step #30 - "compile-libfuzzer-undefined-x86_64": ue, _op);/src/brpc/src/bvar/latency_recorder.h Step #30 - "compile-libfuzzer-undefined-x86_64": : 49| :7 ^: Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: 49 | note: clin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hereass Step #30 - "compile-libfuzzer-undefined-x86_64":  LatencyRecor de65r | B a s e {  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/bvar/detail/percentile.h_:s129e:r13i:e s.anote: ppinitializer of 'tmp_stack_array_size' is not a constant expressionen Step #30 - "compile-libfuzzer-undefined-x86_64": d (_owner->get129_v | a l u e (  1  ) ) ; D Step #30 - "compile-libfuzzer-undefined-x86_64": E F| IN ^E Step #30 - "compile-libfuzzer-undefined-x86_64": _SMALL_ARR/src/brpc/src/bvar/window.hA:Y58(:u9i:n t32note: _tin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here, Step #30 - "compile-libfuzzer-undefined-x86_64": t mp, rhs._num_58s | a m p l e s ,S er6i4es)S;am Step #30 - "compile-libfuzzer-undefined-x86_64": p l| er(Wind ^o Step #30 - "compile-libfuzzer-undefined-x86_64": wBase*/src/brpc/src/butil/macros.h :o426w:n42e:r, R*note: vexpanded from macro 'DEFINE_SMALL_ARRAY'ar 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:151:35: 426 | note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": char name#151#_ | s t a c k _ a r r a y [ _sizseoefri(eTsp_)s a*mp lnearm e=# #_snteawck _Sarerraiye_ssSiazmep]l;e r (  t h i\s Step #30 - "compile-libfuzzer-undefined-x86_64": , | _v ^ar Step #30 - "compile-libfuzzer-undefined-x86_64": ); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here/src/brpc/src/bvar/latency_recorder.h: Step #30 - "compile-libfuzzer-undefined-x86_64": 49 :7: note: 161in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here | t Step #30 - "compile-libfuzzer-undefined-x86_64": m p_stack_ar49r | ayc_lsaiszse Step #30 - "compile-libfuzzer-undefined-x86_64": L a| te^n Step #30 - "compile-libfuzzer-undefined-x86_64": cy/src/brpc/src/bvar/detail/percentile.hR:e129c:o13r:d erBnote: asdeclared heree Step #30 - "compile-libfuzzer-undefined-x86_64": { Step #30 - "compile-libfuzzer-undefined-x86_64": | /src/brpc/src/butil/macros.h: ^425 Step #30 - "compile-libfuzzer-undefined-x86_64": :20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h :129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | 129 | c o n s t   u nDsEiFgInNeEd_SM AnLaLm_eA#R#R_AsYt(aucikn_ta3r2r_aty,_ stimzpe, =r h(sn.a_mneu#m#__ssaimzpel e :157:note: 1:expanded from macro 'DEFINE_SMALL_ARRAY'  Step #30 - "compile-libfuzzer-undefined-x86_64":  note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^426 | char Step #30 - "compile-libfuzzer-undefined-x86_64": name##_stack_array[sizeof(Tp) * name##_stackIn file included from _/src/brpc/src/brpc/policy/file_naming_service.cppa:r24ray_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": : 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": 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::203:1:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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":  note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 203 | 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:129: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": :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": In file included from /src/brpc/src/brpc/policy/discovery_naming_service.cpp: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/brpc/policy/baidu_rpc_protocol.cpp:84:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:35: note: initializer of 'meta_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:82:20: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 82 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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/src/brpc/src/bvar/detail/percentile.h* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :129/src/brpc/src/bvar/window.h:151:35::13 : note: warning: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 151 | Step #30 - "compile-libfuzzer-undefined-x86_64": _series_sampl er = new129 |  DESerieFsISampler(NthisE, _v_aSr); Step #30 - "compile-libfuzzer-undefined-x86_64": M |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ALL_A/src/brpc/src/bvar/latency_recorder.h:49R:7: RAnote: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereY Step #30 - "compile-libfuzzer-undefined-x86_64": (uint32_t 49 | c,l asst mpL,a trhs._ennucmy_sampRleecso, 64rd)e;r Step #30 - "compile-libfuzzer-undefined-x86_64": | Ba ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~s Step #30 - "compile-libfuzzer-undefined-x86_64": e /src/brpc/src/butil/macros.h:{426: Step #30 - "compile-libfuzzer-undefined-x86_64": 29:  note: | expanded from macro 'DEFINE_SMALL_ARRAY' ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129: 426 | char13: name##note: _stinitializer of 'tmp_stack_array_size' is not a constant expressionac Step #30 - "compile-libfuzzer-undefined-x86_64": k_array[sizeo f(129T | p ) * na me # # _ st ack _DarEraFyI_NEs_iSzeM]AL;L _ A R \RAY Step #30 - "compile-libfuzzer-undefined-x86_64": ( u| in ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~t Step #30 - "compile-libfuzzer-undefined-x86_64": 32_t, t/src/brpc/src/bvar/detail/percentile.hm:p322,: 36r:h s._note: nuin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herem_ Step #30 - "compile-libfuzzer-undefined-x86_64": s amples, 64322 | ) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   ge/src/brpc/src/butil/macros.ht:_interval_2 warningsat(i). generatedmerge(. Step #30 - "compile-libfuzzer-undefined-x86_64": 426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp)*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | * 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 _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_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129: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":  op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | /src/brpc/src/bvar/detail/series.h : 168 : 13:c onsnote: tin 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": u nsigned name##_168st | a c k _ a r r a y _ s i zcea l=l _(onpa_mree##_stiuzren i:215:1/src/brpc/src/bvar/detail/series.h:: 116:16note: : expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 116215 | | t m p_rsettaurcnk_ aarprpaeyn_ds_iszeeco Step #30 - "compile-libfuzzer-undefined-x86_64": n d| (v^a Step #30 - "compile-libfuzzer-undefined-x86_64": luIn file included from /src/brpc/src/brpc/policy/crc32c_checksum.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.h:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/checksum.h: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:e, _26op: Step #30 - "compile-libfuzzer-undefined-x86_64": );/src/brpc/src/bvar/detail/percentile.h Step #30 - "compile-libfuzzer-undefined-x86_64": | :247 ^: Step #30 - "compile-libfuzzer-undefined-x86_64": 16: warning: /src/brpc/src/bvar/window.h: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": 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": 247 | memset(this 65 |  ,  0  ,  s i z e o f _(series.*this)append(_owner->get_value()1;) 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:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | /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( )S e:r ideasSampler(Wita(), 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _sampler = new sampler_ndowBase* 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :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/bvar/detail/percentile.h:129: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": :187:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 187 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/public_pbrpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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(WindowBase2 warning* ows generated. Step #30 - "compile-libfuzzer-undefined-x86_64": ner, 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :223:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 223 | 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:129: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": :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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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 | Series/src/brpc/src/bvar/detail/percentile.h:129:13: warning: Svariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]am Step #30 - "compile-libfuzzer-undefined-x86_64": pler(W 129 | in d ow B aDsEe* oFwInNeEr_,S MRA*L Lv_ARaRrA)Y(ui Step #30 - "compile-libfuzzer-undefined-x86_64": nt32_t, tmp, r| hs ^. Step #30 - "compile-libfuzzer-undefined-x86_64": _num_sa/src/brpc/src/bvar/window.hm:pl151e:35: note: sin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ,  1516 | 4) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/butil/macros.h: 426:29: _snote: expanded from macro 'DEFINE_SMALL_ARRAY'e Step #30 - "compile-libfuzzer-undefined-x86_64": ries 426_s | chaamrpl nameer = #new#_s Staerck_iesSarramay[sizeofpler(Tp) * name#(#_thstais, _vcar); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": k_/src/brpc/src/bvar/latency_recorder.harr:ay49:7_size: ];  note: \ Step #30 - "compile-libfuzzer-undefined-x86_64":  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, t322mp:36: , note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": rhs._num_samp 322 | l get_interval_at(i).merge(*rhs._intes, 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:129: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": ervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :86:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 86 | 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:129: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": :82:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 82 | 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/policy/baidu_rpc_protocol.cpp:30: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/dynpart_load_balancer.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/policy/gzip_compress.cpp:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/remote_file_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/round_robin_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/snappy_compress.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_pbrpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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_si/src/brpc/src/bvar/detail/percentile.h:129ze]:; \13: Step #30 - "compile-libfuzzer-undefined-x86_64":  | warning: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36:  129 | note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | get_int DervEal_atFINE_SMAL(i).meLr_gAeR(*rhs.RAY(u_intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": i/src/brpc/src/bvar/detail/percentile.h:454n:16:t 3note: 2_t, tmp, in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": rh 454s._num_sam | ples 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 64 53 | _var-)>op(;)(v1 Step #30 - "compile-libfuzzer-undefined-x86_64": | , ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~v2) Step #30 - "compile-libfuzzer-undefined-x86_64": ; Step #30 - "compile-libfuzzer-undefined-x86_64": | /src/brpc/src/butil/macros.h:426:29: ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.hnote: :29expanded from macro 'DEFINE_SMALL_ARRAY':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 | ret 426ur | n  op(v 1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13:c note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herehar name##_ Step #30 - "compile-libfuzzer-undefined-x86_64": stack 168 | _ a rray[ calsl_op_returniizng_evof(oid(opTp), tmp ,* _ndaamtea#.#s_esctacond(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": k/src/brpc/src/bvar/detail/series.h:116:16:_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | 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": _v ar116 | ret->op()ur(n appev1nd_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 | , v2); _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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_a Step #30 - "compile-libfuzzer-undefined-x86_64": rray_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :223:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 223 | 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/percentile.h:129: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 /src/brpc/src/bvar/detail/call_op_returning_void.h:unsign29:12: enote: din instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here na Step #30 - "compile-libfuzzer-undefined-x86_64": m e##_sta29c | k _ a r ray_sireturze = (n nopa(mve1#,# _vs2i)z;e Step #30 - "compile-libfuzzer-undefined-x86_64": < =| (m ^a Step #30 - "compile-libfuzzer-undefined-x86_64": xsize) ? nam/src/brpc/src/bvar/detail/series.he:#168#:_13s:i ze note: : in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here0); Step #30 - "compile-libfuzzer-undefined-x86_64": \ Step #30 - "compile-libfuzzer-undefined-x86_64": | 168 | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  :219:1:  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": | 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":  ^ 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :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": /src/brpc/src/bvar/detail/percentile.h:129: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": :221:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 221 | 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/policy/esp_protocol.cpp: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/timeout_concurrency_limiter.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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_stacIn file included from k_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | /src/brpc/src/brpc/policy/locality_aware_load_balancer.cpp^: Step #30 - "compile-libfuzzer-undefined-x86_64": 24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:In file included from 129/src/brpc/src/brpc/details/ssl_helper.h::1333:: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.hnote: :25declared here: Step #30 - "compile-libfuzzer-undefined-x86_64":  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": /src/brpc/src/butil/macros.hIn file included from :425/src/brpc/src/bthread/bthread.h::2032:: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.hnote: :27expanded from macro 'DEFINE_SMALL_ARRAY': Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from Step #30 - "compile-libfuzzer-undefined-x86_64": /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:247425:16 | :   warning: cofirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]ns Step #30 - "compile-libfuzzer-undefined-x86_64": t  unsign247ed |  n a m e # # _msetmascekt_(artrhaiys_s,i ze = 0(n,a mes#i#z_esoifze( *<=t h(imsax)s)i;ze Step #30 - "compile-libfuzzer-undefined-x86_64": ) | ? ^n Step #30 - "compile-libfuzzer-undefined-x86_64": ame##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": | /src/brpc/src/bvar/detail/sampler.h: ^40 Step #30 - "compile-libfuzzer-undefined-x86_64": :16: :note: 215:in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here1: Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sanote: mpexpanded from herele Step #30 - "compile-libfuzzer-undefined-x86_64": ( ) : data(),215 | ttimmpe__sutsa(ck0_a)r r{a}y_s Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ize 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/policy/http2_rpc_protocol.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.h:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/policy/http_rpc_protocol.cpp:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/policy/hulu_pbrpc_protocol.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :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": /src/brpc/src/bvar/detail/percentile.h:129: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": :181:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 181 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :223:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 223 | 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:129: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": :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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :40:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | 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:129: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": :36:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 36 | 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/policy/mongo_protocol.cpp:23: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/policy/memcache_binary_protocol.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_randomized_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :110:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 110 | 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:129: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": :106:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 106 | 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/policy/randomized_load_balancer.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_round_robin_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": 294 | SerializeHuluHeaderAndMeta(&res_buf, meta, res_size + attached_size); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": 582 | SerializeHuluHeaderAndMeta(&res_buf, request_meta, 0); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/nova_pbrpc_protocol.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/policy/hulu_pbrpc_protocol.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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:16In file included from /src/brpc/src/brpc/policy/nshead_mcpack_protocol.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:247:16 : note: warning: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herefirst 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":  Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | memset(this 116 | ,  0  , rsiezteuorfn( *aptphis))end_;se Step #30 - "compile-libfuzzer-undefined-x86_64": cond(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": |  ^ 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 | 65 | S a m p l e ( ) _se: datriae()s.,append(_owne time_us(0)r->get_va l{u}e( Step #30 - "compile-libfuzzer-undefined-x86_64":  | 1)); 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:58/src/brpc/src/bvar/detail/sampler.h:116:23: :note: 9:in instantiation of member function 'bvar::detail::Sample>::Sample' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64":  note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | 58 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  SeriesSampler(WindowBase* owner, /src/brpc/src/bvar/detail/sampler.h:98:9R* var:)  Step #30 - "compile-libfuzzer-undefined-x86_64":  note: |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | /src/brpc/src/bvar/window.h:151:35:  tnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereak Step #30 - "compile-libfuzzer-undefined-x86_64": e _sampl151e | ( );  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/percentile.h:476: _serie28s:_ samnote: plin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereer Step #30 - "compile-libfuzzer-undefined-x86_64": = new S476e | r i e s S a m p l e r (_stahmpleisr, =_v nearw); s Step #30 - "compile-libfuzzer-undefined-x86_64": a m| p ^l Step #30 - "compile-libfuzzer-undefined-x86_64": er_type(/src/brpc/src/bvar/latency_recorder.h:49:7th:is );note:  Step #30 - "compile-libfuzzer-undefined-x86_64":  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here|  Step #30 - "compile-libfuzzer-undefined-x86_64": ^ 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:247:16/src/brpc/src/bvar/detail/percentile.h:: 129:note: 13:explicitly cast the pointer to silence this warning  Step #30 - "compile-libfuzzer-undefined-x86_64": note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | mems1292et( | DEFINE_SMALL_ARRAY(uint32_t, tm warningthis, 0, sisze generated. Step #30 - "compile-libfuzzer-undefined-x86_64": of(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": p, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^In file included from /src/brpc/src/brpc/policy/nshead_protocol.cpp: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 Step #30 - "compile-libfuzzer-undefined-x86_64": /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:/src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 426 | /src/brpc/src/bvar/detail/percentile.h 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:129: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": :247: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": 247 | 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 | Sa425 | m p lecs ttm p;un Step #30 - "compile-libfuzzer-undefined-x86_64": s i| gn ^e Step #30 - "compile-libfuzzer-undefined-x86_64": d name##/src/brpc/src/bvar/detail/sampler.h_:s98t:a9c:k _arnote: rain instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herey_ Step #30 - "compile-libfuzzer-undefined-x86_64": s ize = (name98 | ##_size <= (maxsize) ? n a m e #t#a_ksize_seam p:l e(0);); 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": /src/brpc/src/bvar/detail/percentile.h::215:4761::28 : note: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereexpanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | 476t | m p _ s t a c k _ a r r a_ys_asmipzleer Step #30 - "compile-libfuzzer-undefined-x86_64": =| ^ Step #30 - "compile-libfuzzer-undefined-x86_64": new sampler_t[ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": ype(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/policy/public_pbrpc_protocol.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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": In file included from 29 | /src/brpc/src/brpc/policy/remote_file_naming_service.cpp:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from re/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 t/src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": urn/src/brpc/src/bvar/detail/percentile.h o:247:16p(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": : |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": warning: /src/brpc/src/bvar/detail/series.h:168:13: 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": note: in 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_re247 | memset(thturning_void(op, tmpi, _data.s, 0second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": | ,  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": s/src/brpc/src/bvar/detail/series.h:116:16:iz 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": eof(* 116 | treturn append_hsecond(value, _op)i; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": s)/src/brpc/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": ); Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | | _series.append(_owner ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ->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": /src/brpc/src/bvar/detail/sampler.h:40: 58 | Seri16esSampler(Window:Base* 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": note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here 151 |  _series_samp Step #30 - "compile-libfuzzer-undefined-x86_64": ler = new SeriesSam40pler(thi | s, _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": Sa m49 | class LatencpyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": l|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": e(/src/brpc/src/bvar/detail/percentile.h:129:13): note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": : data( 129 | ), DEFINE_S MALL_ARRAY(uint32_tt, tmp, rhs._num_isamples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": m |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": e/src/brpc/src/butil/macros.h:426:42: _note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": us (426 | char name#0#_stack_array[sizeof(Tp) * nam)e##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": {:}223:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": | 223 | tm ^p_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/percentile.h:129: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": :219/src/brpc/src/bvar/detail/sampler.h:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": :116: 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | In file included from /src/brpc/src/brpc/policy/snappy_compress.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: 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:247:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] _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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": |  ^ 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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/policy/round_robin_load_balancer.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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 | co/src/brpc/src/bvar/detail/percentile.h:129:13nst unsigne:d name ##_stack_array_size = (warning: name##_size : 215: 1:  note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": DEFINE_ 215SM | tmp_stack_ALLar_AraRRAY(uint3y_2_sit,ze t Step #30 - "compile-libfuzzer-undefined-x86_64": mp | , ^rh Step #30 - "compile-libfuzzer-undefined-x86_64": s._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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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/policy/redis_protocol.cpp:27: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:35: note: initializer of 'meta_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:142:20: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 142 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_endpoint.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :223:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 223 | 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:129: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": :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/brpc/policy/rtmp_protocol.cpp:1447:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 1447 | char buf[header_len + 4/*extended ts*/]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": 1489 | char buf[header_len + 4/*extended ts*/]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": 1531 | char buf[header_len + 4/*extended ts*/]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": 1570 | char buf[header_len]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": 1933 | char buf[mh.message_length]; // safe to put on stack. Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1927:30: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 1927 | const RtmpMessageHeader& mh, butil::IOBuf* msg_body, Socket* socket) { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.h:21: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/policy/streaming_rpc_protocol.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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[sizeof2 warnings( generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | DEFINE_SMALL_ARRAY(uint32_t, tmp[ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": , 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :217:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 217 | 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:129: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": :213:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 213 | 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/policy/sofa_pbrpc_protocol.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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/reloadable_flags.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :188:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 188 | 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:129: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": :184:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 184 | 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/retry_policy.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_pb_message_factory.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rtmp.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/selective_channel.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_request.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.cpp:25: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_randomized_load_balancer.cpp:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/ubrpc2pb_protocol.cpp: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:247: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": 247 | 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::Percentile::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:476:28: 2 warningnote: s generated. Step #30 - "compile-libfuzzer-undefined-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_round_robin_load_balancer.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/progressive_attachment.cpp:20: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/span.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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(/src/brpc/src/bvar/detail/percentile.h:129v:13: warning: avariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | l ue , _DoEpF)I;NE Step #30 - "compile-libfuzzer-undefined-x86_64": _ S| MA ^LL Step #30 - "compile-libfuzzer-undefined-x86_64": _ARRAY(uint3/src/brpc/src/bvar/window.h2:_65t:,25 :t mp,note: rin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": hs._num_sam65pl | e s ,  6 4  ) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_ Step #30 - "compile-libfuzzer-undefined-x86_64": series.a/src/brpc/src/butil/macros.hpp:end(426_:o29w:n er->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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :182:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 182 | 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:129: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": :178:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 178 | tmp_stack_array_size 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": 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :223:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 223 | 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:129: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": :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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :223:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 223 | 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:129: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": :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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/stream.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.cpp.o 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": In file included from /src/brpc/src/brpc/protocol.cpp:42: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/retry_policy.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/retry_policy.h: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/rpc_dump.cpp:26: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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/restful.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/restful.h:24: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :200:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 200 | 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:129: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": :196:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 196 | 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/server_id.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :194:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 194 | 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:129: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": :190:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 190 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :14:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 14 | 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:129: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": :10:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 10 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": 398 | CallId ids[_nalloc]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 575 | DEFINE_SMALL_ARRAY(char, cont_buf, buf.size(), 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/brpc/rtmp.cpp:575:5: note: initializer of 'cont_buf_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": :71:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 71 | cont_buf_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/rtmp.cpp:575: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": :67:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 67 | cont_buf_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 677 | DEFINE_SMALL_ARRAY(char, rbsp, sps_length - 1, 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/brpc/rtmp.cpp:677:5: note: initializer of 'rbsp_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": :84:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 84 | rbsp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/rtmp.cpp:677: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": :80:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 80 | rbsp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 4 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/selective_channel.cpp: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/span.cpp:24: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/socket_map.cpp: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/trackme.cpp:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": In file included from /src/brpc/src/brpc/rtmp.cpp: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: 28426: 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.hc:h247a:r16: namwarning: e##first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]_s Step #30 - "compile-libfuzzer-undefined-x86_64": tack_arra y247[ |  s i z e o f m(eTmps)e t*( natmhei#s#_,s ta0ck,_ arsriazye_osfiz(e*];t h i s  ) )\; 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": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bvar/detail/sampler.h::32240::3616::  note: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herein instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() :322 | d a t a ( ) , t i m e _ u s ( g0et)_ i{n}te Step #30 - "compile-libfuzzer-undefined-x86_64": r v| al ^_ Step #30 - "compile-libfuzzer-undefined-x86_64": at(i).merg/src/brpc/src/bvar/detail/sampler.he:(116*:r23h:s ._inote: ntein instantiation of member function 'bvar::detail::Sample>::Sample' requested hererva Step #30 - "compile-libfuzzer-undefined-x86_64": ls[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": 116| |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/bvar/detail/percentile.h : 454 : 16 :S ampnote: lein instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here<T Step #30 - "compile-libfuzzer-undefined-x86_64": > tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 454 |  /src/brpc/src/bvar/detail/sampler.h : 98 : 9 : b1note: .min instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereer Step #30 - "compile-libfuzzer-undefined-x86_64": ge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  98 | /src/brpc/src/bvar/window.h : 53 : 17 :  tnote: akin instantiation of function template specialization 'bvar::detail::Percentile::AddPercentileSamples::operator()<254UL, 254UL>' requested heree_ Step #30 - "compile-libfuzzer-undefined-x86_64": sample(); 53 Step #30 - "compile-libfuzzer-undefined-x86_64": | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/bvar/detail/percentile.h : 476 : 28 : _vnote: arin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here-> Step #30 - "compile-libfuzzer-undefined-x86_64": op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^476 Step #30 - "compile-libfuzzer-undefined-x86_64": |   /src/brpc/src/bvar/detail/call_op_returning_void.h : 29 : 12 : _snote: amin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested herepl Step #30 - "compile-libfuzzer-undefined-x86_64": er =29 |  n e w  rseatmuprlner _otpy(pve1(, tvh2i)s;) 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": /src/brpc/src/bvar/detail/series.h:168:13: note: in 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": /src/brpc/src/bvar/detail/percentile.h :| 247: ^16 Step #30 - "compile-libfuzzer-undefined-x86_64": : note: /src/brpc/src/bvar/detail/series.h:explicitly cast the pointer to silence this warning116: Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 247 | 116 |  r e t umrenms eatp(petnhdi_sse,c on0d(,v alsuiez,e o_fop()*;t Step #30 - "compile-libfuzzer-undefined-x86_64": h i| s ^) Step #30 - "compile-libfuzzer-undefined-x86_64": ); Step #30 - "compile-libfuzzer-undefined-x86_64": | /src/brpc/src/bvar/window.h ^:65:25: note: Step #30 - "compile-libfuzzer-undefined-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here | Step #30 - "compile-libfuzzer-undefined-x86_64":  (void*) 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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :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": /src/brpc/src/bvar/detail/percentile.h:129: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": :181:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 181 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :183:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 183 | 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:129: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": :179:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 179 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/ts.cpp:38: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :182:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 182 | 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:129: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": :178:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 178 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/server.cpp:2003:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 2003 | char buf[fullname_len]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/server.cpp:2003:18: note: initializer of 'fullname_len' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/server.cpp:2000:18: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 2000 | const size_t fullname_len = service_name.size() + 1 + method_name.size(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :204:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 204 | 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:129: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": :200:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 200 | 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/socket.cpp:42: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.h:24: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/brpc/stream.cpp:600:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 600 | DEFINE_SMALL_ARRAY(butil::IOBuf*, buf_list, s->_options.messages_in_batch, 256); 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/brpc/stream.cpp:600:5: note: initializer of 'buf_list_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": :48:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 48 | buf_list_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/stream.cpp:600: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": :44:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 44 | buf_list_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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/stream.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/stream.h:24: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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/server.cpp:36: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/checksum.h: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :9:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 9 | 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:129: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": :5:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 5 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :206:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 206 | 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:129: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": :202:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 202 | 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": /src/brpc/src/bvar/detail/percentile.h:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :25:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 25 | 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:129: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": :21:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 21 | 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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 4 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 7 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_butil.dir/fuzzing/fuzz_butil.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Linking CXX executable fuzz_butil Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_butil Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_esp.dir/fuzzing/fuzz_esp.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_esp.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.h:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Linking CXX executable fuzz_esp Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(hotspots_service.cpp.o):(.data+0x21d8): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(hotspots_service.cpp.o):(.data+0x22c8): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(memory_service.cpp.o):(.data+0x358): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(memory_service.cpp.o):(.data+0x438): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(pprof_service.cpp.o):(.data+0x978): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(pprof_service.cpp.o):(.data+0xb88): more undefined references to `typeinfo for MallocExtension' follow Step #30 - "compile-libfuzzer-undefined-x86_64": clang++: error: linker command failed with exit code 1 (use -v to see invocation) Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_esp Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hpack.dir/fuzzing/fuzz_hpack.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Linking CXX executable fuzz_hpack Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_hpack Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_http.dir/fuzzing/fuzz_http.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_http.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :40:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | 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:129: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": :36:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 36 | 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": [100%] Linking CXX executable fuzz_http Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(hotspots_service.cpp.o):(.data+0x21d8): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(hotspots_service.cpp.o):(.data+0x22c8): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(memory_service.cpp.o):(.data+0x358): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(memory_service.cpp.o):(.data+0x438): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(pprof_service.cpp.o):(.data+0x978): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(pprof_service.cpp.o):(.data+0xb88): more undefined references to `typeinfo for MallocExtension' follow Step #30 - "compile-libfuzzer-undefined-x86_64": clang++: error: linker command failed with exit code 1 (use -v to see invocation) Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_http Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hulu.dir/fuzzing/fuzz_hulu.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_hulu.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :242:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 242 | 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:129: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": :238:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 238 | 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": [100%] Linking CXX executable fuzz_hulu Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(hotspots_service.cpp.o):(.data+0x21d8): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(hotspots_service.cpp.o):(.data+0x22c8): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(memory_service.cpp.o):(.data+0x358): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(memory_service.cpp.o):(.data+0x438): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(pprof_service.cpp.o):(.data+0x978): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(pprof_service.cpp.o):(.data+0xb88): more undefined references to `typeinfo for MallocExtension' follow Step #30 - "compile-libfuzzer-undefined-x86_64": clang++: error: linker command failed with exit code 1 (use -v to see invocation) Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_hulu Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_json.dir/fuzzing/fuzz_json.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Linking CXX executable fuzz_json Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_json Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_redis.dir/fuzzing/fuzz_redis.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Linking CXX executable fuzz_redis Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_redis Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_shead.dir/fuzzing/fuzz_shead.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_shead.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.h:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.h:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h: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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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": :40:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | 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:129: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": :36:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 36 | 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": [100%] Linking CXX executable fuzz_shead Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(hotspots_service.cpp.o):(.data+0x21d8): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(hotspots_service.cpp.o):(.data+0x22c8): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(memory_service.cpp.o):(.data+0x358): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(memory_service.cpp.o):(.data+0x438): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(pprof_service.cpp.o):(.data+0x978): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(pprof_service.cpp.o):(.data+0xb88): more undefined references to `typeinfo for MallocExtension' follow Step #30 - "compile-libfuzzer-undefined-x86_64": clang++: error: linker command failed with exit code 1 (use -v to see invocation) Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_shead Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_sofa.dir/fuzzing/fuzz_sofa.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_sofa.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Linking CXX executable fuzz_sofa Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(hotspots_service.cpp.o):(.data+0x21d8): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(hotspots_service.cpp.o):(.data+0x22c8): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(memory_service.cpp.o):(.data+0x358): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(memory_service.cpp.o):(.data+0x438): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(pprof_service.cpp.o):(.data+0x978): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(pprof_service.cpp.o):(.data+0xb88): more undefined references to `typeinfo for MallocExtension' follow Step #30 - "compile-libfuzzer-undefined-x86_64": clang++: error: linker command failed with exit code 1 (use -v to see invocation) Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_sofa Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_uri.dir/fuzzing/fuzz_uri.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_uri.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/rtmp.h:25: 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:247: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": 247 | 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::Percentile::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:476:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::Percentile::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 476 | _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:247:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 247 | 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:129:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:322:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 322 | 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:454:16: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 454 | 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::Percentile::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:129:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 129 | 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:129: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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Linking CXX executable fuzz_uri Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(hotspots_service.cpp.o):(.data+0x21d8): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(hotspots_service.cpp.o):(.data+0x22c8): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(memory_service.cpp.o):(.data+0x358): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(memory_service.cpp.o):(.data+0x438): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 Step #30 - "compile-libfuzzer-undefined-x86_64": ../output/lib/libbrpc-static-debug.a(pprof_service.cpp.o):(.data+0x978): undefined reference to `typeinfo for MallocExtension' Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/bin/ld: ../output/lib/libbrpc-static-debug.a(pprof_service.cpp.o):(.data+0xb88): more undefined references to `typeinfo for MallocExtension' follow Step #30 - "compile-libfuzzer-undefined-x86_64": clang++: error: linker command failed with exit code 1 (use -v to see invocation) Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_uri Step #30 - "compile-libfuzzer-undefined-x86_64": + cp test/fuzz_butil test/fuzz_hpack test/fuzz_json test/fuzz_redis /workspace/out/libfuzzer-undefined-x86_64/ Step #30 - "compile-libfuzzer-undefined-x86_64": + pushd /lib/x86_64-linux-gnu/ Step #30 - "compile-libfuzzer-undefined-x86_64": /lib/x86_64-linux-gnu /src/brpc/build Step #30 - "compile-libfuzzer-undefined-x86_64": + mkdir -p /workspace/out/libfuzzer-undefined-x86_64/lib/ Step #30 - "compile-libfuzzer-undefined-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-undefined-x86_64/lib/. Step #30 - "compile-libfuzzer-undefined-x86_64": + popd Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/build Step #30 - "compile-libfuzzer-undefined-x86_64": + pushd /src/brpc/test/fuzzing Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/test/fuzzing /src/brpc/build Step #30 - "compile-libfuzzer-undefined-x86_64": + zip /workspace/out/libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_json_seed_corpus/info1.json (deflated 10%) Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_json_seed_corpus/info2.json (deflated 17%) Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_json_seed_corpus/info3.json (deflated 44%) Step #30 - "compile-libfuzzer-undefined-x86_64": + zip /workspace/out/libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_uri_seed_corpus/data_1.rtmp (stored 0%) Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_uri_seed_corpus/data_1.uri (stored 0%) Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_uri_seed_corpus/data_2.uri (stored 0%) Step #30 - "compile-libfuzzer-undefined-x86_64": + zip /workspace/out/libfuzzer-undefined-x86_64/fuzz_redis_seed_corpus.zip fuzz_redis_seed_corpus/command_parser.redis fuzz_redis_seed_corpus/request.redis Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_redis_seed_corpus/command_parser.redis (deflated 26%) Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_redis_seed_corpus/request.redis (stored 0%) Step #30 - "compile-libfuzzer-undefined-x86_64": + zip /workspace/out/libfuzzer-undefined-x86_64/fuzz_http_seed_corpus.zip fuzz_http_seed_corpus/http_request.http fuzz_http_seed_corpus/http_request_v2.http Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_http_seed_corpus/http_request.http (deflated 19%) Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_http_seed_corpus/http_request_v2.http (deflated 35%) Step #30 - "compile-libfuzzer-undefined-x86_64": + zip /workspace/out/libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_butil_seed_corpus/base64_decoded.txt (stored 0%) Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_butil_seed_corpus/base64_encoded.txt (stored 0%) Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_butil_seed_corpus/crc32c.data (deflated 63%) Step #30 - "compile-libfuzzer-undefined-x86_64": + zip /workspace/out/libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_hpack_seed_corpus/header_never_indexed.hpack (stored 0%) Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_hpack_seed_corpus/header_with_indexing.hpack (deflated 15%) Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_hpack_seed_corpus/header_without_indexing.hpack (stored 0%) Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_hpack_seed_corpus/requests_without_huffman.hpack (deflated 10%) Step #30 - "compile-libfuzzer-undefined-x86_64": adding: fuzz_hpack_seed_corpus/responses_without_huffman.hpack (deflated 1%) Step #30 - "compile-libfuzzer-undefined-x86_64": + popd Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/build Finished Step #30 - "compile-libfuzzer-undefined-x86_64" Starting Step #31 - "build-check-libfuzzer-undefined-x86_64" Step #31 - "build-check-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpehs0yhf_/fuzz_json Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpehs0yhf_/fuzz_butil Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpehs0yhf_/fuzz_redis Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpehs0yhf_/fuzz_hpack Finished Step #31 - "build-check-libfuzzer-undefined-x86_64" Starting Step #32 Step #32: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #32 Starting Step #33 Step #33: Already have image: gcr.io/oss-fuzz/brpc Step #33: adding: fuzz_butil (deflated 69%) Step #33: adding: fuzz_butil_seed_corpus.zip (stored 0%) Step #33: adding: fuzz_hpack (deflated 69%) Step #33: adding: fuzz_hpack_seed_corpus.zip (stored 0%) Step #33: adding: fuzz_http_seed_corpus.zip (stored 0%) Step #33: adding: fuzz_json (deflated 69%) Step #33: adding: fuzz_json_seed_corpus.zip (stored 0%) Step #33: adding: fuzz_redis (deflated 69%) Step #33: adding: fuzz_redis_seed_corpus.zip (stored 0%) Step #33: adding: fuzz_uri_seed_corpus.zip (stored 0%) Step #33: adding: lib/ (stored 0%) Step #33: adding: lib/libprotobuf.so.17 (deflated 66%) Step #33: adding: lib/libgflags_nothreads.so.2.2.2 (deflated 59%) Step #33: adding: lib/libsnappy.so.1.1.8 (deflated 62%) Step #33: adding: lib/libprotoc.so.17 (deflated 66%) Step #33: adding: lib/libgflags_nothreads.so (deflated 59%) Step #33: adding: lib/libgflags.so.2.2 (deflated 59%) Step #33: adding: lib/libprotoc.a (deflated 76%) Step #33: adding: lib/libsnappy.so.1 (deflated 62%) Step #33: adding: lib/libprotobuf-lite.a (deflated 79%) Step #33: adding: lib/libprotoc.so.17.0.0 (deflated 66%) Step #33: adding: lib/libgflags.a (deflated 70%) Step #33: adding: lib/libprotobuf.a (deflated 79%) Step #33: adding: lib/libgflags_nothreads.so.2.2 (deflated 59%) Step #33: adding: lib/libsnappy-shared.a (deflated 67%) Step #33: adding: lib/libprotobuf.so (deflated 66%) Step #33: adding: lib/libsnappy.a (deflated 67%) Step #33: adding: lib/libgflags.so.2.2.2 (deflated 59%) Step #33: adding: lib/libprotobuf-lite.so.17 (deflated 66%) Step #33: adding: lib/libsnappy.so (deflated 62%) Step #33: adding: lib/libprotobuf-lite.so.17.0.0 (deflated 66%) Step #33: adding: lib/libprotobuf.so.17.0.0 (deflated 66%) Step #33: adding: lib/libprotobuf-lite.so (deflated 66%) Step #33: adding: lib/libgflags_nothreads.a (deflated 70%) Step #33: adding: lib/libleveldb.so (deflated 57%) Step #33: adding: lib/libleveldb.so.1.22.0 (deflated 57%) Step #33: adding: lib/libprotoc.so (deflated 66%) Step #33: adding: lib/libleveldb.a (deflated 73%) Step #33: adding: lib/libleveldb.so.1d (deflated 57%) Step #33: adding: lib/libgflags.so (deflated 59%) Step #33: adding: llvm-symbolizer (deflated 65%) Finished Step #33 Starting Step #34 Step #34: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #34: % Total % Received % Xferd Average Speed Time Time Time Current Step #34: Dload Upload Total Spent Left Speed Step #34: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 147 0 0 100 147 0 736 --:--:-- --:--:-- --:--:-- 738 Finished Step #34 Starting Step #35 Step #35: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #35: % Total % Received % Xferd Average Speed Time Time Time Current Step #35: Dload Upload Total Spent Left Speed Step #35: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 66 45.4M 0 0 66 30.0M 0 133M --:--:-- --:--:-- --:--:-- 133M 100 45.4M 0 0 100 45.4M 0 81.4M --:--:-- --:--:-- --:--:-- 81.3M Finished Step #35 Starting Step #36 Step #36: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #36: % Total % Received % Xferd Average Speed Time Time Time Current Step #36: Dload Upload Total Spent Left Speed Step #36: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 43 0 0 100 43 0 161 --:--:-- --:--:-- --:--:-- 161 Finished Step #36 Starting Step #37 Step #37: Already have image (with digest): gcr.io/cloud-builders/curl Step #37: % Total % Received % Xferd Average Speed Time Time Time Current Step #37: Dload Upload Total Spent Left Speed Step #37: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 31 0 0 100 31 0 158 --:--:-- --:--:-- --:--:-- 158 Finished Step #37 Starting Step #38 Step #38: Already have image: gcr.io/oss-fuzz/brpc Finished Step #38 PUSH DONE